From 06f646aec4dbce64d28bae1be6111bd833f8e79e Mon Sep 17 00:00:00 2001 From: Paul Nettle Date: Fri, 25 Aug 2017 09:30:39 -0500 Subject: Initial version 1.0 --- src/Makefile.am | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/Makefile.am (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..9a8aea4 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,48 @@ +# Build a static library (libggk.a) +noinst_LIBRARIES = libggk.a +libggk_a_CXXFLAGS = -fPIC -Wall -Wextra -std=c++11 $(GLIB_CFLAGS) $(GIO_CFLAGS) $(GOBJECT_CFLAGS) +libggk_a_SOURCES = DBusInterface.cpp \ + DBusInterface.h \ + DBusMethod.cpp \ + DBusMethod.h \ + DBusObject.cpp \ + DBusObject.h \ + DBusObjectPath.h \ + GattCharacteristic.cpp \ + GattCharacteristic.h \ + GattDescriptor.cpp \ + GattDescriptor.h \ + GattInterface.cpp \ + GattInterface.h \ + GattProperty.cpp \ + GattProperty.h \ + GattService.cpp \ + GattService.h \ + GattUuid.h \ + Globals.h \ + Gobbledegook.cpp \ + ../include/Gobbledegook.h \ + HciAdapter.cpp \ + HciAdapter.h \ + HciSocket.cpp \ + HciSocket.h \ + Init.cpp \ + Init.h \ + Logger.cpp \ + Logger.h \ + Mgmt.cpp \ + Mgmt.h \ + Server.cpp \ + Server.h \ + ServerUtils.cpp \ + ServerUtils.h \ + standalone.cpp \ + TickEvent.h \ + Utils.cpp \ + Utils.h +# Build our standalone server (linking statically with libggk.a, linking dynamically with GLib) +standalone_CXXFLAGS = -fPIC -Wall -Wextra -std=c++11 +noinst_PROGRAMS = standalone +standalone_SOURCES = standalone.cpp +standalone_LDADD = libggk.a +standalone_LDLIBS = $(GLIB_LIBS) $(GIO_LIBS) $(GOBJECT_LIBS) -- cgit v1.2.3