Import 2.1.118
[davej-history.git] / drivers / block / paride / Makefile
blobae2d54dd9f56bcf1e90bb0b24ad6251bb63e2273
2 # Makefile for PARIDE
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 (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now inherited from the
9 # parent makes..
11 SUB_DIRS :=
12 MOD_SUB_DIRS := $(SUB_DIRS)
13 ALL_SUB_DIRS := $(SUB_DIRS)
15 MOD_LIST_NAME := PARIDE_MODULES
16 L_TARGET := paride.a
17 MX_OBJS :=
18 LX_OBJS :=
19 MI_OBJS :=
20 MIX_OBJS :=
22 ifeq ($(CONFIG_PARIDE),y)
23 LX_OBJS += paride.o
24 else
25 ifeq ($(CONFIG_PARIDE),m)
26 MX_OBJS += paride.o
27 endif
28 endif
30 ifeq ($(CONFIG_PARIDE_PD),y)
31 LX_OBJS += pd.o
32 else
33 ifeq ($(CONFIG_PARIDE_PD),m)
34 M_OBJS += pd.o
35 endif
36 endif
38 ifeq ($(CONFIG_PARIDE_PCD),y)
39 LX_OBJS += pcd.o
40 else
41 ifeq ($(CONFIG_PARIDE_PCD),m)
42 M_OBJS += pcd.o
43 endif
44 endif
46 ifeq ($(CONFIG_PARIDE_PF),y)
47 LX_OBJS += pf.o
48 else
49 ifeq ($(CONFIG_PARIDE_PF),m)
50 M_OBJS += pf.o
51 endif
52 endif
54 ifeq ($(CONFIG_PARIDE_PT),y)
55 LX_OBJS += pt.o
56 else
57 ifeq ($(CONFIG_PARIDE_PT),m)
58 M_OBJS += pt.o
59 endif
60 endif
62 ifeq ($(CONFIG_PARIDE_PG),y)
63 LX_OBJS += pg.o
64 else
65 ifeq ($(CONFIG_PARIDE_PG),m)
66 M_OBJS += pg.o
67 endif
68 endif
70 ifeq ($(CONFIG_PARIDE_ATEN),y)
71 LX_OBJS += aten.o
72 else
73 ifeq ($(CONFIG_PARIDE_ATEN),m)
74 M_OBJS += aten.o
75 endif
76 endif
78 ifeq ($(CONFIG_PARIDE_BPCK),y)
79 LX_OBJS += bpck.o
80 else
81 ifeq ($(CONFIG_PARIDE_BPCK),m)
82 M_OBJS += bpck.o
83 endif
84 endif
86 ifeq ($(CONFIG_PARIDE_COMM),y)
87 LX_OBJS += comm.o
88 else
89 ifeq ($(CONFIG_PARIDE_COMM),m)
90 M_OBJS += comm.o
91 endif
92 endif
94 ifeq ($(CONFIG_PARIDE_DSTR),y)
95 LX_OBJS += dstr.o
96 else
97 ifeq ($(CONFIG_PARIDE_DSTR),m)
98 M_OBJS += dstr.o
99 endif
100 endif
102 ifeq ($(CONFIG_PARIDE_KBIC),y)
103 LX_OBJS += kbic.o
104 else
105 ifeq ($(CONFIG_PARIDE_KBIC),m)
106 M_OBJS += kbic.o
107 endif
108 endif
110 ifeq ($(CONFIG_PARIDE_EPAT),y)
111 LX_OBJS += epat.o
112 else
113 ifeq ($(CONFIG_PARIDE_EPAT),m)
114 M_OBJS += epat.o
115 endif
116 endif
118 ifeq ($(CONFIG_PARIDE_EPIA),y)
119 LX_OBJS += epia.o
120 else
121 ifeq ($(CONFIG_PARIDE_EPIA),m)
122 M_OBJS += epia.o
123 endif
124 endif
126 ifeq ($(CONFIG_PARIDE_FIT2),y)
127 LX_OBJS += fit2.o
128 else
129 ifeq ($(CONFIG_PARIDE_FIT2),m)
130 M_OBJS += fit2.o
131 endif
132 endif
134 ifeq ($(CONFIG_PARIDE_FIT3),y)
135 LX_OBJS += fit3.o
136 else
137 ifeq ($(CONFIG_PARIDE_FIT3),m)
138 M_OBJS += fit3.o
139 endif
140 endif
142 ifeq ($(CONFIG_PARIDE_FRPW),y)
143 LX_OBJS += frpw.o
144 else
145 ifeq ($(CONFIG_PARIDE_FRPW),m)
146 M_OBJS += frpw.o
147 endif
148 endif
150 ifeq ($(CONFIG_PARIDE_ON20),y)
151 LX_OBJS += on20.o
152 else
153 ifeq ($(CONFIG_PARIDE_ON20),m)
154 M_OBJS += on20.o
155 endif
156 endif
158 ifeq ($(CONFIG_PARIDE_ON26),y)
159 LX_OBJS += on26.o
160 else
161 ifeq ($(CONFIG_PARIDE_ON26),m)
162 M_OBJS += on26.o
163 endif
164 endif
166 ifeq ($(CONFIG_PARIDE_KTTI),y)
167 LX_OBJS += ktti.o
168 else
169 ifeq ($(CONFIG_PARIDE_KTTI),m)
170 M_OBJS += ktti.o
171 endif
172 endif
174 include $(TOPDIR)/Rules.make