build: create a Make_global.am file
authorJan Engelhardt <jengelh@medozas.de>
Thu, 30 Dec 2010 22:15:18 +0000 (23:15 +0100)
committerr.kubiak <r.kubiak@samsung.com>
Mon, 16 Nov 2015 13:12:06 +0000 (14:12 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Make_global.am [new file with mode: 0644]
src/Makefile.am
utils/Makefile.am

diff --git a/Make_global.am b/Make_global.am
new file mode 100644 (file)
index 0000000..fb31d42
--- /dev/null
@@ -0,0 +1 @@
+AM_CPPFLAGS = -I${top_srcdir}/include -I${KERNELDIR}
index a745129..84892eb 100644 (file)
@@ -20,7 +20,7 @@
 #
 LIBVERSION=2:0:1
 
-AM_CPPFLAGS = -I$(top_srcdir)/include -I${KERNELDIR}
+include ${top_srcdir}/Make_global.am
 AM_CFLAGS = -Wall ${LIBNFNETLINK_CFLAGS}
 
 lib_LTLIBRARIES = libnetfilter_queue.la
index 1f52864..d3147e3 100644 (file)
@@ -1,5 +1,4 @@
-
-AM_CPPFLAGS = -I$(top_srcdir)/include -I${KERNELDIR}
+include ${top_srcdir}/Make_global.am
 
 check_PROGRAMS = nfqnl_test