patch-1.3.39 linux/net/Makefile
Next file: linux/net/ipv4/Config.in
Previous file: linux/mm/mmap.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Nov 8 12:40:50 1995
- Orig file:
v1.3.38/linux/net/Makefile
- Orig date:
Wed Nov 8 07:11:43 1995
diff -u --recursive --new-file v1.3.38/linux/net/Makefile linux/net/Makefile
@@ -32,6 +32,15 @@
endif
L_TARGET := network.a
-L_OBJS := socket.o protocols.o netlink.o $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))
+L_OBJS := socket.o protocols.o $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))
+M_OBJS :=
+
+ifeq ($(CONFIG_NETLINK),y)
+L_OBJS += netlink.o
+else
+ ifeq ($(CONFIG_NETLINK),m)
+ M_OBJS += netlink.o
+ endif
+endif
include $(TOPDIR)/Rules.make
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