2012-12-09 17:05:17 +08:00
|
|
|
|
2012-12-30 06:46:19 +08:00
|
|
|
builtin_modules += hostname
|
|
|
|
builtin_sources += plugins/hostname.c
|
|
|
|
|
2012-12-09 17:05:17 +08:00
|
|
|
builtin_modules += wiimote
|
|
|
|
builtin_sources += plugins/wiimote.c
|
|
|
|
|
2013-05-09 08:38:00 +08:00
|
|
|
builtin_modules += autopair
|
|
|
|
builtin_sources += plugins/autopair.c
|
|
|
|
|
2013-07-02 23:31:59 +08:00
|
|
|
builtin_modules += policy
|
|
|
|
builtin_sources += plugins/policy.c
|
|
|
|
|
2016-11-11 22:17:18 +08:00
|
|
|
if NFC
|
2012-12-09 17:05:17 +08:00
|
|
|
builtin_modules += neard
|
|
|
|
builtin_sources += plugins/neard.c
|
2016-11-11 22:17:18 +08:00
|
|
|
endif
|
2012-12-11 05:48:44 +08:00
|
|
|
|
2016-11-11 22:25:39 +08:00
|
|
|
if SAP
|
2012-12-11 05:48:44 +08:00
|
|
|
builtin_modules += sap
|
|
|
|
builtin_sources += profiles/sap/main.c profiles/sap/manager.h \
|
|
|
|
profiles/sap/manager.c profiles/sap/server.h \
|
|
|
|
profiles/sap/server.c profiles/sap/sap.h \
|
|
|
|
profiles/sap/sap-dummy.c
|
|
|
|
|
|
|
|
noinst_LIBRARIES += profiles/sap/libsap.a
|
|
|
|
profiles_sap_libsap_a_SOURCES = profiles/sap/sap.h profiles/sap/sap-u8500.c
|
2012-12-09 17:05:17 +08:00
|
|
|
endif
|
2012-12-11 05:44:54 +08:00
|
|
|
|
2016-11-11 21:40:54 +08:00
|
|
|
if A2DP
|
2013-07-24 19:56:22 +08:00
|
|
|
builtin_modules += a2dp
|
|
|
|
builtin_sources += profiles/audio/source.h profiles/audio/source.c \
|
2012-12-11 05:44:54 +08:00
|
|
|
profiles/audio/sink.h profiles/audio/sink.c \
|
|
|
|
profiles/audio/a2dp.h profiles/audio/a2dp.c \
|
|
|
|
profiles/audio/avdtp.h profiles/audio/avdtp.c \
|
|
|
|
profiles/audio/media.h profiles/audio/media.c \
|
|
|
|
profiles/audio/transport.h profiles/audio/transport.c \
|
|
|
|
profiles/audio/a2dp-codecs.h
|
2016-11-11 21:40:54 +08:00
|
|
|
endif
|
2012-12-11 05:44:54 +08:00
|
|
|
|
2016-11-11 21:47:25 +08:00
|
|
|
|
|
|
|
if AVRCP
|
2013-07-24 19:56:21 +08:00
|
|
|
builtin_modules += avrcp
|
|
|
|
builtin_sources += profiles/audio/control.h profiles/audio/control.c \
|
|
|
|
profiles/audio/avctp.h profiles/audio/avctp.c \
|
|
|
|
profiles/audio/avrcp.h profiles/audio/avrcp.c \
|
|
|
|
profiles/audio/player.h profiles/audio/player.c
|
2016-11-11 21:47:25 +08:00
|
|
|
endif
|
2013-07-24 19:56:21 +08:00
|
|
|
|
2016-11-11 21:52:55 +08:00
|
|
|
if NETWORK
|
2012-12-11 05:44:54 +08:00
|
|
|
builtin_modules += network
|
2013-04-26 17:46:25 +08:00
|
|
|
builtin_sources += profiles/network/manager.c \
|
2013-11-29 22:20:41 +08:00
|
|
|
profiles/network/bnep.h profiles/network/bnep.c \
|
2012-12-11 05:44:54 +08:00
|
|
|
profiles/network/server.h profiles/network/server.c \
|
|
|
|
profiles/network/connection.h \
|
|
|
|
profiles/network/connection.c
|
2016-11-11 21:52:55 +08:00
|
|
|
endif
|
2012-12-11 05:44:54 +08:00
|
|
|
|
2016-11-11 22:02:06 +08:00
|
|
|
if HID
|
2012-12-11 05:44:54 +08:00
|
|
|
builtin_modules += input
|
2013-04-26 17:46:25 +08:00
|
|
|
builtin_sources += profiles/input/manager.c \
|
2012-12-11 05:44:54 +08:00
|
|
|
profiles/input/server.h profiles/input/server.c \
|
2014-05-09 04:00:01 +08:00
|
|
|
profiles/input/device.h profiles/input/device.c \
|
2014-05-22 22:07:05 +08:00
|
|
|
profiles/input/hidp_defs.h
|
2016-11-11 22:02:06 +08:00
|
|
|
endif
|
2012-12-11 05:44:54 +08:00
|
|
|
|
2016-11-11 22:05:40 +08:00
|
|
|
if HOG
|
2012-12-11 05:44:54 +08:00
|
|
|
builtin_modules += hog
|
2012-12-19 02:49:43 +08:00
|
|
|
builtin_sources += profiles/input/hog.c profiles/input/uhid_copy.h \
|
2015-11-11 21:49:07 +08:00
|
|
|
profiles/input/hog-lib.c profiles/input/hog-lib.h \
|
|
|
|
profiles/deviceinfo/dis.c profiles/deviceinfo/dis.h \
|
|
|
|
profiles/battery/bas.c profiles/battery/bas.h \
|
|
|
|
profiles/scanparam/scpp.c profiles/scanparam/scpp.h \
|
2015-05-29 22:24:45 +08:00
|
|
|
profiles/input/suspend.h profiles/input/suspend-none.c
|
|
|
|
|
|
|
|
EXTRA_DIST += profiles/input/suspend-dummy.c
|
2016-11-11 22:05:40 +08:00
|
|
|
endif
|
2012-12-11 05:44:54 +08:00
|
|
|
|
2016-11-11 22:10:10 +08:00
|
|
|
if HEALTH
|
2012-12-11 05:44:54 +08:00
|
|
|
builtin_modules += health
|
2014-10-02 20:25:16 +08:00
|
|
|
builtin_sources += profiles/health/mcap.h profiles/health/mcap.c \
|
2012-12-11 05:44:54 +08:00
|
|
|
profiles/health/hdp_main.c profiles/health/hdp_types.h \
|
|
|
|
profiles/health/hdp_manager.h \
|
|
|
|
profiles/health/hdp_manager.c \
|
|
|
|
profiles/health/hdp.h profiles/health/hdp.c \
|
|
|
|
profiles/health/hdp_util.h profiles/health/hdp_util.c
|
2012-12-21 16:46:16 +08:00
|
|
|
endif
|
2012-12-11 05:44:54 +08:00
|
|
|
|
2014-12-19 09:24:37 +08:00
|
|
|
builtin_modules += gap
|
|
|
|
builtin_sources += profiles/gap/gas.c
|
2012-12-11 23:40:11 +08:00
|
|
|
|
|
|
|
builtin_modules += scanparam
|
2012-12-14 19:14:37 +08:00
|
|
|
builtin_sources += profiles/scanparam/scan.c
|
2012-12-11 23:40:11 +08:00
|
|
|
|
|
|
|
builtin_modules += deviceinfo
|
2012-12-14 19:08:18 +08:00
|
|
|
builtin_sources += profiles/deviceinfo/deviceinfo.c
|
2012-12-11 05:44:54 +08:00
|
|
|
|
2017-01-04 01:30:06 +08:00
|
|
|
if MIDI
|
|
|
|
builtin_modules += midi
|
|
|
|
builtin_sources += profiles/midi/midi.c \
|
|
|
|
profiles/midi/libmidi.h \
|
|
|
|
profiles/midi/libmidi.c
|
|
|
|
builtin_ldadd += @ALSA_LIBS@
|
|
|
|
endif
|
|
|
|
|
2013-11-26 06:15:48 +08:00
|
|
|
if SIXAXIS
|
|
|
|
plugin_LTLIBRARIES += plugins/sixaxis.la
|
|
|
|
plugins_sixaxis_la_SOURCES = plugins/sixaxis.c
|
|
|
|
plugins_sixaxis_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
|
|
|
|
-no-undefined @UDEV_LIBS@
|
|
|
|
plugins_sixaxis_la_CFLAGS = $(AM_CFLAGS) -fvisibility=hidden @UDEV_CFLAGS@
|
|
|
|
endif
|