summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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