diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-09-14 21:15:43 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2003-09-14 21:15:43 +0000 |
commit | f67d960a3c744547e2b644a5a4a0c14a92bf00fe (patch) | |
tree | ec0eeec1ae6abc7257d76d23696f134b689ffa8e /userspace | |
parent | a2fd2a4ce6471b1abc648d13bb465ad29025ca1a (diff) |
add KERNEL_2_4
Diffstat (limited to 'userspace')
-rw-r--r-- | userspace/arptables/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 |