[PATCH 2/3] build: create a Make_global.am file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
 Make_global.am    |    1 +
 src/Makefile.am   |    2 +-
 utils/Makefile.am |    3 +--
 3 files changed, 3 insertions(+), 3 deletions(-)
 create mode 100644 Make_global.am

diff --git a/Make_global.am b/Make_global.am
new file mode 100644
index 0000000..fb31d42
--- /dev/null
+++ b/Make_global.am
@@ -0,0 +1 @@
+AM_CPPFLAGS = -I${top_srcdir}/include -I${KERNELDIR}
diff --git a/src/Makefile.am b/src/Makefile.am
index a745129..84892eb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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
diff --git a/utils/Makefile.am b/utils/Makefile.am
index 1f52864..d3147e3 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -1,5 +1,4 @@
-
-AM_CPPFLAGS = -I$(top_srcdir)/include -I${KERNELDIR}
+include ${top_srcdir}/Make_global.am
 
 check_PROGRAMS = nfqnl_test
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux