bluez/Makefile.mesh
Khem Raj 7104f37735 mesh: Move local basename into utility file
Defining an override via a missing.h can prove difficult when a file
needs to use basename and dirname both the APIs and needs to include
libgen.h for them, in such situations there will be signature clash
for basename function.
2024-09-19 13:01:52 -04:00

58 lines
1.7 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0
if MESH
if DATAFILES
dbus_DATA += mesh/bluetooth-mesh.conf
conf_DATA += mesh/mesh-main.conf
endif
if SYSTEMD
systemdsystemunit_DATA += mesh/bluetooth-mesh.service
dbussystembus_DATA += mesh/org.bluez.mesh.service
endif
mesh_sources = mesh/mesh.h mesh/mesh.c \
mesh/net-keys.h mesh/net-keys.c \
mesh/mesh-io.h mesh/mesh-io.c \
mesh/mesh-mgmt.h mesh/mesh-mgmt.c \
mesh/error.h mesh/mesh-io-api.h \
mesh/mesh-io-unit.h mesh/mesh-io-unit.c \
mesh/mesh-io-mgmt.h mesh/mesh-io-mgmt.c \
mesh/mesh-io-generic.h mesh/mesh-io-generic.c \
mesh/net.h mesh/net.c \
mesh/crypto.h mesh/crypto.c \
mesh/friend.h mesh/friend.c \
mesh/appkey.h mesh/appkey.c \
mesh/node.h mesh/node.c \
mesh/provision.h mesh/prov.h \
mesh/model.h mesh/model.c \
mesh/cfgmod.h mesh/cfgmod-server.c \
mesh/remprv.h mesh/remprv-server.c \
mesh/mesh-config.h mesh/mesh-config-json.c \
mesh/util.h mesh/util.c \
mesh/dbus.h mesh/dbus.c \
mesh/agent.h mesh/agent.c \
mesh/prov-acceptor.c mesh/prov-initiator.c \
mesh/manager.h mesh/manager.c \
mesh/pb-adv.h mesh/pb-adv.c \
mesh/keyring.h mesh/keyring.c \
mesh/rpl.h mesh/rpl.c \
mesh/prv-beacon.h mesh/prvbeac-server.c \
mesh/mesh-defs.h
pkglibexec_PROGRAMS += mesh/bluetooth-meshd
mesh/mesh.$(OBJEXT): ell/internal
mesh/main.$(OBJEXT): src/builtin.h lib/bluetooth/bluetooth.h
mesh_bluetooth_meshd_SOURCES = $(mesh_sources) mesh/main.c
mesh_bluetooth_meshd_LDADD = src/libshared-ell.la $(ell_ldadd) -ljson-c
if MANPAGES
man_MANS += mesh/bluetooth-meshd.8
endif
manual_pages += mesh/bluetooth-meshd.8
endif
EXTRA_DIST += mesh/bluetooth-mesh.conf mesh/org.bluez.mesh.service mesh/mesh-main.conf