mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-12 05:24:19 +08:00
a54747586e
Name of daemon implementation will match Android HAL name. This will make code navigation easier as daemon part and HAL library implementation will be in foo.c and hal-foo.c respectively.
128 lines
3.7 KiB
Makefile
128 lines
3.7 KiB
Makefile
if ANDROID
|
|
noinst_PROGRAMS += android/system-emulator
|
|
|
|
android_system_emulator_SOURCES = android/system-emulator.c \
|
|
monitor/mainloop.h monitor/mainloop.c
|
|
|
|
noinst_PROGRAMS += android/bluetoothd
|
|
|
|
android_bluetoothd_SOURCES = android/main.c \
|
|
src/log.c \
|
|
android/hal-msg.h \
|
|
android/utils.h \
|
|
src/sdpd-database.c src/sdpd-server.c \
|
|
src/sdpd-service.c src/sdpd-request.c \
|
|
src/glib-helper.h src/glib-helper.c \
|
|
src/eir.h src/eir.c \
|
|
src/shared/util.h src/shared/util.c \
|
|
src/shared/mgmt.h src/shared/mgmt.c \
|
|
android/adapter.h android/adapter.c \
|
|
android/hidhost.h android/hidhost.c \
|
|
android/ipc.h android/ipc.c \
|
|
android/a2dp.h android/a2dp.c \
|
|
android/socket.h android/socket.c \
|
|
android/pan.h android/pan.c \
|
|
btio/btio.h btio/btio.c \
|
|
src/sdp-client.h src/sdp-client.c
|
|
|
|
android_bluetoothd_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
|
|
|
|
noinst_LTLIBRARIES += android/libhal-internal.la
|
|
|
|
android_libhal_internal_la_SOURCES = android/hal.h android/hal-bluetooth.c \
|
|
android/hal-sock.c \
|
|
android/hal-hidhost.c \
|
|
android/hal-pan.c \
|
|
android/hal-a2dp.c \
|
|
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 \
|
|
android/cutils/properties.h \
|
|
android/hal-log.h \
|
|
android/hal-ipc.h android/hal-ipc.c
|
|
|
|
android_libhal_internal_la_CPPFLAGS = -I$(srcdir)/android
|
|
|
|
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 \
|
|
android/client/tabcompletion.c \
|
|
android/client/if-av.c \
|
|
android/client/if-bt.c \
|
|
android/client/if-gatt.c \
|
|
android/client/if-hf.c \
|
|
android/client/if-hh.c \
|
|
android/client/if-pan.c \
|
|
android/client/if-sock.c \
|
|
android/client/hwmodule.c
|
|
|
|
android_haltest_LDADD = android/libhal-internal.la
|
|
|
|
android_haltest_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android \
|
|
-DPLATFORM_SDK_VERSION=19
|
|
|
|
android_haltest_LDFLAGS = -pthread
|
|
|
|
endif
|
|
|
|
EXTRA_DIST += android/Android.mk android/adapter.c android/main.c \
|
|
android/hal-msg.h android/hal.h
|
|
|
|
EXTRA_DIST += android/hal-bluetooth.c \
|
|
android/hal-sock.c \
|
|
android/hal-hidhost.c \
|
|
android/hal-pan.c \
|
|
android/hal-a2dp.c \
|
|
android/hal-log.h
|
|
|
|
EXTRA_DIST += android/client/terminal.c \
|
|
android/client/haltest.c \
|
|
android/client/hwmodule.c \
|
|
android/client/pollhandler.c \
|
|
android/client/history.c \
|
|
android/client/if-av.c \
|
|
android/client/if-bt.c \
|
|
android/client/if-gatt.c \
|
|
android/client/if-hf.c \
|
|
android/client/if-hh.c \
|
|
android/client/if-pan.c \
|
|
android/client/if-sock.c \
|
|
android/client/textconv.c \
|
|
android/client/tabcompletion.c \
|
|
android/client/textconv.h \
|
|
android/client/if-main.h \
|
|
android/client/pollhandler.h \
|
|
android/client/history.h \
|
|
android/client/terminal.h
|
|
|
|
EXTRA_DIST += android/hal-ipc-api.txt android/README
|
|
|
|
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 \
|
|
android/hardware/hardware.h \
|
|
android/cutils/properties.h
|