patch-2.1.68 linux/net/netlink/Makefile

Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.67/linux/net/netlink/Makefile linux/net/netlink/Makefile
@@ -0,0 +1,26 @@
+#
+# Makefile for the netlink driver.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definition is now in the main makefile...
+
+O_TARGET := netlink.o
+MOD_LIST_NAME := NET_MISC_MODULES
+
+O_OBJS  := 
+OX_OBJS := af_netlink.o
+
+M_OBJS :=
+
+ifeq ($(CONFIG_NETLINK_DEV), y)
+  O_OBJS += netlink_dev.o
+endif
+
+ifeq ($(CONFIG_NETLINK_DEV), m)
+  M_OBJS += netlink_dev.o
+endif
+
+include $(TOPDIR)/Rules.make

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