Use a standard autotools setup.
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 9 Jan 2013 18:34:06 +0000 (19:34 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 22 Feb 2013 07:53:00 +0000 (08:53 +0100)
commit36074319ac7c80ac0d80334b8664d0bd8e6dee90
treee513aad72c7776efa4b86e032828fbaa14a20cdf
parent2b421d0ecf9ec717a6864da01a071d3c9bfeec7e
Use a standard autotools setup.

fx2lafw now uses a standard autoconf/automake based build and
configuration system like most other sigrok subprojects (instead of two
sets of custom, not very portable Makefiles).

 $ ./configure && make && make install

It now supports all the usual things one expects, for example:

 - The --prefix et. al. options to specify installation paths.

 - Standard set of 'make' targets, e.g. 'install', 'uninstall',
   'dist', etc.

 - In-tree builds as well as out-of-tree builds.

 - Works pretty much everywhere portably, regardless of 'make'
   implementation (GNU Make or BSD make or...) and regardless of shell
   (bash, sh, dash, ksh, csh, ...).

 - The build output matches the usual 'silent rules' output of other
   (sigrok / autotools) projects. Using 'make V=1' one can get the full
   build output.
38 files changed:
.gitignore
AUTHORS [new file with mode: 0644]
Makefile [deleted file]
Makefile.am [new file with mode: 0644]
Makefile.include [deleted file]
README
autogen.sh [new file with mode: 0755]
configure.ac [new file with mode: 0644]
fx2lib/.gitignore
fx2lib/Makefile [deleted file]
fx2lib/Makefile.am [new file with mode: 0644]
fx2lib/include/Makefile.am [new file with mode: 0644]
fx2lib/lib/.gitignore [deleted file]
fx2lib/lib/Makefile [deleted file]
fx2lib/lib/Makefile.am [new file with mode: 0644]
fx2lib/lib/fx2.mk [deleted file]
fx2lib/lib/interrupts/Makefile.am [new file with mode: 0644]
hw/Makefile.am [new file with mode: 0644]
hw/Makefile.inc [new file with mode: 0644]
hw/braintechnology-usb-lps/Makefile [deleted file]
hw/braintechnology-usb-lps/Makefile.am [new file with mode: 0644]
hw/braintechnology-usb-lps/dscr.a51
hw/cwav-usbeeax/Makefile [deleted file]
hw/cwav-usbeeax/Makefile.am [new file with mode: 0644]
hw/cwav-usbeeax/dscr.a51
hw/cwav-usbeedx/Makefile [deleted file]
hw/cwav-usbeedx/Makefile.am [new file with mode: 0644]
hw/cwav-usbeedx/dscr.a51
hw/cwav-usbeesx/Makefile [deleted file]
hw/cwav-usbeesx/Makefile.am [new file with mode: 0644]
hw/cwav-usbeesx/dscr.a51
hw/cypress-fx2/Makefile [deleted file]
hw/cypress-fx2/Makefile.am [new file with mode: 0644]
hw/cypress-fx2/dscr.a51
hw/saleae-logic/Makefile [deleted file]
hw/saleae-logic/Makefile.am [new file with mode: 0644]
hw/saleae-logic/dscr.a51
include/Makefile.am [new file with mode: 0644]