2013-10-04 19:48:46 +08:00
|
|
|
if ANDROID
|
2014-01-10 20:02:30 +08:00
|
|
|
android_plugindir = $(abs_top_srcdir)/android/.libs
|
|
|
|
|
2013-11-01 00:51:29 +08:00
|
|
|
noinst_PROGRAMS += android/system-emulator
|
|
|
|
|
|
|
|
android_system_emulator_SOURCES = android/system-emulator.c \
|
|
|
|
monitor/mainloop.h monitor/mainloop.c
|
|
|
|
|
2013-12-31 06:43:35 +08:00
|
|
|
noinst_PROGRAMS += android/bluetoothd-snoop
|
|
|
|
|
|
|
|
android_bluetoothd_snoop_SOURCES = android/bluetoothd-snoop.c \
|
|
|
|
monitor/mainloop.h monitor/mainloop.c \
|
|
|
|
src/shared/btsnoop.h src/shared/btsnoop.c
|
|
|
|
|
2013-10-04 19:48:46 +08:00
|
|
|
noinst_PROGRAMS += android/bluetoothd
|
|
|
|
|
2013-11-01 00:51:29 +08:00
|
|
|
android_bluetoothd_SOURCES = android/main.c \
|
2013-10-16 22:36:28 +08:00
|
|
|
src/log.c \
|
2013-10-16 22:36:29 +08:00
|
|
|
android/hal-msg.h \
|
2013-12-27 17:14:02 +08:00
|
|
|
android/audio-msg.h \
|
2013-10-28 21:45:13 +08:00
|
|
|
android/utils.h \
|
2013-10-16 22:36:31 +08:00
|
|
|
src/sdpd-database.c src/sdpd-server.c \
|
|
|
|
src/sdpd-service.c src/sdpd-request.c \
|
2014-01-21 20:12:00 +08:00
|
|
|
src/uuid-helper.h src/uuid-helper.c \
|
2013-10-31 22:25:31 +08:00
|
|
|
src/eir.h src/eir.c \
|
2014-01-09 11:39:09 +08:00
|
|
|
src/shared/io.h src/shared/io-glib.c \
|
2014-01-09 07:01:04 +08:00
|
|
|
src/shared/queue.h src/shared/queue.c \
|
2013-10-16 22:36:29 +08:00
|
|
|
src/shared/util.h src/shared/util.c \
|
2013-10-18 18:08:25 +08:00
|
|
|
src/shared/mgmt.h src/shared/mgmt.c \
|
2014-02-03 05:09:19 +08:00
|
|
|
src/shared/ringbuf.h src/shared/ringbuf.c \
|
|
|
|
src/shared/hfp.h src/shared/hfp.c \
|
2013-11-14 20:56:50 +08:00
|
|
|
android/bluetooth.h android/bluetooth.c \
|
2013-11-08 00:17:03 +08:00
|
|
|
android/hidhost.h android/hidhost.c \
|
2013-10-23 19:04:40 +08:00
|
|
|
android/ipc.h android/ipc.c \
|
2013-12-27 17:14:02 +08:00
|
|
|
android/audio-ipc.h android/audio-ipc.c \
|
2013-11-20 20:30:19 +08:00
|
|
|
android/avdtp.h android/avdtp.c \
|
2013-11-04 18:56:54 +08:00
|
|
|
android/a2dp.h android/a2dp.c \
|
2014-01-22 19:35:33 +08:00
|
|
|
android/avctp.h android/avctp.c \
|
2014-01-23 21:04:12 +08:00
|
|
|
android/avrcp.h android/avrcp.c \
|
2013-10-29 17:48:15 +08:00
|
|
|
android/socket.h android/socket.c \
|
2013-11-04 18:56:56 +08:00
|
|
|
android/pan.h android/pan.c \
|
2014-02-03 05:09:12 +08:00
|
|
|
android/handsfree.h android/handsfree.c \
|
2013-11-01 16:58:43 +08:00
|
|
|
btio/btio.h btio/btio.c \
|
2013-11-29 22:20:42 +08:00
|
|
|
src/sdp-client.h src/sdp-client.c \
|
|
|
|
profiles/network/bnep.h profiles/network/bnep.c
|
2013-10-16 22:36:28 +08:00
|
|
|
|
2013-10-16 22:36:31 +08:00
|
|
|
android_bluetoothd_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
2013-10-17 16:33:40 +08:00
|
|
|
|
2014-01-10 19:15:06 +08:00
|
|
|
plugin_LTLIBRARIES += android/bluetooth.default.la
|
2013-10-17 16:33:40 +08:00
|
|
|
|
2014-01-10 19:15:06 +08:00
|
|
|
android_bluetooth_default_la_SOURCES = android/hal.h android/hal-bluetooth.c \
|
2013-10-18 18:08:28 +08:00
|
|
|
android/hal-sock.c \
|
2013-10-18 18:47:58 +08:00
|
|
|
android/hal-hidhost.c \
|
2013-10-17 16:26:46 +08:00
|
|
|
android/hal-pan.c \
|
2013-11-07 23:32:06 +08:00
|
|
|
android/hal-a2dp.c \
|
2014-01-23 22:30:21 +08:00
|
|
|
android/hal-avrcp.c \
|
2014-02-03 05:09:12 +08:00
|
|
|
android/hal-handsfree.c \
|
2013-10-17 16:33:40 +08:00
|
|
|
android/hardware/bluetooth.h \
|
|
|
|
android/hardware/bt_av.h \
|
|
|
|
android/hardware/bt_gatt.h \
|
|
|
|
android/hardware/bt_gatt_client.h \
|
|
|
|
android/hardware/bt_gatt_server.h \
|
|
|
|
android/hardware/bt_gatt_types.h \
|
|
|
|
android/hardware/bt_hf.h \
|
|
|
|
android/hardware/bt_hh.h \
|
|
|
|
android/hardware/bt_hl.h \
|
|
|
|
android/hardware/bt_pan.h \
|
|
|
|
android/hardware/bt_rc.h \
|
|
|
|
android/hardware/bt_sock.h \
|
|
|
|
android/hardware/hardware.h \
|
2013-10-21 01:45:42 +08:00
|
|
|
android/cutils/properties.h \
|
2013-10-22 02:56:41 +08:00
|
|
|
android/hal-log.h \
|
2014-01-10 20:02:30 +08:00
|
|
|
android/hal-ipc.h android/hal-ipc.c \
|
|
|
|
android/hal-utils.h android/hal-utils.c
|
2013-10-21 01:45:42 +08:00
|
|
|
|
2014-01-14 19:51:47 +08:00
|
|
|
android_bluetooth_default_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android
|
2014-01-10 19:15:06 +08:00
|
|
|
android_bluetooth_default_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
|
|
|
|
-no-undefined
|
2013-10-18 04:28:37 +08:00
|
|
|
|
|
|
|
noinst_PROGRAMS += android/haltest
|
|
|
|
|
|
|
|
android_haltest_SOURCES = android/client/haltest.c \
|
2013-11-14 21:56:51 +08:00
|
|
|
android/client/pollhandler.h \
|
2013-10-18 04:28:37 +08:00
|
|
|
android/client/pollhandler.c \
|
2013-11-14 21:56:51 +08:00
|
|
|
android/client/terminal.h \
|
2013-10-18 04:28:37 +08:00
|
|
|
android/client/terminal.c \
|
2013-11-14 21:56:51 +08:00
|
|
|
android/client/history.h \
|
2013-10-18 04:28:37 +08:00
|
|
|
android/client/history.c \
|
2013-10-18 21:15:58 +08:00
|
|
|
android/client/tabcompletion.c \
|
2013-11-14 21:56:51 +08:00
|
|
|
android/client/if-main.h \
|
2013-10-23 22:38:25 +08:00
|
|
|
android/client/if-av.c \
|
2014-01-23 22:37:07 +08:00
|
|
|
android/client/if-rc.c \
|
2013-10-18 04:28:38 +08:00
|
|
|
android/client/if-bt.c \
|
2013-10-31 18:45:06 +08:00
|
|
|
android/client/if-gatt.c \
|
2013-10-28 19:39:00 +08:00
|
|
|
android/client/if-hf.c \
|
2013-10-22 19:02:26 +08:00
|
|
|
android/client/if-hh.c \
|
2013-10-23 16:34:58 +08:00
|
|
|
android/client/if-pan.c \
|
2013-10-23 16:34:57 +08:00
|
|
|
android/client/if-sock.c \
|
2014-01-09 20:47:36 +08:00
|
|
|
android/client/if-audio.c \
|
2014-01-10 20:02:30 +08:00
|
|
|
android/hardware/hardware.c \
|
2013-11-08 21:15:59 +08:00
|
|
|
android/hal-utils.h android/hal-utils.c
|
2013-10-18 04:28:37 +08:00
|
|
|
|
2013-10-30 22:47:22 +08:00
|
|
|
android_haltest_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android \
|
2014-01-10 20:02:30 +08:00
|
|
|
-DPLUGINDIR=\""$(android_plugindir)"\"
|
2013-10-18 04:28:37 +08:00
|
|
|
|
2014-01-10 20:02:30 +08:00
|
|
|
android_haltest_LDFLAGS = -pthread -ldl
|
2013-10-22 20:46:12 +08:00
|
|
|
|
2013-12-11 18:46:31 +08:00
|
|
|
noinst_PROGRAMS += android/android-tester
|
|
|
|
|
2013-12-11 18:46:32 +08:00
|
|
|
android_android_tester_SOURCES = emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
2014-01-07 17:34:49 +08:00
|
|
|
emulator/smp.c \
|
2014-01-09 11:39:09 +08:00
|
|
|
src/shared/io.h src/shared/io-glib.c \
|
2014-01-09 07:01:04 +08:00
|
|
|
src/shared/queue.h src/shared/queue.c \
|
2013-12-11 18:46:32 +08:00
|
|
|
src/shared/util.h src/shared/util.c \
|
|
|
|
src/shared/mgmt.h src/shared/mgmt.c \
|
|
|
|
src/shared/hciemu.h src/shared/hciemu.c \
|
|
|
|
src/shared/tester.h src/shared/tester.c \
|
2014-01-16 19:28:05 +08:00
|
|
|
monitor/rfcomm.h \
|
2014-01-10 20:02:30 +08:00
|
|
|
android/hardware/hardware.c \
|
|
|
|
android/android-tester.c
|
2013-12-11 18:46:32 +08:00
|
|
|
|
2014-01-10 20:02:30 +08:00
|
|
|
android_android_tester_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android \
|
|
|
|
-DPLUGINDIR=\""$(android_plugindir)"\"
|
2013-12-11 18:46:34 +08:00
|
|
|
|
2014-01-10 20:02:30 +08:00
|
|
|
android_android_tester_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
2013-12-11 18:46:34 +08:00
|
|
|
|
2014-01-10 20:02:30 +08:00
|
|
|
android_android_tester_LDFLAGS = -pthread -ldl
|
2013-12-11 18:46:31 +08:00
|
|
|
|
2014-01-20 17:36:00 +08:00
|
|
|
noinst_PROGRAMS += android/ipc-tester
|
|
|
|
|
|
|
|
android_ipc_tester_SOURCES = emulator/btdev.h emulator/btdev.c \
|
|
|
|
emulator/bthost.h emulator/bthost.c \
|
|
|
|
emulator/smp.c \
|
|
|
|
src/shared/io.h src/shared/io-glib.c \
|
|
|
|
src/shared/queue.h src/shared/queue.c \
|
|
|
|
src/shared/util.h src/shared/util.c \
|
|
|
|
src/shared/mgmt.h src/shared/mgmt.c \
|
|
|
|
src/shared/hciemu.h src/shared/hciemu.c \
|
|
|
|
src/shared/tester.h src/shared/tester.c \
|
|
|
|
android/hal-utils.h android/hal-utils.c \
|
|
|
|
android/ipc-tester.c
|
|
|
|
|
|
|
|
android_ipc_tester_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android
|
|
|
|
|
|
|
|
android_ipc_tester_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
|
|
|
|
2014-01-10 18:55:38 +08:00
|
|
|
android_audio_a2dp_default_la_SOURCES = android/audio-msg.h \
|
2014-01-16 02:03:47 +08:00
|
|
|
android/hal-msg.h \
|
2014-01-08 23:19:31 +08:00
|
|
|
android/hal-audio.c \
|
2013-12-05 21:59:54 +08:00
|
|
|
android/hardware/audio.h \
|
|
|
|
android/hardware/audio_effect.h \
|
|
|
|
android/hardware/hardware.h \
|
|
|
|
android/system/audio.h
|
|
|
|
|
2014-01-16 18:04:58 +08:00
|
|
|
noinst_PROGRAMS += android/test-ipc
|
|
|
|
|
|
|
|
android_test_ipc_SOURCES = android/test-ipc.c \
|
|
|
|
src/shared/util.h src/shared/util.c \
|
|
|
|
src/log.h src/log.c \
|
|
|
|
android/ipc.c android/ipc.h
|
|
|
|
android_test_ipc_LDADD = @GLIB_LIBS@
|
|
|
|
|
2014-01-23 00:03:50 +08:00
|
|
|
plugin_LTLIBRARIES += android/audio.a2dp.default.la
|
|
|
|
|
2014-01-10 23:35:26 +08:00
|
|
|
android_audio_a2dp_default_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android
|
2013-12-05 21:59:54 +08:00
|
|
|
|
2014-01-22 18:34:45 +08:00
|
|
|
android_audio_a2dp_default_la_LIBADD = @SBC_LIBS@
|
|
|
|
|
2014-01-10 18:55:38 +08:00
|
|
|
android_audio_a2dp_default_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
|
2014-01-24 00:16:31 +08:00
|
|
|
-no-undefined -pthread -lrt
|
2014-01-08 23:19:31 +08:00
|
|
|
|
2013-10-04 19:48:46 +08:00
|
|
|
endif
|
|
|
|
|
2014-01-18 10:32:58 +08:00
|
|
|
EXTRA_DIST += android/Android.mk android/README \
|
|
|
|
android/init.bluetooth.rc \
|
|
|
|
android/hal-ipc-api.txt \
|
|
|
|
android/audio-ipc-api.txt \
|
|
|
|
android/pics-l2cap.txt \
|
|
|
|
android/pics-gap.txt \
|
|
|
|
android/pics-did.txt \
|
|
|
|
android/pics-hid.txt \
|
|
|
|
android/pics-pan.txt \
|
|
|
|
android/pics-opp.txt \
|
|
|
|
android/pics-map.txt \
|
|
|
|
android/pics-pbap.txt \
|
|
|
|
android/pics-a2dp.txt \
|
|
|
|
android/pics-avctp.txt \
|
|
|
|
android/pics-avrcp.txt \
|
|
|
|
android/pixit-l2cap.txt \
|
|
|
|
android/pixit-gap.txt \
|
|
|
|
android/pixit-did.txt \
|
|
|
|
android/pixit-hid.txt \
|
|
|
|
android/pixit-pan.txt \
|
|
|
|
android/pixit-opp.txt \
|
|
|
|
android/pixit-map.txt \
|
|
|
|
android/pixit-pbap.txt \
|
|
|
|
android/pixit-a2dp.txt \
|
|
|
|
android/pixit-avctp.txt \
|
|
|
|
android/pixit-avrcp.txt \
|
|
|
|
android/pts-l2cap.txt \
|
|
|
|
android/pts-gap.txt \
|
|
|
|
android/pts-did.txt \
|
|
|
|
android/pts-hid.txt \
|
|
|
|
android/pts-opp.txt \
|
|
|
|
android/pts-map.txt \
|
2014-01-20 16:54:45 +08:00
|
|
|
android/pts-a2dp.txt \
|
2014-01-20 16:54:46 +08:00
|
|
|
android/pts-avrcp.txt \
|
2014-01-20 16:54:47 +08:00
|
|
|
android/pts-avctp.txt \
|
2014-01-18 10:32:58 +08:00
|
|
|
android/pts-pbap.txt
|