summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2018-11-25 10:20:10 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2018-11-26 11:24:35 +0200
commit85af4e7c4cdf3053172ffe2e5e07d866467a592d (patch)
tree057aaf98705da4a8d643721d366d54c548ddf7ae /Makefile.tools
parenteb81f12e4a59974638a8b12e67d630478e6bf868 (diff)
downloadbluez-85af4e7c4cdf3053172ffe2e5e07d866467a592d.tar.gz
build: add missing UDEV_CFLAGS
Some targets link UDEV_LIBS, which means they also need UDEV_CFLAGS in their (or the global) CPPFLAGS.
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 55e769d8c..35412ca61 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -38,6 +38,7 @@ monitor_btmon_SOURCES = monitor/main.c monitor/bt.h \
monitor/intel.h monitor/intel.c \
monitor/broadcom.h monitor/broadcom.c \
monitor/tty.h
+monitor_btmon_CPPFLAGS = $(AM_CPPFLAGS) $(UDEV_CFLAGS)
monitor_btmon_LDADD = lib/libbluetooth-internal.la \
src/libshared-mainloop.la $(UDEV_LIBS)
endif
@@ -187,6 +188,7 @@ noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \
tools/gatt-service profiles/iap/iapd
tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c
+tools_bdaddr_CPPFLAGS = $(AM_CPPFLAGS) $(UDEV_CFLAGS)
tools_bdaddr_LDADD = lib/libbluetooth-internal.la $(UDEV_LIBS)
tools_avinfo_LDADD = lib/libbluetooth-internal.la
@@ -336,6 +338,7 @@ tools_hciconfig_SOURCES = tools/hciconfig.c tools/csr.h tools/csr.c
tools_hciconfig_LDADD = lib/libbluetooth-internal.la
tools_hcitool_SOURCES = tools/hcitool.c src/oui.h src/oui.c
+tools_hcitool_CPPFLAGS = $(AM_CPPFLAGS) $(UDEV_CFLAGS)
tools_hcitool_LDADD = lib/libbluetooth-internal.la $(UDEV_LIBS)
tools_hcidump_SOURCES = tools/hcidump.c \
@@ -389,6 +392,7 @@ udevdir = $(UDEV_DIR)
udev_PROGRAMS = tools/hid2hci
+tools_hid2hci_CPPFLAGS = $(AM_CPPFLAGS) $(UDEV_CFLAGS)
tools_hid2hci_LDADD = $(UDEV_LIBS)
dist_man_MANS += tools/hid2hci.1