summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-30 22:58:47 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-12-30 23:07:18 +0100
commit638b5af24ede05db0f944752004734b2212360f2 (patch)
treef1b7b4b4a9f531f0fece46df6be7b092d7f5d9f3
parentef0438c764dfffeb9e4580e5d6b264ebab443393 (diff)
build: create a Make_global.am file
Just like the other Netfilter libraries. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r--Make_global.am1
-rw-r--r--src/Makefile.am3
-rw-r--r--utils/Makefile.am2
3 files changed, 4 insertions, 2 deletions
diff --git a/Make_global.am b/Make_global.am
new file mode 100644
index 0000000..e0fc5fb
--- /dev/null
+++ b/Make_global.am
@@ -0,0 +1 @@
+AM_CPPFLAGS = -I${top_srcdir}/include
diff --git a/src/Makefile.am b/src/Makefile.am
index e78faa8..23f0a07 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,7 +20,8 @@
#
LIBVERSION=2:0:1
-AM_CPPFLAGS = -I$(top_srcdir)/include
+include ${top_srcdir}/Make_global.am
+
AM_CFLAGS = -Wall ${LIBNFNETLINK_CFLAGS}
lib_LTLIBRARIES = libnetfilter_log.la libnetfilter_log_libipulog.la
diff --git a/utils/Makefile.am b/utils/Makefile.am
index b6c333b..ae64c90 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include
+include ${top_srcdir}/Make_global.am
check_PROGRAMS = nfulnl_test ulog_test