vserver 1.9.5.x5
[linux-2.6.git] / net / Makefile
index 61740b4..8e2bdc0 100644 (file)
@@ -9,12 +9,14 @@ obj-y := nonet.o
 
 obj-$(CONFIG_NET)              := socket.o core/
 
-obj-$(CONFIG_COMPAT)           += compat.o
+tmp-$(CONFIG_COMPAT)           := compat.o
+obj-$(CONFIG_NET)              += $(tmp-y)
 
 # LLC has to be linked before the files in net/802/
 obj-$(CONFIG_LLC)              += llc/
 obj-$(CONFIG_NET)              += ethernet/ 802/ sched/ netlink/
-obj-$(CONFIG_INET)             += ipv4/ xfrm/
+obj-$(CONFIG_INET)             += ipv4/
+obj-$(CONFIG_XFRM)             += xfrm/
 obj-$(CONFIG_UNIX)             += unix/
 ifneq ($(CONFIG_IPV6),)
 obj-y                          += ipv6/