2013-10-04 19:48:46 +08:00
|
|
|
if ANDROID
|
|
|
|
noinst_PROGRAMS += android/bluetoothd
|
|
|
|
|
2013-10-16 22:36:28 +08:00
|
|
|
android_bluetoothd_SOURCES = android/main.c \
|
|
|
|
src/log.c \
|
2013-10-16 22:36:29 +08:00
|
|
|
android/hal-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 \
|
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 \
|
2013-10-22 02:56:48 +08:00
|
|
|
android/adapter.h android/adapter.c \
|
2013-10-23 15:14:58 +08:00
|
|
|
android/hid.h android/hid.c \
|
2013-10-23 19:04:40 +08:00
|
|
|
android/ipc.h android/ipc.c \
|
2013-10-29 17:48:15 +08:00
|
|
|
android/socket.h android/socket.c \
|
|
|
|
btio/btio.h btio/btio.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
|
|
|
|
|
|
|
noinst_LTLIBRARIES += android/libhal-internal.la
|
|
|
|
|
2013-10-18 18:08:27 +08:00
|
|
|
android_libhal_internal_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-10-21 18:27:21 +08:00
|
|
|
android/hal-av.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 \
|
|
|
|
android/hal-ipc.h android/hal-ipc.c
|
2013-10-21 01:45:42 +08:00
|
|
|
|
2013-10-17 16:33:40 +08:00
|
|
|
android_libhal_internal_la_CPPFLAGS = -I$(srcdir)/android
|
2013-10-18 04:28:37 +08:00
|
|
|
|
|
|
|
noinst_PROGRAMS += android/haltest
|
|
|
|
|
|
|
|
android_haltest_SOURCES = android/client/haltest.c \
|
|
|
|
android/client/pollhandler.c \
|
|
|
|
android/client/terminal.c \
|
|
|
|
android/client/history.c \
|
|
|
|
android/client/textconv.c \
|
2013-10-18 21:15:58 +08:00
|
|
|
android/client/tabcompletion.c \
|
2013-10-23 22:38:25 +08:00
|
|
|
android/client/if-av.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 \
|
2013-10-18 04:28:38 +08:00
|
|
|
android/client/hwmodule.c
|
2013-10-18 04:28:37 +08:00
|
|
|
|
|
|
|
android_haltest_LDADD = android/libhal-internal.la
|
|
|
|
|
2013-10-30 22:47:22 +08:00
|
|
|
android_haltest_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android \
|
|
|
|
-DPLATFORM_SDK_VERSION=18
|
2013-10-18 04:28:37 +08:00
|
|
|
|
2013-10-22 20:46:12 +08:00
|
|
|
android_haltest_LDFLAGS = -pthread
|
|
|
|
|
2013-10-04 19:48:46 +08:00
|
|
|
endif
|
|
|
|
|
2013-10-24 22:05:38 +08:00
|
|
|
EXTRA_DIST += android/Android.mk android/device.c android/adapter.c\
|
|
|
|
android/main.c android/hal-msg.h android/hal.h
|
2013-10-18 04:28:41 +08:00
|
|
|
|
2013-10-18 18:47:58 +08:00
|
|
|
EXTRA_DIST += android/hal-bluetooth.c \
|
|
|
|
android/hal-sock.c \
|
2013-10-17 16:26:46 +08:00
|
|
|
android/hal-hidhost.c \
|
2013-10-21 01:45:41 +08:00
|
|
|
android/hal-pan.c \
|
2013-10-21 18:27:21 +08:00
|
|
|
android/hal-av.c \
|
2013-10-21 01:45:41 +08:00
|
|
|
android/hal-log.h
|
2013-10-18 04:28:41 +08:00
|
|
|
|
|
|
|
EXTRA_DIST += android/client/terminal.c \
|
|
|
|
android/client/haltest.c \
|
|
|
|
android/client/hwmodule.c \
|
|
|
|
android/client/pollhandler.c \
|
|
|
|
android/client/history.c \
|
2013-10-23 22:38:25 +08:00
|
|
|
android/client/if-av.c \
|
2013-10-18 04:28:41 +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 \
|
2013-10-18 04:28:41 +08:00
|
|
|
android/client/textconv.c \
|
2013-10-18 21:15:58 +08:00
|
|
|
android/client/tabcompletion.c \
|
2013-10-18 04:28:41 +08:00
|
|
|
android/client/textconv.h \
|
|
|
|
android/client/if-main.h \
|
|
|
|
android/client/pollhandler.h \
|
|
|
|
android/client/history.h \
|
|
|
|
android/client/terminal.h
|
2013-10-14 16:05:59 +08:00
|
|
|
|
2013-10-30 17:05:16 +08:00
|
|
|
EXTRA_DIST += android/hal-ipc-api.txt android/README
|
2013-10-17 18:08:06 +08:00
|
|
|
|
|
|
|
EXTRA_DIST += 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 \
|
2013-10-17 16:31:41 +08:00
|
|
|
android/hardware/hardware.h \
|
2013-10-17 22:40:07 +08:00
|
|
|
android/cutils/properties.h
|