patch-2.3.12 linux/drivers/misc/Makefile
Next file: linux/drivers/misc/TODO-parport
Previous file: linux/drivers/misc/Config.in
Back to the patch index
Back to the overall index
- Lines: 103
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.3.11/linux/drivers/misc/Makefile
- Orig date:
Thu Jul 8 15:42:20 1999
diff -u --recursive --new-file v2.3.11/linux/drivers/misc/Makefile linux/drivers/misc/Makefile
@@ -1,102 +0,0 @@
-#
-# Makefile for the kernel miscellaneous 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! Parport 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 := misc.a
-MX_OBJS :=
-LX_OBJS :=
-MI_OBJS :=
-MIX_OBJS :=
-
-ifeq ($(CONFIG_PARPORT),y)
- L_OBJS += parport_share.o parport_ieee1284.o parport_ieee1284_ops.o \
- parport_procfs.o
-
- ifeq ($(CONFIG_PARPORT_1284),y)
- L_OBJS += parport_daisy.o parport_probe.o
- endif
-
- ifeq ($(CONFIG_PARPORT_PC),y)
- LX_OBJS += parport_pc.o
- else
- ifeq ($(CONFIG_PARPORT_PC),m)
- M_OBJS += parport_pc.o
- endif
- endif
- ifeq ($(CONFIG_PARPORT_AX),y)
- LX_OBJS += parport_ax.o
- else
- ifeq ($(CONFIG_PARPORT_AX),m)
- M_OBJS += parport_ax.o
- endif
- endif
- ifeq ($(CONFIG_PARPORT_AMIGA),y)
- LX_OBJS += parport_amiga.o
- else
- ifeq ($(CONFIG_PARPORT_AMIGA),m)
- M_OBJS += parport_amiga.o
- endif
- endif
- ifeq ($(CONFIG_PARPORT_MFC3),y)
- LX_OBJS += parport_mfc3.o
- else
- ifeq ($(CONFIG_PARPORT_MFC3),m)
- M_OBJS += parport_mfc3.o
- endif
- endif
- ifeq ($(CONFIG_PARPORT_ATARI),y)
- LX_OBJS += parport_atari.o
- else
- ifeq ($(CONFIG_PARPORT_ATARI),m)
- M_OBJS += parport_atari.o
- endif
- endif
- LX_OBJS += parport_init.o
-else
- ifeq ($(CONFIG_PARPORT),m)
- MI_OBJS += parport_share.o parport_ieee1284.o parport_ieee1284_ops.o
- ifeq ($(CONFIG_PARPORT_1284),y)
- MI_OBJS += parport_daisy.o parport_probe.o
- endif
- ifneq ($(CONFIG_PROC_FS),n)
- MI_OBJS += parport_procfs.o
- endif
- MIX_OBJS += parport_init.o
- M_OBJS += parport.o
- endif
- ifeq ($(CONFIG_PARPORT_PC),m)
- M_OBJS += parport_pc.o
- endif
- ifeq ($(CONFIG_PARPORT_AX),m)
- M_OBJS += parport_ax.o
- endif
- ifeq ($(CONFIG_PARPORT_AMIGA),m)
- M_OBJS += parport_amiga.o
- endif
- ifeq ($(CONFIG_PARPORT_MFC3),m)
- M_OBJS += parport_mfc3.o
- endif
- ifeq ($(CONFIG_PARPORT_ATARI),m)
- M_OBJS += parport_atari.o
- endif
-endif
-
-include $(TOPDIR)/Rules.make
-
-# Special rule to build the composite parport.o module
-parport.o: $(MI_OBJS) $(MIX_OBJS)
- $(LD) $(LD_RFLAG) -r -o $@ $(MI_OBJS) $(MIX_OBJS)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)