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

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

 



Just like the other Netfilter libraries.

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

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
 
-- 
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