* add p cc
[mascara-docs.git] / i386 / linux / linux-2.3.21 / drivers / char / joystick / Makefile
blob3339fc83f436bc4e7e815f0e8b51d572fbd21a13
2 # Makefile for the joystick drivers.
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..
12 O_TARGET := js.o
13 O_OBJS :=
14 M_OBJS :=
16 ifeq ($(CONFIG_JOYSTICK),y)
17 O_OBJS += joystick.o
18 else
19 ifeq ($(CONFIG_JOYSTICK),m)
20 M_OBJS += joystick.o
21 endif
22 endif
24 ifeq ($(CONFIG_JOY_AMIGA),y)
25 O_OBJS += joy-amiga.o
26 else
27 ifeq ($(CONFIG_JOY_AMIGA),m)
28 M_OBJS += joy-amiga.o
29 endif
30 endif
32 ifeq ($(CONFIG_JOY_ANALOG),y)
33 O_OBJS += joy-analog.o
34 else
35 ifeq ($(CONFIG_JOY_ANALOG),m)
36 M_OBJS += joy-analog.o
37 endif
38 endif
40 ifeq ($(CONFIG_JOY_ASSASIN),y)
41 O_OBJS += joy-assasin.o
42 else
43 ifeq ($(CONFIG_JOY_ASSASIN),m)
44 M_OBJS += joy-assasin.o
45 endif
46 endif
48 ifeq ($(CONFIG_JOY_CONSOLE),y)
49 O_OBJS += joy-console.o
50 else
51 ifeq ($(CONFIG_JOY_CONSOLE),m)
52 M_OBJS += joy-console.o
53 endif
54 endif
56 ifeq ($(CONFIG_JOY_DB9),y)
57 O_OBJS += joy-db9.o
58 else
59 ifeq ($(CONFIG_JOY_DB9),m)
60 M_OBJS += joy-db9.o
61 endif
62 endif
64 ifeq ($(CONFIG_JOY_GRAVIS),y)
65 O_OBJS += joy-gravis.o
66 else
67 ifeq ($(CONFIG_JOY_GRAVIS),m)
68 M_OBJS += joy-gravis.o
69 endif
70 endif
72 ifeq ($(CONFIG_JOY_LIGHTNING),y)
73 O_OBJS += joy-lightning.o
74 else
75 ifeq ($(CONFIG_JOY_LIGHTNING),m)
76 M_OBJS += joy-lightning.o
77 endif
78 endif
80 ifeq ($(CONFIG_JOY_LOGITECH),y)
81 O_OBJS += joy-logitech.o
82 else
83 ifeq ($(CONFIG_JOY_LOGITECH),m)
84 M_OBJS += joy-logitech.o
85 endif
86 endif
88 ifeq ($(CONFIG_JOY_SIDEWINDER),y)
89 O_OBJS += joy-sidewinder.o
90 else
91 ifeq ($(CONFIG_JOY_SIDEWINDER),m)
92 M_OBJS += joy-sidewinder.o
93 endif
94 endif
96 ifeq ($(CONFIG_JOY_THRUSTMASTER),y)
97 O_OBJS += joy-thrustmaster.o
98 else
99 ifeq ($(CONFIG_JOY_THRUSTMASTER),m)
100 M_OBJS += joy-thrustmaster.o
101 endif
102 endif
104 ifeq ($(CONFIG_JOY_TURBOGRAFX),y)
105 O_OBJS += joy-turbografx.o
106 else
107 ifeq ($(CONFIG_JOY_TURBOGRAFX),m)
108 M_OBJS += joy-turbografx.o
109 endif
110 endif
112 include $(TOPDIR)/Rules.make