patch-2.1.68 linux/net/packet/Makefile

Next file: linux/net/packet/af_packet.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.67/linux/net/packet/Makefile linux/net/packet/Makefile
@@ -0,0 +1,24 @@
+#
+# Makefile for the packet AF.
+#
+# 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 := packet.o
+MOD_LIST_NAME := NET_MISC_MODULES
+
+O_OBJS :=
+M_OBJS :=
+
+ifeq ($(CONFIG_PACKET),y)
+  O_OBJS += af_packet.o
+else
+  ifeq ($(CONFIG_PACKET), m)
+    M_OBJS += af_packet.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