]> sigrok.org Git - libsigrok.git/commit
Fix out-of-tree build.
authorUwe Hermann <redacted>
Sat, 8 Jan 2011 02:32:25 +0000 (03:32 +0100)
committerUwe Hermann <redacted>
Sat, 8 Jan 2011 02:32:25 +0000 (03:32 +0100)
commit340f6e7aeaf0c6cbbb27c5b535787bd09407994b
tree4850fba0408a339086e5f46bd81c989e05d072c3
parent757b8c628a5b64f8b6b166044b1b3ac1ccf797dc
Fix out-of-tree build.

Use libtool "noinst" local helper libs and use one Makefile.am per
subdir, which is the usual/preferred method. These helper libraries are
purely local and will not be installed.

This also fixes out-of-tree builds of sigrok, i.e. building in a
directory other than the sigrok source directory, e.g.

 $ cd /home/user
 $ git clone ...sigrok
 $ cd sigrok
 $ ./autogen.sh
 $ mkdir /tmp/foo
 $ cd /tmp/foo
 $ /home/user/sigrok/configure
 $ make
 $ make install

This will place all build results (.o files, .la files, etc) in the
local build directory (/tmp/foo) instead of the source directory
(/home/user/sigrok in this example). The installation directory is
selected via the --prefix configure option (/usr/local per default).
Makefile.am
hardware/Makefile.am [new file with mode: 0644]
hardware/asix-sigma/Makefile.am [new file with mode: 0644]
hardware/common/Makefile.am [new file with mode: 0644]
hardware/demo/Makefile.am [new file with mode: 0644]
hardware/openbench-logic-sniffer/Makefile.am [new file with mode: 0644]
hardware/saleae-logic/Makefile.am [new file with mode: 0644]
hardware/zeroplus-logic-cube/Makefile.am [new file with mode: 0644]
input/Makefile.am [new file with mode: 0644]
output/Makefile.am [new file with mode: 0644]