From 42657326fdf8db194013094537d9386830fe5876 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 1 Apr 2009 09:36:46 +0200 Subject: Added commlayer to make dbus optional --- lib/CommLayer/Makefile.am | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lib/CommLayer/Makefile.am (limited to 'lib/CommLayer/Makefile.am') diff --git a/lib/CommLayer/Makefile.am b/lib/CommLayer/Makefile.am new file mode 100644 index 0000000..f9635b5 --- /dev/null +++ b/lib/CommLayer/Makefile.am @@ -0,0 +1,23 @@ +lib_LTLIBRARIES = libABRTCommLayer.la +libABRTCommLayer_la_SOURCES = CommLayerServer.h CommLayerServer.cpp \ + CommLayerServerSocket.h CommLayerServerSocket.cpp \ + CommLayerServerDBus.h CommLayerServerDBus.cpp \ + DBusServerProxy.h Observer.h DBusCommon.h + +libABRTCommLayer_la_LIBADD = ../../lib/MiddleWare/libMiddleWare.la $(DL_LIBS) $(DBUSCPP_LIBS) +libABRTCommLayer_la_LDFLAGS = -version-info 0:1:0 +libABRTCommLayer_la_CPPFLAGS = -Wall -Werror -I../../lib/MiddleWare\ + -I../../lib/DBus \ + -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" $(GLIB_CFLAGS) $(DBUSCPP_CFLAGS) \ + -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \ + -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \ + -DCONF_DIR=\"$(CONF_DIR)\" + +#check_PROGRAMS = test +#test_SOURCES = test.cpp +#test_LDADD = ../Utils/libUtils.la libABRTCommLayer.la $(DL_LIBS) $(RPM_LIBS) +#test_CPPFLAGS = -I$(srcdir)/../Utils \ +# -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \ +# -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \ +# -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ +# -DCONF_DIR=\"$(CONF_DIR)\" -- cgit