1# 2# Makefile for the joystick drivers. 3# 4 5O_TARGET := js.o 6 7# Objects that export symbols. 8 9export-objs := serio.o gameport.o pcigame.o 10 11# I-Force may need both USB and RS-232 12 13ifeq ($(CONFIG_INPUT_IFORCE_232),m) 14 ifeq ($(CONFIG_INPUT_IFORCE_USB),y) 15 CONFIG_INPUT_IFORCE_USB := m 16 endif 17endif 18ifeq ($(CONFIG_INPUT_IFORCE_USB),m) 19 ifeq ($(CONFIG_INPUT_IFORCE_232),y) 20 CONFIG_INPUT_IFORCE_232 := m 21 endif 22endif 23 24# Object file lists. 25 26obj-y := 27obj-m := 28obj-n := 29obj- := 30 31# Each configuration option enables a list of files. 32 33obj-$(CONFIG_INPUT_GAMEPORT) += gameport.o 34obj-$(CONFIG_INPUT_SERIO) += serio.o 35 36obj-$(CONFIG_INPUT_SERPORT) += serport.o 37 38obj-$(CONFIG_INPUT_NS558) += ns558.o 39obj-$(CONFIG_INPUT_LIGHTNING) += lightning.o 40obj-$(CONFIG_INPUT_PCIGAME) += pcigame.o 41obj-$(CONFIG_INPUT_CS461X) += cs461x.o 42obj-$(CONFIG_INPUT_EMU10K1) += emu10k1-gp.o 43 44obj-$(CONFIG_INPUT_WARRIOR) += warrior.o 45obj-$(CONFIG_INPUT_MAGELLAN) += magellan.o 46obj-$(CONFIG_INPUT_SPACEORB) += spaceorb.o 47obj-$(CONFIG_INPUT_SPACEBALL) += spaceball.o 48obj-$(CONFIG_INPUT_STINGER) += stinger.o 49obj-$(CONFIG_INPUT_IFORCE_232) += iforce.o 50obj-$(CONFIG_INPUT_IFORCE_USB) += iforce.o 51 52obj-$(CONFIG_INPUT_ANALOG) += analog.o 53obj-$(CONFIG_INPUT_A3D) += a3d.o 54obj-$(CONFIG_INPUT_ADI) += adi.o 55obj-$(CONFIG_INPUT_COBRA) += cobra.o 56obj-$(CONFIG_INPUT_GF2K) += gf2k.o 57obj-$(CONFIG_INPUT_GRIP) += grip.o 58obj-$(CONFIG_INPUT_INTERACT) += interact.o 59obj-$(CONFIG_INPUT_TMDC) += tmdc.o 60obj-$(CONFIG_INPUT_SIDEWINDER) += sidewinder.o 61 62obj-$(CONFIG_INPUT_DB9) += db9.o 63obj-$(CONFIG_INPUT_GAMECON) += gamecon.o 64obj-$(CONFIG_INPUT_TURBOGRAFX) += turbografx.o 65 66obj-$(CONFIG_INPUT_AMIJOY) += amijoy.o 67 68# The global Rules.make. 69 70include $(TOPDIR)/Rules.make 71