From f67d960a3c744547e2b644a5a4a0c14a92bf00fe Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 14 Sep 2003 21:15:43 +0000 Subject: add KERNEL_2_4 --- userspace/arptables/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/userspace/arptables/Makefile b/userspace/arptables/Makefile index ee15c05..46bc1eb 100644 --- a/userspace/arptables/Makefile +++ b/userspace/arptables/Makefile @@ -20,6 +20,10 @@ RELEASE_DIR:=/tmp COPT_FLAGS:=-O2 CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include/ -Iinclude/ -DARPTABLES_VERSION=\"$(ARPTABLES_VERSION)\" #-g -DDEBUG #-pg # -DARPTC_DEBUG +ifeq ($(KERNEL_2_4),y) +CFLAGS+=-DKERNEL_2_4 +endif + EXTRAS+=iptables iptables.o EXTRA_INSTALLS+=$(DESTDIR)$(BINDIR)/iptables $(DESTDIR)$(MANDIR)/man8/iptables.8 @@ -70,6 +74,8 @@ release: $(KERNEL_DIR)/include/linux/netfilter_arp.h include/linux/ install -m 0644 -o root -g root \ $(KERNEL_DIR)/include/linux/netfilter_arp/*.h \ - include/linux/netfilter_arp/ + include/linux/netfilter_arp/ + install -m 0644 -o root -g root \ + include/netfilter_arp.h include/linux/netfilter_arp.h make clean cd ..;tar -c $(DIR) | gzip >$(DIR).tar.gz -- cgit v1.2.3