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
16 ifeq ($(CONFIG_JOYSTICK
),y
)
19 ifeq ($(CONFIG_JOYSTICK
),m
)
24 ifeq ($(CONFIG_JOY_AMIGA
),y
)
27 ifeq ($(CONFIG_JOY_AMIGA
),m
)
32 ifeq ($(CONFIG_JOY_ANALOG
),y
)
33 O_OBJS
+= joy-analog.o
35 ifeq ($(CONFIG_JOY_ANALOG
),m
)
36 M_OBJS
+= joy-analog.o
40 ifeq ($(CONFIG_JOY_ASSASIN
),y
)
41 O_OBJS
+= joy-assasin.o
43 ifeq ($(CONFIG_JOY_ASSASIN
),m
)
44 M_OBJS
+= joy-assasin.o
48 ifeq ($(CONFIG_JOY_CONSOLE
),y
)
49 O_OBJS
+= joy-console.o
51 ifeq ($(CONFIG_JOY_CONSOLE
),m
)
52 M_OBJS
+= joy-console.o
56 ifeq ($(CONFIG_JOY_DB9
),y
)
59 ifeq ($(CONFIG_JOY_DB9
),m
)
64 ifeq ($(CONFIG_JOY_GRAVIS
),y
)
65 O_OBJS
+= joy-gravis.o
67 ifeq ($(CONFIG_JOY_GRAVIS
),m
)
68 M_OBJS
+= joy-gravis.o
72 ifeq ($(CONFIG_JOY_LIGHTNING
),y
)
73 O_OBJS
+= joy-lightning.o
75 ifeq ($(CONFIG_JOY_LIGHTNING
),m
)
76 M_OBJS
+= joy-lightning.o
80 ifeq ($(CONFIG_JOY_LOGITECH
),y
)
81 O_OBJS
+= joy-logitech.o
83 ifeq ($(CONFIG_JOY_LOGITECH
),m
)
84 M_OBJS
+= joy-logitech.o
88 ifeq ($(CONFIG_JOY_SIDEWINDER
),y
)
89 O_OBJS
+= joy-sidewinder.o
91 ifeq ($(CONFIG_JOY_SIDEWINDER
),m
)
92 M_OBJS
+= joy-sidewinder.o
96 ifeq ($(CONFIG_JOY_THRUSTMASTER
),y
)
97 O_OBJS
+= joy-thrustmaster.o
99 ifeq ($(CONFIG_JOY_THRUSTMASTER
),m
)
100 M_OBJS
+= joy-thrustmaster.o
104 ifeq ($(CONFIG_JOY_TURBOGRAFX
),y
)
105 O_OBJS
+= joy-turbografx.o
107 ifeq ($(CONFIG_JOY_TURBOGRAFX
),m
)
108 M_OBJS
+= joy-turbografx.o
112 include $(TOPDIR
)/Rules.make