mesh: Fix for file naming convention
[platform/upstream/bluez.git] / Makefile.mesh
1 if MESH
2
3 if DATAFILES
4 dbus_DATA += mesh/bluetooth-mesh.conf
5 endif
6
7 mesh_sources = mesh/mesh.h mesh/mesh.c \
8                                 mesh/net-keys.h mesh/net-keys.c \
9                                 mesh/mesh-io.h mesh/mesh-io.c \
10                                 mesh/error.h mesh/mesh-io-api.h \
11                                 mesh/mesh-io-generic.h \
12                                 mesh/mesh-io-generic.c \
13                                 mesh/storage.h mesh/storage.c \
14                                 mesh/net.h mesh/net.c \
15                                 mesh/crypto.h mesh/crypto.c \
16                                 mesh/friend.h mesh/friend.c \
17                                 mesh/appkey.h mesh/appkey.c \
18                                 mesh/node.h mesh/node.c \
19                                 mesh/provision.h mesh/prov.h \
20                                 mesh/model.h mesh/model.c \
21                                 mesh/cfgmod.h mesh/cfgmod-server.c \
22                                 mesh/mesh-db.h mesh/mesh-db.c \
23                                 mesh/util.h mesh/util.c \
24                                 mesh/dbus.h mesh/dbus.c \
25                                 mesh/agent.h mesh/agent.c \
26                                 mesh/prov-acceptor.c mesh/prov-initiator.c \
27                                 mesh/pb-adv.h mesh/pb-adv.c \
28                                 mesh/mesh-defs.h
29 libexec_PROGRAMS += mesh/bluetooth-meshd
30
31 mesh_meshd_SOURCES = $(mesh_sources) mesh/main.c
32
33 mesh_meshd_LDADD = src/shared/ecc.lo src/shared/queue.lo src/shared/io-ell.lo \
34                                 src/shared/util.lo src/shared/hci.lo src/shared/mgmt.lo \
35                                 @DBUS_LIBS@ @ELL_LIBS@ -ljson-c
36
37 mesh_bluetooth_meshd_SOURCES = $(mesh_sources) mesh/main.c
38 mesh_bluetooth_meshd_LDADD = src/libshared-ell.la $(ell_ldadd) -ljson-c
39 mesh_bluetooth_meshd_DEPENDENCIES = $(ell_dependencies) src/libshared-ell.la
40
41 EXTRA_DIST += mesh/bluetooth-mesh.conf
42 endif