From 56e303ac26d4f8678e5ae7929020e23dfba79258 Mon Sep 17 00:00:00 2001 From: Inga Stotland Date: Sat, 14 Jul 2018 12:59:03 -0700 Subject: [PATCH] Makefile for meshd Tizen Change: Currently mesh daemon build is disabled Change-Id: I85bc5d9c11e39115024b0bb498aafb462d912e73 Signed-off-by: Anupam Roy --- Makefile.am | 1 + Makefile.mesh | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 Makefile.mesh diff --git a/Makefile.am b/Makefile.am index 045309b..7bfb8a6 100755 --- a/Makefile.am +++ b/Makefile.am @@ -301,6 +301,7 @@ unit_tests = include Makefile.tools include Makefile.obexd include android/Makefile.am +#include Makefile.mesh if HID2HCI rulesdir = @UDEV_DIR@/rules.d diff --git a/Makefile.mesh b/Makefile.mesh new file mode 100644 index 0000000..643b1a5 --- /dev/null +++ b/Makefile.mesh @@ -0,0 +1,41 @@ +if MESH +mesh_sources = mesh/mesh.h mesh/mesh.c \ + mesh/mesh-io.h mesh/mesh-io.c \ + mesh/mesh-io-api.h \ + mesh/mesh-io-generic.h \ + mesh/mesh-io-generic.c \ + mesh/storage.h mesh/storage.c \ + mesh/net.h mesh/net.c \ + mesh/display.h mesh/display.c \ + mesh/crypto.h mesh/crypto.c \ + mesh/friend.h mesh/friend.c \ + mesh/appkey.c \ + mesh/node.h mesh/node.c \ + mesh/prov.h mesh/prov.c \ + mesh/provision.h mesh/provision.c \ + mesh/model.h mesh/model.c \ + mesh/cfgmod.h mesh/cfgmod-server.c \ + mesh/mesh-db.h mesh/mesh-db.c \ + mesh/util.h mesh/util.c \ + mesh/mesh-defs.h +libexec_PROGRAMS += mesh/meshd + +mesh_meshd_SOURCES = $(mesh_sources) mesh/main.c + +mesh_meshd_LDADD = src/shared/ecc.lo src/shared/queue.lo src/shared/io-ell.lo \ + src/shared/util.lo src/shared/hci.lo \ + @DBUS_LIBS@ @ELL_LIBS@ -ljson-c + +noinst_PROGRAMS += mesh/btmesh + +mesh_btmesh_SOURCES = $(mesh_sources) \ + mesh/agent.h \ + mesh/agent.c \ + mesh/btmesh.c + +mesh_btmesh_LDADD = src/shared/ecc.lo src/shared/queue.lo src/shared/io-ell.lo \ + src/shared/util.lo src/shared/hci.lo \ + src/libshared-mainloop.la \ + -lreadline @ELL_LIBS@ -ljson-c + +endif -- 2.7.4