summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /drivers/pnp/Makefile
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'drivers/pnp/Makefile')
-rw-r--r--drivers/pnp/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/drivers/pnp/Makefile b/drivers/pnp/Makefile
new file mode 100644
index 000000000..6153b8da6
--- /dev/null
+++ b/drivers/pnp/Makefile
@@ -0,0 +1,51 @@
+#
+# Makefile for the kernel Plug-and-Play device drivers.
+#
+# 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 definitions are now inherited from the
+# parent makes..
+#
+# Note 3! Plug and Play is the Borg. We have assimilated some other
+# drivers in the `char', `net' and `scsi' directories, but left them
+# there to allay suspicion.
+
+SUB_DIRS :=
+MOD_SUB_DIRS := $(SUB_DIRS)
+ALL_SUB_DIRS := $(SUB_DIRS)
+
+L_TARGET := pnp.a
+MX_OBJS :=
+LX_OBJS :=
+MI_OBJS :=
+MIX_OBJS :=
+
+ifeq ($(CONFIG_PNP_PARPORT),y)
+ L_OBJS += parport_share.o
+ ifeq ($(CONFIG_PROC_FS),y)
+ L_OBJS += parport_procfs.o
+ endif
+ ifeq ($(CONFIG_PNP_PARPORT_AUTOPROBE),y)
+ L_OBJS += parport_probe.o
+ endif
+ LX_OBJS += parport_init.o
+else
+ ifeq ($(CONFIG_PNP_PARPORT),m)
+ MI_OBJS += parport_share.o
+ ifneq ($(CONFIG_PROC_FS),n)
+ MI_OBJS += parport_procfs.o
+ endif
+ ifeq ($(CONFIG_PNP_PARPORT_AUTOPROBE),y)
+ MI_OBJS += parport_probe.o
+ endif
+ MIX_OBJS += parport_init.o
+ M_OBJS += parport.o
+ endif
+endif
+
+include $(TOPDIR)/Rules.make
+
+parport.o: $(MI_OBJS) $(MIX_OBJS)
+ $(LD) $(LD_RFLAG) -r -o $@ $(MI_OBJS) $(MIX_OBJS)