diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-25 18:16:21 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-25 18:16:21 +0100 |
commit | 257b6d0bfdaef3f143dc8249677a56586031e604 (patch) | |
tree | adb6c1401764d26fdf9718b7f497827e9b49bcbe /lib/Utils/Makefile.am | |
parent | c885d01dd06b0119ab0f784e64e72ce3f94d6882 (diff) | |
download | abrt-257b6d0bfdaef3f143dc8249677a56586031e604.tar.gz abrt-257b6d0bfdaef3f143dc8249677a56586031e604.tar.xz abrt-257b6d0bfdaef3f143dc8249677a56586031e604.zip |
split libABRTdUtils from libABRTUtils. This makes hooks _much_ smaller.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils/Makefile.am')
-rw-r--r-- | lib/Utils/Makefile.am | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/lib/Utils/Makefile.am b/lib/Utils/Makefile.am index eae41483..f0b44810 100644 --- a/lib/Utils/Makefile.am +++ b/lib/Utils/Makefile.am @@ -1,4 +1,6 @@ -lib_LTLIBRARIES = libABRTUtils.la +# ABRTUtils has small set of deps. This reduces deps of smaller abrt binaries +# ABRTdUtils has more. It is used by daemon and plugins only +lib_LTLIBRARIES = libABRTUtils.la libABRTdUtils.la # Not used just yet: # time.cpp @@ -14,8 +16,25 @@ libABRTUtils_la_SOURCES = \ copyfd.cpp \ skip_whitespace.cpp \ popen_and_save_output.cpp \ + DebugDump.h DebugDump.cpp +libABRTUtils_la_CPPFLAGS = \ + -Wall -Werror \ + -I$(srcdir)/../../inc \ + -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ + -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \ + -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \ + -DCONF_DIR=\"$(CONF_DIR)\" \ + -DVAR_RUN=\"$(VAR_RUN)\" \ + $(GLIB_CFLAGS) \ + -D_GNU_SOURCE +libABRTUtils_la_LDFLAGS = \ + -version-info 0:1:0 \ + $(DL_LIBS) \ +libABRTUtils_la_LIBADD = + + +libABRTdUtils_la_SOURCES = \ parse_release.cpp \ - DebugDump.h DebugDump.cpp \ CommLayerInner.h CommLayerInner.cpp \ abrt_dbus.h abrt_dbus.cpp \ abrt_xmlrpc.h abrt_xmlrpc.cpp \ @@ -24,7 +43,7 @@ libABRTUtils_la_SOURCES = \ Action.h Database.h Reporter.h Analyzer.h \ Observer.h \ DBusCommon.h -libABRTUtils_la_CPPFLAGS = \ +libABRTdUtils_la_CPPFLAGS = \ -Wall -Werror \ -I$(srcdir)/../../inc \ -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ @@ -37,11 +56,11 @@ libABRTUtils_la_CPPFLAGS = \ $(XMLRPC_CFLAGS) $(XMLRPC_CLIENT_CFLAGS) \ $(POLKIT_CFLAGS) \ -D_GNU_SOURCE -libABRTUtils_la_LDFLAGS = \ +libABRTdUtils_la_LDFLAGS = \ -version-info 0:1:0 \ $(DL_LIBS) \ $(DBUS_LIBS) -libABRTUtils_la_LIBADD = \ +libABRTdUtils_la_LIBADD = \ $(XMLRPC_LIBS) $(XMLRPC_CLIENT_LIBS) \ $(POLKIT_LIBS) |