patch-2.1.73 linux/net/ipv4/Makefile

Next file: linux/net/ipv4/arp.c
Previous file: linux/net/ipv4/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/net/ipv4/Makefile linux/net/ipv4/Makefile
@@ -56,8 +56,26 @@
 endif
 
 ifeq ($(CONFIG_IP_MASQUERADE),y)
-IPV4X_OBJS += ip_masq.o ip_masq_app.o
+IPV4X_OBJS += ip_masq.o ip_masq_mod.o ip_masq_app.o 
+
+ifeq ($(CONFIG_IP_MASQUERADE_IPAUTOFW),y)
+IPV4_OBJS += ip_masq_autofw.o
+else
+  ifeq ($(CONFIG_IP_MASQUERADE_IPAUTOFW),m)
+  M_OBJS += ip_masq_autofw.o
+  endif
+endif
+
+ifeq ($(CONFIG_IP_MASQUERADE_IPPORTFW),y)
+IPV4_OBJS += ip_masq_portfw.o
+else
+  ifeq ($(CONFIG_IP_MASQUERADE_IPPORTFW),m)
+  M_OBJS += ip_masq_portfw.o
+  endif
+endif
+
 M_OBJS += ip_masq_ftp.o ip_masq_irc.o ip_masq_raudio.o ip_masq_quake.o
+M_OBJS += ip_masq_vdolive.o ip_masq_cuseeme.o
 endif
 
 ifeq ($(CONFIG_SYN_COOKIES),y)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov