patch-2.3.99-pre4 linux/drivers/net/pcmcia/Makefile
Next file: linux/drivers/net/pcmcia/ibmtr_cs.c
Previous file: linux/drivers/net/pcmcia/Config.in
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Apr 2 15:38:53 2000
- Orig file:
v2.3.99-pre3/linux/drivers/net/pcmcia/Makefile
- Orig date:
Mon Mar 27 08:08:26 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/drivers/net/pcmcia/Makefile linux/drivers/net/pcmcia/Makefile
@@ -39,9 +39,18 @@
obj-$(CONFIG_PCMCIA_3C575) += 3c575_cb.o
obj-$(CONFIG_PCMCIA_XIRTULIP) += xircom_tulip_cb.o
+obj-$(CONFIG_PCMCIA_IBMTR) += ibmtr_cs.o
+
O_OBJS := $(filter-out $(export-objs), $(obj-y))
OX_OBJS := $(filter $(export-objs), $(obj-y))
M_OBJS := $(filter-out $(export-objs), $(obj-m))
MX_OBJS := $(filter $(export-objs), $(obj-m))
include $(TOPDIR)/Rules.make
+
+.ibmtr.o: ../tokenring/ibmtr.c
+ $(CC) $(CFLAGS) -D__NO_VERSION__ -DPCMCIA -c -o $@ ../tokenring/ibmtr.c
+
+ibmtr_cs.o: .ibmtr.o ibmtr_cs.c
+ $(CC) $(CFLAGS) -DPCMCIA -c -o .$@ ibmtr_cs.c
+ $(LD) -r -o $@ .$@ .ibmtr.o
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)