From 638b5af24ede05db0f944752004734b2212360f2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 30 Dec 2010 22:58:47 +0100 Subject: build: create a Make_global.am file Just like the other Netfilter libraries. Signed-off-by: Jan Engelhardt --- 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 -- cgit v1.2.3