patch-2.2.18 linux/drivers/net/xpds/Makefile

Next file: linux/drivers/net/xpds/xpds-encap-fr.c
Previous file: linux/drivers/net/via-rhine.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/net/xpds/Makefile linux/drivers/net/xpds/Makefile
@@ -0,0 +1,23 @@
+# File: drivers/xpds/Makefile
+#
+# Makefile for Xpeed DSL NIC driver
+#
+
+ifeq ($(CONFIG_XPEED),y)
+    O_TARGET := xpds-fr.o
+    O_OBJS = xpds.o xpds-fsm.o xpds-sdsl.o xpds-encap-fr.o
+else
+  ifeq ($(CONFIG_XPEED),m)
+    MOD_LIST_NAME := NET_MODULES
+    M_OBJS := xpds-fr.o
+    O_TARGET := xpds-fr.o
+    O_OBJS = xpds.o xpds-fsm.o xpds-sdsl.o xpds-encap-fr.o
+  endif
+endif
+
+EXTRA_CFLAGS += -I. -DDEBUG=0
+
+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)