Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use autotools as buildsystem #1

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/autom4te.cache/
/config/
Makefile
Makefile.in
aclocal.m4
app.info
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure.scan
coverage_report
depcomp
install-sh
INSTALL
libtool
ltmain.sh
m4
missing
stamp-h1
*~
*.html
*.log
*.o
*.la
*.so*
*.a
.deps
*.tar*
*.zip
*.lo
*.gcno
*.gcda

# allow Makefile.in in examples dir!
!examples/Makefile.in
!examples/*/Makefile.in
3 changes: 3 additions & 0 deletions People → AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ Andre Crone

Rik Teerling
Pointing out some silly mistooks in the I2C code...

Thomas Berger
migrated from plain Makefiles to autotools
Empty file added ChangeLog
Empty file.
36 changes: 0 additions & 36 deletions INSTALL

This file was deleted.

5 changes: 5 additions & 0 deletions INSTALL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
== INSTALL ==
* run `autoreconf -i`
* use `./configure` to configure your build
* run `make` to build the libraries and binaries
* run `make install` to install all
14 changes: 14 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
if BUILD_DEVLIB
DEVLIB_DIR = devLib
DEVLIB_PC = wiringPiDev.pc
endif

if BUILD_GPIO
GPIO_DIR = gpio
endif

SUBDIRS = wiringPi $(DEVLIB_DIR) $(GPIO_DIR)

# pkg-config files
pkgconfiglibdir = $(libdir)/pkgconfig
pkgconfiglib_DATA = wiringPi.pc $(DEVLIB_PC)
Empty file added NEWS
Empty file.
File renamed without changes.
Loading