patch-1.3.38 linux/net/ipv4/Makefile

Next file: linux/net/ipv4/af_inet.c
Previous file: linux/net/core/skbuff.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/net/ipv4/Makefile linux/net/ipv4/Makefile
@@ -11,11 +11,15 @@
 IPV4_OBJS	:= utils.o route.o proc.o timer.o protocol.o packet.o \
 		   arp.o ip_input.o ip_fragment.o ip_forward.o ip_options.o \
 		   ip_output.o ip_sockglue.o raw.o icmp.o tcp.o udp.o \
-		   devinet.o af_inet.o igmp.o ip_fw.o ipmr.o
+		   devinet.o af_inet.o igmp.o ip_fw.o
 
 MOD_LIST_NAME := IPV4_MODULES
 M_OBJS :=
 
+ifeq ($(CONFIG_IP_MROUTE),y)
+IPV4_OBJS += ipmr.o
+endif
+
 ifeq ($(CONFIG_INET_RARP),y)
 IPV4_OBJS += rarp.o
 else
@@ -25,11 +29,8 @@
 endif
 
 ifeq ($(CONFIG_NET_IPIP),y)
-IPV4_OBJS := $(IPV4_OBJS) ipip.o
+IPV4_OBJS += ipip.o
 endif
-
-
-
 
 ifdef CONFIG_INET
 O_OBJS := $(IPV4_OBJS)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this