patch-2.2.15 linux/drivers/net/lmc/Makefile

Next file: linux/drivers/net/lmc/lmc.h
Previous file: linux/drivers/net/lanstreamer.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/net/lmc/Makefile linux/drivers/net/lmc/Makefile
@@ -0,0 +1,39 @@
+# File: drivers/lmc/Makefile
+#
+# Makefile for the Lan Media 21140 based WAN cards
+# Specifically the 1000,1200,5200,5245
+#
+
+ifeq ($(CONFIG_LANMEDIA),y)
+    O_TARGET := lmc.o
+    O_OBJS = lmc_debug.o lmc_media.o lmc_main.o
+else
+  ifeq ($(CONFIG_LANMEDIA),m)
+    MOD_LIST_NAME := NET_MODULES
+    M_OBJS := lmc.o
+    O_TARGET := lmc.o
+    O_OBJS = lmc_debug.o lmc_media.o lmc_main.o
+  endif
+endif
+
+#
+# Base debugging and event log (doubles lmc.o size)
+#
+# DBGDEF =  \
+# -DDEBUG
+
+#
+# Like above except every packet gets echoed to KERN_DEBUG
+# in hex
+#
+# DBDEF = \
+# -DDEBUG \
+# -DLMC_PACKET_LOG
+
+EXTRA_CFLAGS += -I. $(DBGDEF)
+
+include $(TOPDIR)/Rules.make
+
+clean:
+	rm -f core *.o *.a *.s
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)