2020-09-22 03:00:38 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2018-07-15 03:59:03 +08:00
|
|
|
if MESH
|
2018-12-04 23:59:01 +08:00
|
|
|
|
2019-01-19 11:58:37 +08:00
|
|
|
if DATAFILES
|
|
|
|
dbus_DATA += mesh/bluetooth-mesh.conf
|
2024-02-13 04:02:44 +08:00
|
|
|
conf_DATA += mesh/mesh-main.conf
|
2019-01-19 11:58:37 +08:00
|
|
|
endif
|
|
|
|
|
2019-06-04 14:07:47 +08:00
|
|
|
if SYSTEMD
|
|
|
|
systemdsystemunit_DATA += mesh/bluetooth-mesh.service
|
|
|
|
dbussystembus_DATA += mesh/org.bluez.mesh.service
|
|
|
|
endif
|
|
|
|
|
2018-07-15 03:59:03 +08:00
|
|
|
mesh_sources = mesh/mesh.h mesh/mesh.c \
|
2019-02-21 07:21:42 +08:00
|
|
|
mesh/net-keys.h mesh/net-keys.c \
|
2018-07-15 03:59:03 +08:00
|
|
|
mesh/mesh-io.h mesh/mesh-io.c \
|
2022-09-23 06:31:02 +08:00
|
|
|
mesh/mesh-mgmt.h mesh/mesh-mgmt.c \
|
2018-12-15 05:46:45 +08:00
|
|
|
mesh/error.h mesh/mesh-io-api.h \
|
2022-09-23 06:31:02 +08:00
|
|
|
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 \
|
2018-07-15 03:59:03 +08:00
|
|
|
mesh/net.h mesh/net.c \
|
|
|
|
mesh/crypto.h mesh/crypto.c \
|
|
|
|
mesh/friend.h mesh/friend.c \
|
2018-12-04 04:18:23 +08:00
|
|
|
mesh/appkey.h mesh/appkey.c \
|
2018-07-15 03:59:03 +08:00
|
|
|
mesh/node.h mesh/node.c \
|
2018-12-15 05:46:45 +08:00
|
|
|
mesh/provision.h mesh/prov.h \
|
2018-07-15 03:59:03 +08:00
|
|
|
mesh/model.h mesh/model.c \
|
|
|
|
mesh/cfgmod.h mesh/cfgmod-server.c \
|
2022-10-26 05:33:48 +08:00
|
|
|
mesh/remprv.h mesh/remprv-server.c \
|
2019-07-15 07:23:12 +08:00
|
|
|
mesh/mesh-config.h mesh/mesh-config-json.c \
|
2018-07-15 03:59:03 +08:00
|
|
|
mesh/util.h mesh/util.c \
|
2018-12-15 05:46:45 +08:00
|
|
|
mesh/dbus.h mesh/dbus.c \
|
|
|
|
mesh/agent.h mesh/agent.c \
|
|
|
|
mesh/prov-acceptor.c mesh/prov-initiator.c \
|
2019-05-15 06:54:07 +08:00
|
|
|
mesh/manager.h mesh/manager.c \
|
2018-12-15 05:46:45 +08:00
|
|
|
mesh/pb-adv.h mesh/pb-adv.c \
|
2019-05-10 05:33:21 +08:00
|
|
|
mesh/keyring.h mesh/keyring.c \
|
2020-01-31 02:59:23 +08:00
|
|
|
mesh/rpl.h mesh/rpl.c \
|
2020-10-09 01:32:36 +08:00
|
|
|
mesh/prv-beacon.h mesh/prvbeac-server.c \
|
2024-09-17 11:17:45 +08:00
|
|
|
mesh/mesh-defs.h
|
2019-04-12 22:07:41 +08:00
|
|
|
pkglibexec_PROGRAMS += mesh/bluetooth-meshd
|
2018-07-15 03:59:03 +08:00
|
|
|
|
2019-06-12 23:09:50 +08:00
|
|
|
mesh/mesh.$(OBJEXT): ell/internal
|
|
|
|
mesh/main.$(OBJEXT): src/builtin.h lib/bluetooth/bluetooth.h
|
|
|
|
|
2019-01-19 11:58:36 +08:00
|
|
|
mesh_bluetooth_meshd_SOURCES = $(mesh_sources) mesh/main.c
|
|
|
|
mesh_bluetooth_meshd_LDADD = src/libshared-ell.la $(ell_ldadd) -ljson-c
|
2019-06-04 14:07:47 +08:00
|
|
|
|
2021-05-17 13:23:57 +08:00
|
|
|
if MANPAGES
|
|
|
|
man_MANS += mesh/bluetooth-meshd.8
|
|
|
|
endif
|
|
|
|
manual_pages += mesh/bluetooth-meshd.8
|
|
|
|
|
2018-07-15 03:59:03 +08:00
|
|
|
endif
|
2019-09-20 01:30:45 +08:00
|
|
|
|
2024-01-25 00:20:09 +08:00
|
|
|
EXTRA_DIST += mesh/bluetooth-mesh.conf mesh/org.bluez.mesh.service mesh/mesh-main.conf
|