summaryrefslogtreecommitdiffstats
path: root/lib/utils/Makefile.am
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2010-08-10 10:21:25 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2010-08-10 10:21:56 +0200
commit83a6ce9ad4b1828e163dc7172ef603201b748473 (patch)
tree9d0580eba6c01cb5964655df42bafab9de91329b /lib/utils/Makefile.am
parente84ab7783d05eb7b5f1b55ab44e7c23c85e50516 (diff)
downloadabrt-83a6ce9ad4b1828e163dc7172ef603201b748473.tar.gz
abrt-83a6ce9ad4b1828e163dc7172ef603201b748473.tar.xz
abrt-83a6ce9ad4b1828e163dc7172ef603201b748473.zip
lower case direcotry(no code changed)
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'lib/utils/Makefile.am')
-rw-r--r--lib/utils/Makefile.am86
1 files changed, 86 insertions, 0 deletions
diff --git a/lib/utils/Makefile.am b/lib/utils/Makefile.am
new file mode 100644
index 00000000..04211a7c
--- /dev/null
+++ b/lib/utils/Makefile.am
@@ -0,0 +1,86 @@
+# 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
+lib_LTLIBRARIES = libABRTUtils.la libABRTdUtils.la
+HEADER_DIR = $(srcdir)/../../inc
+AM_CPPFLAGS = -I$(HEADER_DIR)
+AM_YFLAGS = --verbose
+
+# Not used just yet:
+# time.cpp
+# xconnect.cpp
+
+libABRTUtils_la_SOURCES = \
+ xfuncs.c \
+ encbase64.cpp \
+ read_write.c read_write.h \
+ logging.c logging.h \
+ copyfd.cpp \
+ daemon.cpp \
+ skip_whitespace.cpp \
+ xatonum.cpp numtoa.cpp \
+ spawn.cpp \
+ stringops.cpp \
+ dirsize.cpp \
+ DebugDump.cpp \
+ abrt_dbus.h abrt_dbus.cpp \
+ CrashTypes.cpp \
+ ABRTException.cpp \
+ backtrace.h backtrace.c \
+ backtrace_parser.y \
+ strbuf.h strbuf.c \
+ abrt_packages.c abrt_packages.h \
+ hooklib.h hooklib.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) \
+ $(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)/abrt_xmlrpc.h abrt_xmlrpc.cpp \
+ abrt_rh_support.h abrt_rh_support.cpp \
+ abrt_curl.h abrt_curl.cpp \
+ $(HEADER_DIR)/plugin.h Plugin.cpp \
+ Polkit.h Polkit.cpp
+
+libABRTdUtils_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)\" \
+ $(XMLRPC_CFLAGS) $(XMLRPC_CLIENT_CFLAGS) \
+ $(POLKIT_CFLAGS) \
+ $(LIBXML_CFLAGS) \
+ -D_GNU_SOURCE
+libABRTdUtils_la_LDFLAGS = \
+ -version-info 0:1:0
+libABRTdUtils_la_LIBADD = \
+ $(XMLRPC_LIBS) $(XMLRPC_CLIENT_LIBS) \
+ $(POLKIT_LIBS) \
+ $(LIBXML_LIBS) \
+ -ldl
+
+$(DESTDIR)/$(DEBUG_DUMPS_DIR):
+ $(mkdir_p) '$@'
+# no need to chmod it here
+#chmod 1777 '$@'
+install-data-local: $(DESTDIR)/$(DEBUG_DUMPS_DIR)