summaryrefslogtreecommitdiffstats
path: root/extensions/Makefile
diff options
context:
space:
mode:
authorPhilip Blundell <Philip.Blundell@pobox.com>2000-06-04 17:25:33 +0000
committerRusty Russell <rusty@rustcorp.com.au>2000-06-04 17:25:33 +0000
commit57e07af96a28d81281a20ad7a0e9dc189caf4861 (patch)
tree45878c9ad5a26560b722981a5962e0af6a25d8f3 /extensions/Makefile
parent5eed48af2516ebce0412121713d285bc30edb10d (diff)
Phil Blundell: ICMP, TCP and UDP extensions + rule deletion bug.
Diffstat (limited to 'extensions/Makefile')
-rw-r--r--extensions/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/extensions/Makefile b/extensions/Makefile
index 8e0dec1c..04fd896f 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -1,8 +1,11 @@
#! /usr/bin/make
PF_EXT_SLIB:=tcp udp icmp mac limit standard REJECT LOG unclean state multiport tos TOS mark MARK owner SNAT DNAT MASQUERADE REDIRECT
+PF6_EXT_SLIB:=tcp udp icmp standard
SHARED_LIBS+=$(foreach T,$(PF_EXT_SLIB),extensions/libipt_$(T).so)
+SHARED_LIBS+=$(foreach T,$(PF6_EXT_SLIB),extensions/libip6t_$(T).so)
EXTRA_INSTALLS+=$(foreach T, $(PF_EXT_SLIB), $(DESTDIR)$(LIBDIR)/iptables/libipt_$(T).so)
+EXTRA_INSTALLS+=$(foreach T, $(PF6_EXT_SLIB), $(DESTDIR)$(LIBDIR)/iptables/libip6t_$(T).so)
ifndef TOPLEVEL_INCLUDED
local:
@@ -12,3 +15,7 @@ endif
$(DESTDIR)$(LIBDIR)/iptables/libipt_%.so: extensions/libipt_%.so
@[ -d $(DESTDIR)$(LIBDIR)/iptables ] || mkdir -p $(DESTDIR)$(LIBDIR)/iptables
cp $< $@
+
+$(DESTDIR)$(LIBDIR)/iptables/libip6t_%.so: extensions/libip6t_%.so
+ @[ -d $(DESTDIR)$(LIBDIR)/iptables ] || mkdir -p $(DESTDIR)$(LIBDIR)/iptables
+ cp $< $@