Merge with Linu 2.4.0-test6-pre6.
[linux-2.6/linux-mips.git] / drivers / ieee1394 / Makefile
blobac8edfd755665070f0206d852490af533b5f2dd0
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 L_TARGET := ieee1394.a
16 L_OBJS :=
17 LX_OBJS :=
18 M_OBJS :=
19 MX_OBJS :=
20 MI_OBJS :=
21 MIX_OBJS :=
22 O_OBJS :=
23 OX_OBJS :=
25 ifeq ($(CONFIG_IEEE1394),y)
26 L_OBJS += ieee1394_core.o ieee1394_transactions.o hosts.o highlevel.o csr.o guid.o
27 LX_OBJS += ieee1394_syms.o
28 else
29 ifeq ($(CONFIG_IEEE1394),m)
30 M_OBJS += ieee1394.o
31 O_TARGET = ieee1394.o
32 O_OBJS += ieee1394_core.o ieee1394_transactions.o hosts.o highlevel.o csr.o guid.o
33 OX_OBJS += ieee1394_syms.o
34 endif
35 endif
37 ifeq ($(CONFIG_IEEE1394_PCILYNX),y)
38 L_OBJS += pcilynx.o
39 else
40 ifeq ($(CONFIG_IEEE1394_PCILYNX),m)
41 M_OBJS += pcilynx.o
42 endif
43 endif
45 ifeq ($(CONFIG_IEEE1394_AIC5800),y)
46 L_OBJS += aic5800.o
47 else
48 ifeq ($(CONFIG_IEEE1394_AIC5800),m)
49 M_OBJS += aic5800.o
50 endif
51 endif
53 ifeq ($(CONFIG_IEEE1394_OHCI1394),y)
54 LX_OBJS += ohci1394.o
55 else
56 ifeq ($(CONFIG_IEEE1394_OHCI1394),m)
57 MX_OBJS += ohci1394.o
58 endif
59 endif
61 ifeq ($(CONFIG_IEEE1394_VIDEO1394),y)
62 L_OBJS += video1394.o
63 else
64 ifeq ($(CONFIG_IEEE1394_VIDEO1394),m)
65 M_OBJS += video1394.o
66 endif
67 endif
69 ifeq ($(CONFIG_IEEE1394_RAWIO),y)
70 L_OBJS += raw1394.o
71 else
72 ifeq ($(CONFIG_IEEE1394_RAWIO),m)
73 M_OBJS += raw1394.o
74 endif
75 endif
78 include $(TOPDIR)/Rules.make