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_PC110PAD)		+= pc110pad.o
19obj-$(CONFIG_MOUSE_PS2)			+= psmouse.o
20obj-$(CONFIG_MOUSE_RISCPC)		+= rpcmouse.o
21obj-$(CONFIG_MOUSE_SERIAL)		+= sermouse.o
22obj-$(CONFIG_MOUSE_SYNAPTICS_I2C)	+= synaptics_i2c.o
23obj-$(CONFIG_MOUSE_SYNAPTICS_USB)	+= synaptics_usb.o
24obj-$(CONFIG_MOUSE_VSXXXAA)		+= vsxxxaa.o
25
26cyapatp-objs := cyapa.o cyapa_gen3.o cyapa_gen5.o cyapa_gen6.o
27psmouse-objs := psmouse-base.o synaptics.o focaltech.o
28
29psmouse-$(CONFIG_MOUSE_PS2_ALPS)	+= alps.o
30psmouse-$(CONFIG_MOUSE_PS2_BYD)		+= byd.o
31psmouse-$(CONFIG_MOUSE_PS2_ELANTECH)	+= elantech.o
32psmouse-$(CONFIG_MOUSE_PS2_OLPC)	+= hgpk.o
33psmouse-$(CONFIG_MOUSE_PS2_LOGIPS2PP)	+= logips2pp.o
34psmouse-$(CONFIG_MOUSE_PS2_LIFEBOOK)	+= lifebook.o
35psmouse-$(CONFIG_MOUSE_PS2_SENTELIC)	+= sentelic.o
36psmouse-$(CONFIG_MOUSE_PS2_TRACKPOINT)	+= trackpoint.o
37psmouse-$(CONFIG_MOUSE_PS2_TOUCHKIT)	+= touchkit_ps2.o
38psmouse-$(CONFIG_MOUSE_PS2_CYPRESS)	+= cypress_ps2.o
39psmouse-$(CONFIG_MOUSE_PS2_VMMOUSE)	+= vmmouse.o
40
41psmouse-$(CONFIG_MOUSE_PS2_SMBUS)	+= psmouse-smbus.o
42
43elan_i2c-objs := elan_i2c_core.o
44elan_i2c-$(CONFIG_MOUSE_ELAN_I2C_I2C)	+= elan_i2c_i2c.o
45elan_i2c-$(CONFIG_MOUSE_ELAN_I2C_SMBUS)	+= elan_i2c_smbus.o
46