From: Inga Stotland <inga.stotland@xxxxxxxxx> --- Makefile.am | 1 + Makefile.mesh | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 Makefile.mesh diff --git a/Makefile.am b/Makefile.am index 2c9490f5f..0ccf393c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -235,6 +235,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 000000000..29dec6a28 --- /dev/null +++ b/Makefile.mesh @@ -0,0 +1,38 @@ +if MESH +mesh_sources = mesh/mesh.h mesh/mesh.c \ + mesh/mesh-io.h mesh/mesh-io.c \ + mesh/mesh-io-api.h mesh/bt.h \ + mesh/mesh-io-generic.h \ + mesh/mesh-io-generic.c \ + mesh/hci.h mesh/hci.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/appkeys.h 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 @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/libshared-mainloop.la \ + -lreadline @ELL_LIBS@ -ljson-c + +endif -- 2.14.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html