diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-11-15 15:29:24 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-11-15 15:29:24 +0100 |
commit | 2cf0d770b66b6c6ce50af2767f575db552cd784c (patch) | |
tree | 56ba70257c94add690ddaa8b0ec961c6964a146e /src/lib/Makefile.am | |
parent | 2169959c6ba2d77512b8b39366a4d3e476931b4a (diff) | |
download | abrt-2cf0d770b66b6c6ce50af2767f575db552cd784c.tar.gz abrt-2cf0d770b66b6c6ce50af2767f575db552cd784c.tar.xz abrt-2cf0d770b66b6c6ce50af2767f575db552cd784c.zip |
move inc/ and lib/ to src/. No code changes
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/lib/Makefile.am')
-rw-r--r-- | src/lib/Makefile.am | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am new file mode 100644 index 00000000..153af2d0 --- /dev/null +++ b/src/lib/Makefile.am @@ -0,0 +1,109 @@ +# ABRTUtils has small set of deps. This reduces deps of smaller abrt binaries +# ABRTdUtils has much more. It is used by daemon and plugins only +# ABRT_web_utils is used only by some abrt-action-foo programs, not by daemon +lib_LTLIBRARIES = \ + libABRTUtils.la \ + libABRTdUtils.la \ + libABRT_web_utils.la +HEADER_DIR = $(srcdir)/../include +AM_CPPFLAGS = -I$(HEADER_DIR) + +# Not used just yet: +# time.cpp +# xconnect.cpp + +libABRTUtils_la_SOURCES = \ + xfuncs.c \ + concat_path_file.c \ + append_to_malloced_string.c \ + overlapping_strcpy.c \ + encbase64.c \ + stdio_helpers.c \ + hash_md5.c hash_md5.h \ + hash_sha1.c hash_sha1.h \ + read_write.c read_write.h \ + logging.c logging.h \ + copyfd.c \ + daemon.c \ + skip_whitespace.c \ + xatonum.c numtoa.cpp \ + spawn.c \ + stringops.cpp \ + dirsize.c \ + dump_dir.c \ + strbuf.c strbuf.h \ + abrt_dbus.c abrt_dbus.h \ + CrashTypes.cpp \ + ABRTException.cpp \ + run_event.c \ + abrt_packages.c abrt_packages.h \ + hooklib.c hooklib.h \ + database.c \ + parse_options.c parse_options.h +libABRTUtils_la_CPPFLAGS = \ + -Wall -Werror \ + -I$(srcdir)/../include \ + -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) \ + $(DBUS_CFLAGS) \ + -D_GNU_SOURCE +libABRTUtils_la_LDFLAGS = \ + -version-info 0:1:0 +libABRTUtils_la_LIBADD = \ + $(GLIB_LIBS) \ + $(DBUS_LIBS) \ + -ldl + +libABRTdUtils_la_SOURCES = \ + parse_release.cpp \ + make_descr.cpp \ + $(HEADER_DIR)/comm_layer_inner.h CommLayerInner.cpp \ + $(HEADER_DIR)/plugin.h Plugin.cpp \ + Polkit.h Polkit.cpp +libABRTdUtils_la_CPPFLAGS = \ + -Wall -Werror \ + -I$(srcdir)/../include \ + -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)\" \ + $(POLKIT_CFLAGS) \ + -D_GNU_SOURCE +libABRTdUtils_la_LDFLAGS = \ + -version-info 0:1:0 +libABRTdUtils_la_LIBADD = \ + $(POLKIT_LIBS) \ + -ldl + +libABRT_web_utils_la_SOURCES = \ + abrt_curl.h abrt_curl.c \ + abrt_xmlrpc.h abrt_xmlrpc.cpp +libABRT_web_utils_la_CPPFLAGS = \ + -Wall -Werror \ + -I$(srcdir)/../include \ + -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)\" \ + $(CURL_CFLAGS) \ + $(LIBXML_CFLAGS) \ + $(XMLRPC_CFLAGS) $(XMLRPC_CLIENT_CFLAGS) \ + -D_GNU_SOURCE +libABRT_web_utils_la_LDFLAGS = \ + -version-info 0:1:0 +libABRT_web_utils_la_LIBADD = \ + $(CURL_LIBS) \ + $(LIBXML_LIBS) \ + $(XMLRPC_LIBS) $(XMLRPC_CLIENT_LIBS) + +$(DESTDIR)/$(DEBUG_DUMPS_DIR): + $(mkdir_p) '$@' +# no need to chmod it here +#chmod 1777 '$@' +install-data-local: $(DESTDIR)/$(DEBUG_DUMPS_DIR) |