This is pre8 ...
[linux-2.6/linux-mips.git] / drivers / ieee1394 / Makefile
blobcc6b40ee499388a454cd1c0ce387a6bd001442f5
2 # Makefile for the Linux IEEE 1394 implementation
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile.
11 SUB_DIRS :=
12 MOD_SUB_DIRS := $(SUB_DIRS)
13 ALL_SUB_DIRS := $(SUB_DIRS)
15 MOD_LIST_NAME := IEEE1394_MODULES
17 L_TARGET := ieee1394.a
18 L_OBJS :=
19 LX_OBJS :=
20 M_OBJS :=
21 MX_OBJS :=
22 MI_OBJS :=
23 MIX_OBJS :=
24 O_OBJS :=
25 OX_OBJS :=
27 ifeq ($(CONFIG_IEEE1394),y)
28 L_OBJS += ieee1394_core.o ieee1394_transactions.o hosts.o highlevel.o csr.o guid.o
29 LX_OBJS += ieee1394_syms.o
30 else
31 ifeq ($(CONFIG_IEEE1394),m)
32 M_OBJS += ieee1394.o
33 O_TARGET = ieee1394.o
34 O_OBJS += ieee1394_core.o ieee1394_transactions.o hosts.o highlevel.o csr.o guid.o
35 OX_OBJS += ieee1394_syms.o
36 endif
37 endif
39 ifeq ($(CONFIG_IEEE1394_PCILYNX),y)
40 L_OBJS += pcilynx.o
41 else
42 ifeq ($(CONFIG_IEEE1394_PCILYNX),m)
43 M_OBJS += pcilynx.o
44 endif
45 endif
47 ifeq ($(CONFIG_IEEE1394_AIC5800),y)
48 L_OBJS += aic5800.o
49 else
50 ifeq ($(CONFIG_IEEE1394_AIC5800),m)
51 M_OBJS += aic5800.o
52 endif
53 endif
55 ifeq ($(CONFIG_IEEE1394_OHCI1394),y)
56 LX_OBJS += ohci1394.o
57 else
58 ifeq ($(CONFIG_IEEE1394_OHCI1394),m)
59 MX_OBJS += ohci1394.o
60 endif
61 endif
63 ifeq ($(CONFIG_IEEE1394_VIDEO1394),y)
64 L_OBJS += video1394.o
65 else
66 ifeq ($(CONFIG_IEEE1394_VIDEO1394),m)
67 M_OBJS += video1394.o
68 endif
69 endif
71 ifeq ($(CONFIG_IEEE1394_RAWIO),y)
72 L_OBJS += raw1394.o
73 else
74 ifeq ($(CONFIG_IEEE1394_RAWIO),m)
75 M_OBJS += raw1394.o
76 endif
77 endif
80 include $(TOPDIR)/Rules.make