diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extensions/Makefile b/extensions/Makefile index 8e0dec1..04fd896 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 $< $@ |