1 # SPDX-License-Identifier: GPL-2.0
5 dbus_DATA += mesh/bluetooth-mesh.conf
9 systemdsystemunit_DATA += mesh/bluetooth-mesh.service
10 dbussystembus_DATA += mesh/org.bluez.mesh.service
13 mesh_sources = mesh/mesh.h mesh/mesh.c \
14 mesh/net-keys.h mesh/net-keys.c \
15 mesh/mesh-io.h mesh/mesh-io.c \
16 mesh/mesh-mgmt.c mesh/mesh-mgmt.h \
17 mesh/error.h mesh/mesh-io-api.h \
18 mesh/mesh-io-generic.h \
19 mesh/mesh-io-generic.c \
22 mesh/net.h mesh/net.c \
23 mesh/crypto.h mesh/crypto.c \
24 mesh/friend.h mesh/friend.c \
25 mesh/appkey.h mesh/appkey.c \
26 mesh/node.h mesh/node.c \
27 mesh/provision.h mesh/prov.h \
28 mesh/model.h mesh/model.c \
29 mesh/cfgmod.h mesh/cfgmod-server.c \
30 mesh/mesh-config.h mesh/mesh-config-json.c \
31 mesh/util.h mesh/util.c \
32 mesh/dbus.h mesh/dbus.c \
33 mesh/agent.h mesh/agent.c \
34 mesh/prov-acceptor.c mesh/prov-initiator.c \
35 mesh/manager.h mesh/manager.c \
36 mesh/pb-adv.h mesh/pb-adv.c \
37 mesh/keyring.h mesh/keyring.c \
38 mesh/rpl.h mesh/rpl.c \
40 libexec_PROGRAMS += mesh/bluetooth-meshd
42 mesh/mesh.$(OBJEXT): ell/internal
43 mesh/main.$(OBJEXT): src/builtin.h lib/bluetooth/bluetooth.h
45 mesh_bluetooth_meshd_SOURCES = $(mesh_sources) mesh/main.c
46 mesh_bluetooth_meshd_LDADD = src/libshared-ell.la $(ell_ldadd) -ljson-c
47 mesh_bluetooth_meshd_DEPENDENCIES = $(ell_dependencies) src/libshared-ell.la \
48 mesh/bluetooth-mesh.service
51 man_MANS += mesh/bluetooth-meshd.8
53 manual_pages += mesh/bluetooth-meshd.8
55 EXTRA_DIST += mesh/bluetooth-mesh.conf mesh/bluetooth-mesh.service.in \
56 mesh/org.bluez.mesh.service mesh/mesh-main.conf
58 CLEANFILES += mesh/bluetooth-mesh.service