xref: /linux/drivers/input/mouse/Makefile (revision 9e56ff53b4115875667760445b028357848b4748)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the mouse drivers.
4#
5
6# Each configuration option enables a list of files.
7
8obj-$(CONFIG_MOUSE_AMIGA)		+= amimouse.o
9obj-$(CONFIG_MOUSE_APPLETOUCH)		+= appletouch.o
10obj-$(CONFIG_MOUSE_ATARI)		+= atarimouse.o
11obj-$(CONFIG_MOUSE_BCM5974)		+= bcm5974.o
12obj-$(CONFIG_MOUSE_CYAPA)		+= cyapatp.o
13obj-$(CONFIG_MOUSE_ELAN_I2C)		+= elan_i2c.o
14obj-$(CONFIG_MOUSE_GPIO)		+= gpio_mouse.o
15obj-$(CONFIG_MOUSE_INPORT)		+= inport.o
16obj-$(CONFIG_MOUSE_LOGIBM)		+= logibm.o
17obj-$(CONFIG_MOUSE_MAPLE)		+= maplemouse.o
18obj-$(CONFIG_MOUSE_NAVPOINT_PXA27x)	+= navpoint.o
19obj-$(CONFIG_MOUSE_PC110PAD)		+= pc110pad.o
20obj-$(CONFIG_MOUSE_PS2)			+= psmouse.o
21obj-$(CONFIG_MOUSE_RISCPC)		+= rpcmouse.o
22obj-$(CONFIG_MOUSE_SERIAL)		+= sermouse.o
23obj-$(CONFIG_MOUSE_SYNAPTICS_I2C)	+= synaptics_i2c.o
24obj-$(CONFIG_MOUSE_SYNAPTICS_USB)	+= synaptics_usb.o
25obj-$(CONFIG_MOUSE_VSXXXAA)		+= vsxxxaa.o
26
27cyapatp-objs := cyapa.o cyapa_gen3.o cyapa_gen5.o cyapa_gen6.o
28psmouse-objs := psmouse-base.o synaptics.o focaltech.o
29
30psmouse-$(CONFIG_MOUSE_PS2_ALPS)	+= alps.o
31psmouse-$(CONFIG_MOUSE_PS2_BYD)		+= byd.o
32psmouse-$(CONFIG_MOUSE_PS2_ELANTECH)	+= elantech.o
33psmouse-$(CONFIG_MOUSE_PS2_OLPC)	+= hgpk.o
34psmouse-$(CONFIG_MOUSE_PS2_LOGIPS2PP)	+= logips2pp.o
35psmouse-$(CONFIG_MOUSE_PS2_LIFEBOOK)	+= lifebook.o
36psmouse-$(CONFIG_MOUSE_PS2_SENTELIC)	+= sentelic.o
37psmouse-$(CONFIG_MOUSE_PS2_TRACKPOINT)	+= trackpoint.o
38psmouse-$(CONFIG_MOUSE_PS2_TOUCHKIT)	+= touchkit_ps2.o
39psmouse-$(CONFIG_MOUSE_PS2_CYPRESS)	+= cypress_ps2.o
40psmouse-$(CONFIG_MOUSE_PS2_VMMOUSE)	+= vmmouse.o
41
42psmouse-$(CONFIG_MOUSE_PS2_SMBUS)	+= psmouse-smbus.o
43
44elan_i2c-objs := elan_i2c_core.o
45elan_i2c-$(CONFIG_MOUSE_ELAN_I2C_I2C)	+= elan_i2c_i2c.o
46elan_i2c-$(CONFIG_MOUSE_ELAN_I2C_SMBUS)	+= elan_i2c_smbus.o
47