patch-2.3.40 linux/drivers/ieee1394/Makefile

Next file: linux/drivers/ieee1394/aic5800.c
Previous file: linux/drivers/ieee1394/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/drivers/ieee1394/Makefile linux/drivers/ieee1394/Makefile
@@ -0,0 +1,75 @@
+#
+# Makefile for the Linux IEEE 1394 implementation
+#
+# 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 (not a .c file).
+#
+# Note 2! The CFLAGS definitions are now in the main makefile.
+#
+
+SUB_DIRS     :=
+MOD_SUB_DIRS := $(SUB_DIRS)
+ALL_SUB_DIRS := $(SUB_DIRS)
+
+MOD_LIST_NAME := IEEE1394_MODULES
+
+L_TARGET := ieee1394.a
+L_OBJS   :=
+LX_OBJS  :=
+M_OBJS   :=
+MX_OBJS  :=
+MI_OBJS  :=
+MIX_OBJS :=
+O_OBJS   :=
+OX_OBJS  :=
+
+ifeq ($(CONFIG_IEEE1394),y)
+L_OBJS  += ieee1394.o hosts.o highlevel.o csr.o
+O_TARGET = ieee1394.o
+O_OBJS  += ieee1394_core.o ieee1394_transactions.o
+OX_OBJS += ieee1394_syms.o
+else
+  ifeq ($(CONFIG_IEEE1394),m)
+  M_OBJS  += ieee1394.o
+  O_TARGET = ieee1394.o
+  O_OBJS  += ieee1394_core.o ieee1394_transactions.o hosts.o highlevel.o csr.o
+  OX_OBJS += ieee1394_syms.o
+  endif
+endif
+
+ifeq ($(CONFIG_IEEE1394_PCILYNX),y)
+L_OBJS += pcilynx.o
+else
+  ifeq ($(CONFIG_IEEE1394_PCILYNX),m)
+  M_OBJS += pcilynx.o
+  endif
+endif
+
+ifeq ($(CONFIG_IEEE1394_AIC5800),y)
+L_OBJS += aic5800.o
+else
+  ifeq ($(CONFIG_IEEE1394_AIC5800),m)
+  M_OBJS += aic5800.o
+  endif
+endif
+
+ifeq ($(CONFIG_IEEE1394_OHCI1394),y)
+L_OBJS += ohci1394.o
+else
+  ifeq ($(CONFIG_IEEE1394_OHCI1394),m)
+  M_OBJS += ohci1394.o
+  endif
+endif
+
+
+ifeq ($(CONFIG_IEEE1394_RAWIO),y)
+L_OBJS += raw1394.o
+else
+  ifeq ($(CONFIG_IEEE1394_RAWIO),m)
+  M_OBJS += raw1394.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)