diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-06-17 13:20:58 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-06-17 13:20:58 +0000 |
commit | 279076ecea18a9ec8e97e008da2873253b771702 (patch) | |
tree | 4edc8f3ea5409bf42e181036924bab6cb983fe7b | |
parent | e84988299301c3db3c247af5ae112c0788956535 (diff) |
support building outside the source directory
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@289 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | common/Makefile.am | 2 | ||||
-rw-r--r-- | nslcd/Makefile.am | 2 | ||||
-rw-r--r-- | nss/Makefile.am | 2 | ||||
-rw-r--r-- | tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/dict/Makefile.am | 2 | ||||
-rw-r--r-- | tests/tio/Makefile.am | 2 |
6 files changed, 11 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index 8821959..8802169 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -19,6 +19,8 @@ noinst_LIBRARIES = libtio.a libdict.a +AM_CPPFLAGS=-I$(top_srcdir) + libtio_a_SOURCES = tio.c tio.h libtio_a_CFLAGS = -fPIC diff --git a/nslcd/Makefile.am b/nslcd/Makefile.am index 1778ba6..a571986 100644 --- a/nslcd/Makefile.am +++ b/nslcd/Makefile.am @@ -19,6 +19,8 @@ # 02110-1301 USA sbin_PROGRAMS = nslcd + +AM_CPPFLAGS=-I$(top_srcdir) AM_CFLAGS = $(PTHREAD_CFLAGS) nslcd_SOURCES = nslcd.c ../nslcd.h ../nslcd-common.h \ diff --git a/nss/Makefile.am b/nss/Makefile.am index ad0d30a..5cd9bd5 100644 --- a/nss/Makefile.am +++ b/nss/Makefile.am @@ -20,6 +20,8 @@ # 02110-1301 USA noinst_PROGRAMS = nss_ldap.so + +AM_CPPFLAGS=-I$(top_srcdir) AM_CFLAGS = -fPIC # determin version numbers to use in installed files diff --git a/tests/Makefile.am b/tests/Makefile.am index 25c5725..684da86 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -24,6 +24,7 @@ noinst_PROGRAMS = test_aliases test_ethers test_group test_hosts \ test_netgroup test_networks test_passwd test_protocols \ test_rpc test_services test_shadow +AM_CPPFLAGS=-I$(top_srcdir) # the following enables verbose protocol debugging information to be dumped #AM_CFLAGS=-DDEBUG_PROT -DDEBUG_PROT_DUMP diff --git a/tests/dict/Makefile.am b/tests/dict/Makefile.am index 3e42007..2440017 100644 --- a/tests/dict/Makefile.am +++ b/tests/dict/Makefile.am @@ -19,5 +19,7 @@ noinst_PROGRAMS = test_dict +AM_CPPFLAGS=-I$(top_srcdir) + test_dict_SOURCES = test_dict.c ../../common/dict.h test_dict_LDADD = ../../common/dict.o diff --git a/tests/tio/Makefile.am b/tests/tio/Makefile.am index 872421a..e52d33b 100644 --- a/tests/tio/Makefile.am +++ b/tests/tio/Makefile.am @@ -19,6 +19,8 @@ noinst_PROGRAMS = test_tio +AM_CPPFLAGS=-I$(top_srcdir) + test_tio_SOURCES = test_tio.c ../../common/tio.h ../../common/tio.c #test_tio_LDADD = ../../common/libtio.a test_tio_CFLAGS = -pthread |