patch-2.3.18 linux/drivers/net/pcmcia/Makefile

Next file: linux/drivers/net/pcmcia/pcnet_cs.c
Previous file: linux/drivers/net/pcmcia/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.17/linux/drivers/net/pcmcia/Makefile linux/drivers/net/pcmcia/Makefile
@@ -0,0 +1,40 @@
+#
+# drivers/net/pcmcia/Makefile
+#
+# Makefile for the Linux PCMCIA network device drivers.
+#
+
+SUB_DIRS     := 
+MOD_SUB_DIRS := $(SUB_DIRS)
+ALL_SUB_DIRS := $(SUB_DIRS)
+
+O_TARGET := pcmcia_net.o
+O_OBJS   :=
+M_OBJS   :=
+MOD_LIST_NAME := NET_MODULES
+
+ifeq ($(CONFIG_PCMCIA_PCNET),y)
+  O_OBJS += pcnet_cs.o
+else
+  ifeq ($(CONFIG_PCMCIA_PCNET),m)
+    MX_OBJS += pcnet_cs.o
+  endif
+endif
+
+ifeq ($(CONFIG_PCMCIA_3C589),y)
+  O_OBJS += 3c589_cs.o
+else
+  ifeq ($(CONFIG_PCMCIA_3C589),m)
+    MX_OBJS += 3c589_cs.o
+  endif
+endif
+
+ifeq ($(CONFIG_PCMCIA_RAYCS),y)
+  OX_OBJS += ray_cs.o
+else
+  ifeq ($(CONFIG_PCMCIA_RAYCS),m)
+  MX_OBJS += ray_cs.o
+  endif
+endif
+
+include $(TOPDIR)/Rules.make

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