summaryrefslogtreecommitdiffstats
path: root/extensions/GNUmakefile.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-01-29 13:32:07 +0000
committerPatrick McHardy <kaber@trash.net>2008-01-29 13:32:07 +0000
commitfb6209a30fd576cd740eefe0a3ad88d65d2bb2b7 (patch)
tree08f9e7c7545c7d4a07179ad0bce3086dbb6e7448 /extensions/GNUmakefile.in
parent2b62b62509dfccdb6ebbb17628aad95fb7681a89 (diff)
Give preference to iptables header files
Have the header files in the iptables source tree take precedence over those from the kernel source. Otherwise, building the current iptables from subversion just fails with kernels < 2.6.25. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Diffstat (limited to 'extensions/GNUmakefile.in')
-rw-r--r--extensions/GNUmakefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
index 29a8ca62..1521a330 100644
--- a/extensions/GNUmakefile.in
+++ b/extensions/GNUmakefile.in
@@ -14,8 +14,9 @@ CCLD := ${CC}
CFLAGS := @CFLAGS@
LDFLAGS := @LDFLAGS@
regular_CFLAGS := @regular_CFLAGS@
+kinclude_CFLAGS := @kinclude_CFLAGS@
-AM_CFLAGS := ${regular_CFLAGS} -I${top_srcdir}/include
+AM_CFLAGS := ${regular_CFLAGS} -I${top_srcdir}/include ${kinclude_CFLAGS}
AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
ifeq (${V},)
@@ -88,7 +89,7 @@ clean:
rm -f *.o *.oo *.so *.a {matches,targets}[46].man initext4.c initext6.c;
distclean: clean
- rm -f .*.d *.dd;
+ rm -f .*.d .*.dd;
%.o: %.c
${AM_VERBOSE_CC} ${CC} ${AM_DEPFLAGS} ${AM_CFLAGS} -D_INIT=$*_init ${CFLAGS} -o $@ -c $<;