mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 08:14:28 +08:00
build: Add gobex sources and tools
This commit is contained in:
parent
36803c249d
commit
855f220dae
8
.gitignore
vendored
8
.gitignore
vendored
@ -89,3 +89,11 @@ doc/xml
|
|||||||
doc/html
|
doc/html
|
||||||
src/bluetoothd.8
|
src/bluetoothd.8
|
||||||
src/bluetooth.service
|
src/bluetooth.service
|
||||||
|
|
||||||
|
tools/obex-client-tool
|
||||||
|
tools/obex-server-tool
|
||||||
|
unit/test-gobex
|
||||||
|
unit/test-gobex-apparam
|
||||||
|
unit/test-gobex-header
|
||||||
|
unit/test-gobex-packet
|
||||||
|
unit/test-gobex-transfer
|
||||||
|
32
Makefile.am
32
Makefile.am
@ -93,6 +93,13 @@ gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/watch.c \
|
|||||||
|
|
||||||
btio_sources = btio/btio.h btio/btio.c
|
btio_sources = btio/btio.h btio/btio.c
|
||||||
|
|
||||||
|
gobex_sources = gobex/gobex.h gobex/gobex.c \
|
||||||
|
gobex/gobex-defs.h gobex/gobex-defs.c \
|
||||||
|
gobex/gobex-packet.c gobex/gobex-packet.h \
|
||||||
|
gobex/gobex-header.c gobex/gobex-header.h \
|
||||||
|
gobex/gobex-transfer.c gobex/gobex-debug.h \
|
||||||
|
gobex/gobex-apparam.c gobex/gobex-apparam.h
|
||||||
|
|
||||||
builtin_modules =
|
builtin_modules =
|
||||||
builtin_sources =
|
builtin_sources =
|
||||||
builtin_nodist =
|
builtin_nodist =
|
||||||
@ -371,6 +378,31 @@ else
|
|||||||
unit_tests =
|
unit_tests =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
unit_tests += unit/test-gobex-header unit/test-gobex-packet unit/test-gobex \
|
||||||
|
unit/test-gobex-transfer unit/test-gobex-apparam
|
||||||
|
|
||||||
|
unit_test_gobex_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
|
||||||
|
unit/test-gobex.c
|
||||||
|
unit_test_gobex_LDADD = @GLIB_LIBS@
|
||||||
|
|
||||||
|
unit_test_gobex_packet_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
|
||||||
|
unit/test-gobex-packet.c
|
||||||
|
unit_test_gobex_packet_LDADD = @GLIB_LIBS@
|
||||||
|
|
||||||
|
unit_test_gobex_header_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
|
||||||
|
unit/test-gobex-header.c
|
||||||
|
unit_test_gobex_header_LDADD = @GLIB_LIBS@
|
||||||
|
|
||||||
|
unit_test_gobex_transfer_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
|
||||||
|
unit/test-gobex-transfer.c
|
||||||
|
unit_test_gobex_transfer_LDADD = @GLIB_LIBS@
|
||||||
|
|
||||||
|
unit_test_gobex_apparam_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
|
||||||
|
unit/test-gobex-apparam.c
|
||||||
|
unit_test_gobex_apparam_LDADD = @GLIB_LIBS@
|
||||||
|
|
||||||
|
noinst_PROGRAMS += $(unit_tests)
|
||||||
|
|
||||||
TESTS = $(unit_tests)
|
TESTS = $(unit_tests)
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
@ -76,6 +76,17 @@ attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
|
|||||||
attrib/gatttool.h attrib/interactive.c \
|
attrib/gatttool.h attrib/interactive.c \
|
||||||
attrib/utils.c src/log.c
|
attrib/utils.c src/log.c
|
||||||
attrib_gatttool_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@ @READLINE_LIBS@
|
attrib_gatttool_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@ @READLINE_LIBS@
|
||||||
|
|
||||||
|
noinst_PROGRAMS += tools/obex-client-tool
|
||||||
|
tools_obex_client_tool_SOURCES = $(gobex_sources) $(btio_sources) \
|
||||||
|
tools/obex-client-tool.c
|
||||||
|
tools_obex_client_tool_LDADD = lib/libbluetooth-private.la \
|
||||||
|
@GLIB_LIBS@ @READLINE_LIBS@
|
||||||
|
|
||||||
|
noinst_PROGRAMS += tools/obex-server-tool
|
||||||
|
tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
|
||||||
|
tools/obex-server-tool.c
|
||||||
|
tools_obex_server_tool_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dist_man_MANS += tools/rfcomm.1 tools/l2ping.8 \
|
dist_man_MANS += tools/rfcomm.1 tools/l2ping.8 \
|
||||||
|
Loading…
Reference in New Issue
Block a user