From 31e9b233b2d457c587b151c879eba1a11a517820 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 30 Dec 2010 23:15:18 +0100 Subject: [PATCH] build: create a Make_global.am file Signed-off-by: Jan Engelhardt --- 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 -- 2.7.4