Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx # SPDX-License-Identifier: GPL-2.0
     5         kx AM_MAKEFLAGS = --no-print-directory
     5         kx AM_CPPFLAGS =
     5         kx 
     5         kx lib_LTLIBRARIES =
     5         kx 
     5         kx noinst_LIBRARIES =
     5         kx 
     5         kx noinst_LTLIBRARIES =
     5         kx 
     5         kx bin_PROGRAMS =
     5         kx 
     5         kx noinst_PROGRAMS =
     5         kx 
     5         kx CLEANFILES =
     5         kx 
     5         kx EXTRA_DIST =
     5         kx 
     5         kx pkglibexecdir = $(libexecdir)/bluetooth
     5         kx 
     5         kx pkglibexec_PROGRAMS =
     5         kx 
     5         kx pkgincludedir = $(includedir)/bluetooth
     5         kx 
     5         kx pkginclude_HEADERS =
     5         kx 
     5         kx AM_CFLAGS = $(WARNING_CFLAGS) $(MISC_CFLAGS) $(UDEV_CFLAGS) $(LIBEBOOK_CFLAGS) $(LIBEDATASERVER_CFLAGS) $(ell_cflags)
     5         kx AM_LDFLAGS = $(MISC_LDFLAGS)
     5         kx 
     5         kx if DATAFILES
     5         kx dbusdir = $(DBUS_CONFDIR)/dbus-1/system.d
     5         kx dbus_DATA = src/bluetooth.conf
     5         kx 
     5         kx confdir = $(sysconfdir)/bluetooth
     5         kx conf_DATA =
     5         kx 
     5         kx statedir = $(localstatedir)/lib/bluetooth
     5         kx state_DATA =
     5         kx endif
     5         kx 
     5         kx if SYSTEMD
     5         kx systemdsystemunitdir = $(SYSTEMD_SYSTEMUNITDIR)
     5         kx systemdsystemunit_DATA = src/bluetooth.service
     5         kx 
     5         kx dbussystembusdir = $(DBUS_SYSTEMBUSDIR)
     5         kx dbussystembus_DATA = src/org.bluez.service
     5         kx endif
     5         kx 
     5         kx EXTRA_DIST += src/bluetooth.service.in src/org.bluez.service
     5         kx 
     5         kx plugindir = $(libdir)/bluetooth/plugins
     5         kx 
     5         kx if MAINTAINER_MODE
     5         kx build_plugindir = $(abs_top_srcdir)/plugins/.libs
     5         kx else
     5         kx build_plugindir = $(plugindir)
     5         kx endif
     5         kx 
     5         kx if MANPAGES
     5         kx man_MANS =
     5         kx endif
     5         kx manual_pages =
     5         kx 
     5         kx plugin_LTLIBRARIES =
     5         kx 
     5         kx lib_sources = lib/bluetooth.c lib/hci.c lib/sdp.c
     5         kx lib_headers = lib/bluetooth.h lib/hci.h lib/hci_lib.h \
     5         kx 		lib/sco.h lib/l2cap.h lib/sdp.h lib/sdp_lib.h \
     5         kx 		lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h
     5         kx 
     5         kx extra_headers = lib/mgmt.h lib/uuid.h lib/a2mp.h lib/amp.h
     5         kx extra_sources = lib/uuid.c
     5         kx 
     5         kx local_headers = $(foreach file,$(lib_headers), lib/bluetooth/$(notdir $(file)))
     5         kx 
     5         kx BUILT_SOURCES = $(local_headers) $(ell_built_sources) src/builtin.h
     5         kx 
     5         kx if LIBRARY
     5         kx pkginclude_HEADERS += $(lib_headers) $(extra_headers)
     5         kx 
     5         kx lib_LTLIBRARIES += lib/libbluetooth.la
     5         kx 
     5         kx lib_libbluetooth_la_SOURCES = $(lib_headers) $(lib_sources)
     5         kx lib_libbluetooth_la_LDFLAGS = $(AM_LDFLAGS) -version-info 22:6:19
     5         kx lib_libbluetooth_la_DEPENDENCIES = $(local_headers)
     5         kx endif
     5         kx 
     5         kx noinst_LTLIBRARIES += lib/libbluetooth-internal.la
     5         kx 
     5         kx lib_libbluetooth_internal_la_SOURCES = $(lib_headers) $(lib_sources) \
     5         kx 					$(extra_headers) $(extra_sources)
     5         kx 
     5         kx noinst_LTLIBRARIES += gdbus/libgdbus-internal.la
     5         kx 
     5         kx gdbus_libgdbus_internal_la_SOURCES = gdbus/gdbus.h \
     5         kx 				gdbus/mainloop.c gdbus/watch.c \
     5         kx 				gdbus/object.c gdbus/client.c gdbus/polkit.c
     5         kx 
     5         kx if EXTERNAL_ELL
     5         kx ell_cflags = @ELL_CFLAGS@
     5         kx ell_ldadd = @ELL_LIBS@
     5         kx ell_dependencies =
     5         kx ell_built_sources = ell/shared
     5         kx else
     5         kx ell_cflags =
     5         kx ell_ldadd = ell/libell-internal.la
     5         kx ell_dependencies = $(ell_ldadd)
     5         kx ell_built_sources = ell/shared ell/internal ell/ell.h
     5         kx 
     5         kx noinst_LTLIBRARIES += ell/libell-internal.la
     5         kx 
     5         kx ell_headers = ell/util.h \
     5         kx 			ell/log.h \
     5         kx 			ell/queue.h \
     5         kx 			ell/hashmap.h \
     5         kx 			ell/random.h \
     5         kx 			ell/signal.h \
     5         kx 			ell/time.h \
     5         kx 			ell/time-private.h \
     5         kx 			ell/timeout.h \
     5         kx 			ell/cipher.h \
     5         kx 			ell/checksum.h \
     5         kx 			ell/io.h \
     5         kx 			ell/idle.h \
     5         kx 			ell/main.h \
     5         kx 			ell/settings.h \
     5         kx 			ell/strv.h \
     5         kx 			ell/string.h \
     5         kx 			ell/utf8.h \
     5         kx 			ell/dbus.h \
     5         kx 			ell/dbus-service.h \
     5         kx 			ell/dbus-client.h \
     5         kx 			ell/key.h \
     5         kx 			ell/cert.h \
     5         kx 			ell/pem.h \
     5         kx 			ell/base64.h \
     5         kx 			ell/asn1-private.h \
     5         kx 			ell/cert-private.h \
     5         kx 			ell/pem-private.h \
     5         kx 			ell/uuid.h \
     5         kx 			ell/useful.h \
     5         kx 			ell/main-private.h \
     5         kx 			ell/tester.h \
     5         kx 			ell/tls.h \
     5         kx 			ell/tls-private.h \
     5         kx 			ell/ecc.h \
     5         kx 			ell/ecc-private.h \
     5         kx 			ell/ecdh.h
     5         kx 
     5         kx ell_sources = ell/private.h ell/missing.h \
     5         kx 			ell/util.c \
     5         kx 			ell/log.c \
     5         kx 			ell/queue.c \
     5         kx 			ell/hashmap.c \
     5         kx 			ell/random.c \
     5         kx 			ell/signal.c \
     5         kx 			ell/time.c \
     5         kx 			ell/timeout.c \
     5         kx 			ell/io.c \
     5         kx 			ell/idle.c \
     5         kx 			ell/main.c \
     5         kx 			ell/settings.c \
     5         kx 			ell/strv.c \
     5         kx 			ell/string.c \
     5         kx 			ell/cipher.c \
     5         kx 			ell/checksum.c \
     5         kx 			ell/pem.c \
     5         kx 			ell/cert.c \
     5         kx 			ell/cert-crypto.c \
     5         kx 			ell/key.c \
     5         kx 			ell/base64.c \
     5         kx 			ell/utf8.c \
     5         kx 			ell/dbus-private.h \
     5         kx 			ell/dbus.c \
     5         kx 			ell/dbus-message.c \
     5         kx 			ell/dbus-util.c \
     5         kx 			ell/dbus-service.c \
     5         kx 			ell/dbus-client.c \
     5         kx 			ell/dbus-name-cache.c \
     5         kx 			ell/dbus-filter.c \
     5         kx 			ell/gvariant-private.h \
     5         kx 			ell/gvariant-util.c \
     5         kx 			ell/siphash-private.h \
     5         kx 			ell/siphash.c \
     5         kx 			ell/uuid.c \
     5         kx 			ell/tester.c \
     5         kx 			ell/tls.c \
     5         kx 			ell/tls-extensions.c \
     5         kx 			ell/tls-suites.c \
     5         kx 			ell/tls-record.c \
     5         kx 			ell/ecc.c \
     5         kx 			ell/ecc-external.c \
     5         kx 			ell/ecdh.c
     5         kx 
     5         kx ell_shared = ell/useful.h
     5         kx 
     5         kx ell_libell_internal_la_SOURCES = $(ell_headers) $(ell_sources) $(ell_shared)
     5         kx endif
     5         kx 
     5         kx CLEANFILES += $(ell_built_sources)
     5         kx 
     5         kx noinst_LTLIBRARIES += src/libshared-glib.la src/libshared-mainloop.la
     5         kx 
     5         kx if LIBSHARED_ELL
     5         kx noinst_LTLIBRARIES += src/libshared-ell.la
     5         kx endif
     5         kx 
     5         kx shared_sources = src/shared/io.h src/shared/timeout.h \
     5         kx 			src/shared/queue.h src/shared/queue.c \
     5         kx 			src/shared/util.h src/shared/util.c \
     5         kx 			src/shared/mgmt.h src/shared/mgmt.c \
     5         kx 			src/shared/crypto.h src/shared/crypto.c \
     5         kx 			src/shared/ecc.h src/shared/ecc.c \
     5         kx 			src/shared/ringbuf.h src/shared/ringbuf.c \
     5         kx 			src/shared/tester.h\
     5         kx 			src/shared/hci.h src/shared/hci.c \
     5         kx 			src/shared/hci-crypto.h src/shared/hci-crypto.c \
     5         kx 			src/shared/hfp.h src/shared/hfp.c \
     5         kx 			src/shared/uhid.h src/shared/uhid.c \
     5         kx 			src/shared/pcap.h src/shared/pcap.c \
     5         kx 			src/shared/btsnoop.h src/shared/btsnoop.c \
     5         kx 			src/shared/ad.h src/shared/ad.c \
     5         kx 			src/shared/att-types.h \
     5         kx 			src/shared/att.h src/shared/att.c \
     5         kx 			src/shared/gatt-helpers.h src/shared/gatt-helpers.c \
     5         kx 			src/shared/gatt-client.h src/shared/gatt-client.c \
     5         kx 			src/shared/gatt-server.h src/shared/gatt-server.c \
     5         kx 			src/shared/gatt-db.h src/shared/gatt-db.c \
     5         kx 			src/shared/gap.h src/shared/gap.c \
     5         kx 			src/shared/log.h src/shared/log.c \
     5         kx 			src/shared/tty.h
     5         kx 
     5         kx if READLINE
     5         kx shared_sources += src/shared/shell.c src/shared/shell.h
     5         kx endif
     5         kx 
     5         kx src_libshared_glib_la_SOURCES = $(shared_sources) \
     5         kx 				src/shared/io-glib.c \
     5         kx 				src/shared/timeout-glib.c \
     5         kx 				src/shared/mainloop-glib.c \
     5         kx 				src/shared/mainloop-notify.h \
     5         kx 				src/shared/mainloop-notify.c \
     5         kx 				src/shared/tester.c
     5         kx 
     5         kx src_libshared_mainloop_la_SOURCES = $(shared_sources) \
     5         kx 				src/shared/io-mainloop.c \
     5         kx 				src/shared/timeout-mainloop.c \
     5         kx 				src/shared/mainloop.h src/shared/mainloop.c \
     5         kx 				src/shared/mainloop-notify.h \
     5         kx 				src/shared/mainloop-notify.c
     5         kx 
     5         kx if LIBSHARED_ELL
     5         kx src_libshared_ell_la_SOURCES = $(shared_sources) \
     5         kx 				src/shared/io-ell.c \
     5         kx 				src/shared/timeout-ell.c \
     5         kx 				src/shared/mainloop.h \
     5         kx 				src/shared/mainloop-ell.c
     5         kx endif
     5         kx 
     5         kx attrib_sources = attrib/att.h attrib/att-database.h attrib/att.c \
     5         kx 		attrib/gatt.h attrib/gatt.c \
     5         kx 		attrib/gattrib.h attrib/gattrib.c \
     5         kx 		attrib/gatt-service.h attrib/gatt-service.c
     5         kx 
     5         kx btio_sources = btio/btio.h btio/btio.c
     5         kx 
     5         kx gobex_sources = gobex/gobex.h gobex/gobex.c \
     5         kx 			gobex/gobex-defs.h gobex/gobex-defs.c \
     5         kx 			gobex/gobex-packet.c gobex/gobex-packet.h \
     5         kx 			gobex/gobex-header.c gobex/gobex-header.h \
     5         kx 			gobex/gobex-transfer.c gobex/gobex-debug.h \
     5         kx 			gobex/gobex-apparam.c gobex/gobex-apparam.h
     5         kx 
     5         kx builtin_modules =
     5         kx builtin_sources =
     5         kx builtin_cppflags =
     5         kx builtin_nodist =
     5         kx builtin_ldadd =
     5         kx 
     5         kx include Makefile.plugins
     5         kx 
     5         kx if MAINTAINER_MODE
     5         kx plugin_LTLIBRARIES += plugins/external-dummy.la
     5         kx plugins_external_dummy_la_SOURCES = plugins/external-dummy.c
     5         kx plugins_external_dummy_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
     5         kx 				    -no-undefined
     5         kx plugins_external_dummy_la_CFLAGS = $(AM_CFLAGS) -fvisibility=hidden
     5         kx endif
     5         kx 
     5         kx pkglibexec_PROGRAMS += src/bluetoothd
     5         kx 
     5         kx src_bluetoothd_SOURCES = $(builtin_sources) \
     5         kx 			$(attrib_sources) $(btio_sources) \
     5         kx 			src/bluetooth.ver \
     5         kx 			src/main.c src/log.h src/log.c \
     5         kx 			src/backtrace.h src/backtrace.c \
     5         kx 			src/rfkill.c src/btd.h src/sdpd.h \
     5         kx 			src/sdpd-server.c src/sdpd-request.c \
     5         kx 			src/sdpd-service.c src/sdpd-database.c \
     5         kx 			src/attrib-server.h src/attrib-server.c \
     5         kx 			src/gatt-database.h src/gatt-database.c \
     5         kx 			src/sdp-xml.h src/sdp-xml.c \
     5         kx 			src/sdp-client.h src/sdp-client.c \
     5         kx 			src/textfile.h src/textfile.c \
     5         kx 			src/uuid-helper.h src/uuid-helper.c \
     5         kx 			src/uinput.h \
     5         kx 			src/plugin.h src/plugin.c \
     5         kx 			src/storage.h src/storage.c \
     5         kx 			src/advertising.h src/advertising.c \
     5         kx 			src/agent.h src/agent.c \
     5         kx 			src/error.h src/error.c \
     5         kx 			src/adapter.h src/adapter.c \
     5         kx 			src/profile.h src/profile.c \
     5         kx 			src/service.h src/service.c \
     5         kx 			src/gatt-client.h src/gatt-client.c \
     5         kx 			src/device.h src/device.c \
     5         kx 			src/dbus-common.c src/dbus-common.h \
     5         kx 			src/eir.h src/eir.c \
     5         kx 			src/adv_monitor.h src/adv_monitor.c \
     5         kx 			src/battery.h src/battery.c
     5         kx src_bluetoothd_LDADD = lib/libbluetooth-internal.la \
     5         kx 			gdbus/libgdbus-internal.la \
     5         kx 			src/libshared-glib.la \
     5         kx 			$(BACKTRACE_LIBS) $(GLIB_LIBS) $(DBUS_LIBS) -ldl -lrt \
     5         kx 			$(builtin_ldadd)
     5         kx src_bluetoothd_LDFLAGS = $(AM_LDFLAGS) -Wl,--export-dynamic \
     5         kx 				-Wl,--version-script=$(srcdir)/src/bluetooth.ver
     5         kx 
     5         kx src_bluetoothd_DEPENDENCIES = lib/libbluetooth-internal.la \
     5         kx 				gdbus/libgdbus-internal.la \
     5         kx 				src/libshared-glib.la \
     5         kx 				src/bluetooth.service
     5         kx 
     5         kx src_bluetoothd_CPPFLAGS = $(AM_CPPFLAGS) -DBLUETOOTH_PLUGIN_BUILTIN \
     5         kx 					-DPLUGINDIR=\""$(build_plugindir)"\" \
     5         kx 					$(BACKTRACE_CFLAGS) $(builtin_cppflags)
     5         kx src_bluetoothd_SHORTNAME = bluetoothd
     5         kx 
     5         kx builtin_files = src/builtin.h $(builtin_nodist)
     5         kx 
     5         kx nodist_src_bluetoothd_SOURCES = $(builtin_files)
     5         kx 
     5         kx CLEANFILES += $(builtin_files) src/bluetooth.service
     5         kx 
     5         kx if MANPAGES
     5         kx man_MANS += src/bluetoothd.8
     5         kx endif
     5         kx manual_pages += src/bluetoothd.8
     5         kx 
     5         kx EXTRA_DIST += src/genbuiltin src/bluetooth.conf \
     5         kx 			src/main.conf profiles/network/network.conf \
     5         kx 			profiles/input/input.conf
     5         kx 
     5         kx test_scripts =
     5         kx unit_tests =
     5         kx 
     5         kx include Makefile.tools
     5         kx include Makefile.obexd
     5         kx include android/Makefile.am
     5         kx include Makefile.mesh
     5         kx 
     5         kx if HID2HCI
     5         kx rulesdir = $(UDEV_DIR)/rules.d
     5         kx 
     5         kx rules_DATA = tools/97-hid2hci.rules
     5         kx 
     5         kx CLEANFILES += $(rules_DATA)
     5         kx endif
     5         kx 
     5         kx EXTRA_DIST += tools/hid2hci.rules
     5         kx 
     5         kx if TEST
     5         kx testdir = $(pkglibdir)/test
     5         kx test_SCRIPTS = $(test_scripts)
     5         kx endif
     5         kx 
     5         kx EXTRA_DIST += $(test_scripts)
     5         kx 
     5         kx EXTRA_DIST += doc/assigned-numbers.txt doc/supported-features.txt \
     5         kx 				doc/test-coverage.txt \
     5         kx 				doc/test-runner.txt \
     5         kx 				doc/settings-storage.txt
     5         kx 
     5         kx EXTRA_DIST += doc/mgmt-api.txt \
     5         kx 		doc/adapter-api.txt doc/device-api.txt \
     5         kx 		doc/agent-api.txt doc/profile-api.txt \
     5         kx 		doc/network-api.txt doc/media-api.txt \
     5         kx 		doc/health-api.txt doc/sap-api.txt \
     5         kx 		doc/input-api.txt
     5         kx 
     5         kx EXTRA_DIST += doc/gatt-api.txt doc/advertising-api.txt
     5         kx 
     5         kx EXTRA_DIST += doc/obex-api.txt doc/obex-agent-api.txt
     5         kx 
     5         kx EXTRA_DIST += doc/pics-opp.txt doc/pixit-opp.txt \
     5         kx 		doc/pts-opp.txt
     5         kx 
     5         kx EXTRA_DIST += doc/btsnoop.txt
     5         kx 
     5         kx EXTRA_DIST += tools/magic.btsnoop
     5         kx 
     5         kx AM_CPPFLAGS += $(DBUS_CFLAGS) $(GLIB_CFLAGS) -I$(builddir)/lib
     5         kx 
     5         kx 
     5         kx unit_tests += unit/test-eir
     5         kx 
     5         kx unit_test_eir_SOURCES = unit/test-eir.c src/eir.c src/uuid-helper.c
     5         kx unit_test_eir_LDADD = src/libshared-glib.la lib/libbluetooth-internal.la \
     5         kx 								$(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-uuid
     5         kx 
     5         kx unit_test_uuid_SOURCES = unit/test-uuid.c
     5         kx unit_test_uuid_LDADD = src/libshared-glib.la lib/libbluetooth-internal.la \
     5         kx 								$(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-textfile
     5         kx 
     5         kx unit_test_textfile_SOURCES = unit/test-textfile.c src/textfile.h src/textfile.c
     5         kx unit_test_textfile_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-crc
     5         kx 
     5         kx unit_test_crc_SOURCES = unit/test-crc.c monitor/crc.h monitor/crc.c
     5         kx unit_test_crc_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-crypto
     5         kx 
     5         kx unit_test_crypto_SOURCES = unit/test-crypto.c
     5         kx unit_test_crypto_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-ecc
     5         kx 
     5         kx unit_test_ecc_SOURCES = unit/test-ecc.c
     5         kx unit_test_ecc_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-ringbuf unit/test-queue
     5         kx 
     5         kx unit_test_ringbuf_SOURCES = unit/test-ringbuf.c
     5         kx unit_test_ringbuf_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_test_queue_SOURCES = unit/test-queue.c
     5         kx unit_test_queue_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-mgmt
     5         kx 
     5         kx unit_test_mgmt_SOURCES = unit/test-mgmt.c
     5         kx unit_test_mgmt_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-uhid
     5         kx 
     5         kx unit_test_uhid_SOURCES = unit/test-uhid.c
     5         kx unit_test_uhid_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-sdp
     5         kx 
     5         kx unit_test_sdp_SOURCES = unit/test-sdp.c \
     5         kx 				src/sdpd.h src/sdpd-database.c \
     5         kx 				src/log.h src/log.c \
     5         kx 				src/sdpd-service.c src/sdpd-request.c
     5         kx unit_test_sdp_LDADD = lib/libbluetooth-internal.la \
     5         kx 				src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-avdtp
     5         kx 
     5         kx unit_test_avdtp_SOURCES = unit/test-avdtp.c \
     5         kx 				src/log.h src/log.c \
     5         kx 				android/avdtp.c android/avdtp.h
     5         kx unit_test_avdtp_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-avctp
     5         kx 
     5         kx unit_test_avctp_SOURCES = unit/test-avctp.c \
     5         kx 				src/log.h src/log.c \
     5         kx 				android/avctp.c android/avctp.h
     5         kx unit_test_avctp_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-avrcp
     5         kx 
     5         kx unit_test_avrcp_SOURCES = unit/test-avrcp.c \
     5         kx 				src/log.h src/log.c \
     5         kx 				android/avctp.c android/avctp.h \
     5         kx 				android/avrcp-lib.c android/avrcp-lib.h
     5         kx unit_test_avrcp_LDADD = lib/libbluetooth-internal.la \
     5         kx 				src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-hfp
     5         kx 
     5         kx unit_test_hfp_SOURCES = unit/test-hfp.c
     5         kx unit_test_hfp_LDADD = src/libshared-glib.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-gdbus-client
     5         kx 
     5         kx unit_test_gdbus_client_SOURCES = unit/test-gdbus-client.c
     5         kx unit_test_gdbus_client_LDADD = gdbus/libgdbus-internal.la \
     5         kx 				src/libshared-glib.la $(GLIB_LIBS) $(DBUS_LIBS)
     5         kx 
     5         kx if OBEX
     5         kx unit_tests += unit/test-gobex-header unit/test-gobex-packet unit/test-gobex \
     5         kx 			unit/test-gobex-transfer unit/test-gobex-apparam
     5         kx 
     5         kx unit_test_gobex_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
     5         kx 						unit/test-gobex.c
     5         kx unit_test_gobex_LDADD = $(GLIB_LIBS)
     5         kx 
     5         kx unit_test_gobex_packet_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
     5         kx 						unit/test-gobex-packet.c
     5         kx unit_test_gobex_packet_LDADD = $(GLIB_LIBS)
     5         kx 
     5         kx unit_test_gobex_header_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
     5         kx 						unit/test-gobex-header.c
     5         kx unit_test_gobex_header_LDADD = $(GLIB_LIBS)
     5         kx 
     5         kx unit_test_gobex_transfer_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
     5         kx 						unit/test-gobex-transfer.c
     5         kx unit_test_gobex_transfer_LDADD = $(GLIB_LIBS)
     5         kx 
     5         kx unit_test_gobex_apparam_SOURCES = $(gobex_sources) unit/util.c unit/util.h \
     5         kx 						unit/test-gobex-apparam.c
     5         kx unit_test_gobex_apparam_LDADD = $(GLIB_LIBS)
     5         kx endif
     5         kx 
     5         kx unit_tests += unit/test-lib
     5         kx 
     5         kx unit_test_lib_SOURCES = unit/test-lib.c
     5         kx unit_test_lib_LDADD = src/libshared-glib.la \
     5         kx 				lib/libbluetooth-internal.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-gatt
     5         kx 
     5         kx unit_test_gatt_SOURCES = unit/test-gatt.c
     5         kx unit_test_gatt_LDADD = src/libshared-glib.la \
     5         kx 				lib/libbluetooth-internal.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-hog
     5         kx 
     5         kx unit_test_hog_SOURCES = unit/test-hog.c \
     5         kx 			$(btio_sources) \
     5         kx 			profiles/input/hog-lib.h profiles/input/hog-lib.c \
     5         kx 			profiles/scanparam/scpp.h profiles/scanparam/scpp.c \
     5         kx 			profiles/battery/bas.h profiles/battery/bas.c \
     5         kx 			profiles/deviceinfo/dis.h profiles/deviceinfo/dis.c \
     5         kx 			src/log.h src/log.c \
     5         kx 			attrib/att.h attrib/att.c \
     5         kx 			attrib/gatt.h attrib/gatt.c \
     5         kx 			attrib/gattrib.h attrib/gattrib.c
     5         kx unit_test_hog_LDADD = src/libshared-glib.la \
     5         kx 				lib/libbluetooth-internal.la $(GLIB_LIBS)
     5         kx 
     5         kx unit_tests += unit/test-gattrib
     5         kx 
     5         kx unit_test_gattrib_SOURCES = unit/test-gattrib.c attrib/gattrib.c \
     5         kx 					$(btio_sources) src/log.h src/log.c
     5         kx unit_test_gattrib_LDADD = lib/libbluetooth-internal.la \
     5         kx 			src/libshared-glib.la \
     5         kx 			$(GLIB_LIBS) $(DBUS_LIBS) -ldl -lrt
     5         kx 
     5         kx if MIDI
     5         kx unit_tests += unit/test-midi
     5         kx unit_test_midi_CPPFLAGS = $(AM_CPPFLAGS) $(ALSA_CFLAGS) -DMIDI_TEST
     5         kx unit_test_midi_SOURCES = unit/test-midi.c \
     5         kx 			profiles/midi/libmidi.h \
     5         kx 			profiles/midi/libmidi.c
     5         kx unit_test_midi_LDADD = src/libshared-glib.la \
     5         kx 			$(GLIB_LIBS) $(ALSA_LIBS)
     5         kx endif
     5         kx 
     5         kx if MESH
     5         kx unit_tests += unit/test-mesh-crypto
     5         kx unit_test_mesh_crypto_CPPFLAGS = $(ell_cflags)
     5         kx unit_test_mesh_crypto_SOURCES = unit/test-mesh-crypto.c \
     5         kx 				mesh/crypto.h ell/internal ell/ell.h
     5         kx unit_test_mesh_crypto_LDADD = $(ell_ldadd)
     5         kx endif
     5         kx 
     5         kx if MAINTAINER_MODE
     5         kx noinst_PROGRAMS += $(unit_tests)
     5         kx endif
     5         kx 
     5         kx TESTS = $(unit_tests)
     5         kx AM_TESTS_ENVIRONMENT = MALLOC_CHECK_=3 MALLOC_PERTURB_=69
     5         kx 
     5         kx if DBUS_RUN_SESSION
     5         kx AM_TESTS_ENVIRONMENT += dbus-run-session --
     5         kx endif
     5         kx 
     5         kx if VALGRIND
     5         kx LOG_COMPILER = valgrind --error-exitcode=1 --num-callers=30
     5         kx LOG_FLAGS = --trace-children=yes --leak-check=full --show-reachable=no \
     5         kx 		--suppressions=$(srcdir)/tools/valgrind.supp --quiet
     5         kx endif
     5         kx 
     5         kx pkgconfigdir = $(libdir)/pkgconfig
     5         kx 
     5         kx if LIBRARY
     5         kx pkgconfig_DATA = lib/bluez.pc
     5         kx endif
     5         kx 
     5         kx EXTRA_DIST += $(manual_pages) $(patsubst %.1,%.rst, \
     5         kx 				$(patsubst %.8,%.rst,$(manual_pages)))
     5         kx 
     5         kx DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles --enable-library \
     5         kx 						--enable-health \
     5         kx 						--enable-midi \
     5         kx 						--enable-manpages \
     5         kx 						--enable-android \
     5         kx 						--enable-mesh \
     5         kx 						--enable-btpclient \
     5         kx 						--disable-systemd \
     5         kx 						--disable-udev
     5         kx 
     5         kx DISTCLEANFILES = $(pkgconfig_DATA) $(unit_tests) $(manual_pages)
     5         kx 
     5         kx MAINTAINERCLEANFILES = Makefile.in \
     5         kx 	aclocal.m4 configure config.h.in config.sub config.guess \
     5         kx 	ltmain.sh depcomp compile missing install-sh mkinstalldirs test-driver
     5         kx 
     5         kx SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
     5         kx 		$(SED) -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
     5         kx 		< $< > $@
     5         kx 
     5         kx if RUN_RST2MAN
     5         kx RST2MAN_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
     5         kx 			$(RST2MAN) --strict --no-raw \
     5         kx 			--no-generator --no-datestamp $< $@
     5         kx else
     5         kx RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \
     5         kx 		{ echo "Generated manual page $@ does not exist"; false; }
     5         kx endif
     5         kx 
     5         kx %.service: %.service.in Makefile
     5         kx 	$(SED_PROCESS)
     5         kx 
     5         kx %.1: %.rst Makefile
     5         kx 	$(RST2MAN_PROCESS)
     5         kx 
     5         kx %.8: %.rst Makefile
     5         kx 	$(RST2MAN_PROCESS)
     5         kx 
     5         kx src/builtin.h: src/genbuiltin $(builtin_sources)
     5         kx 	$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
     5         kx 
     5         kx tools/%.rules:
     5         kx 	$(AM_V_at)$(MKDIR_P) tools
     5         kx 	$(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@
     5         kx 
     5         kx $(lib_libbluetooth_la_OBJECTS): $(local_headers)
     5         kx 
     5         kx lib/bluetooth/%.h: lib/%.h
     5         kx 	$(AM_V_at)$(MKDIR_P) lib/bluetooth
     5         kx 	$(AM_V_GEN)$(LN_S) -f $(abspath $<) $@
     5         kx 
     5         kx ell/shared: Makefile
     5         kx 	$(AM_V_at)$(MKDIR_P) ell
     5         kx 	$(AM_V_GEN)for f in $(ell_shared) ; do \
     5         kx 		if [ ! -f $$f ] ; then \
     5         kx 			$(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
     5         kx 		fi \
     5         kx 	done > $@
     5         kx 
     5         kx ell/internal: Makefile
     5         kx 	$(AM_V_at)$(MKDIR_P) ell
     5         kx 	$(AM_V_GEN)for f in $(ell_headers) $(ell_sources) ; do \
     5         kx 		if [ ! -f $$f ] ; then \
     5         kx 			$(LN_S) -t ell -f $(abs_srcdir)/../ell/$$f ; \
     5         kx 		fi \
     5         kx 	done > $@
     5         kx 
     5         kx ell/ell.h: Makefile
     5         kx 	$(AM_V_at)echo -n > $@
     5         kx 	$(AM_V_GEN)for f in $(ell_headers) ; do \
     5         kx 		echo "#include <$$f>" >> $@ ; \
     5         kx 	done
     5         kx 
     5         kx maintainer-clean-local:
     5         kx 	-rm -rf ell
     5         kx 
     5         kx if COVERAGE
     5         kx clean-coverage:
     5         kx 	@lcov --directory $(top_builddir) --zerocounters
     5         kx 	$(RM) -r coverage $(top_builddir)/coverage.info
     5         kx 
     5         kx coverage: check
     5         kx 	@lcov --compat-libtool --directory $(top_builddir) --capture \
     5         kx 				--output-file $(top_builddir)/coverage.info
     5         kx 	$(AM_V_at)$(MKDIR_P) coverage
     5         kx 	@genhtml -o coverage/ $(top_builddir)/coverage.info
     5         kx 
     5         kx clean-local: clean-coverage
     5         kx 	-find $(top_builddir) -name "*.gcno" -delete
     5         kx 	-find $(top_builddir) -name "*.gcda" -delete
     5         kx 	$(RM) -r lib/bluetooth
     5         kx 
     5         kx else
     5         kx clean-local:
     5         kx 	-find $(top_builddir) -name "*.gcno" -delete
     5         kx 	-find $(top_builddir) -name "*.gcda" -delete
     5         kx 	$(RM) -r lib/bluetooth
     5         kx endif