summaryrefslogtreecommitdiffstats
path: root/lib/Utils/Makefile.am
blob: 1b141bd7cbb9cf1a160bf56352875888bcfecaa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
lib_LTLIBRARIES = libABRTUtils.la

# Not used just yet:
# time.cpp
# xconnect.cpp

libABRTUtils_la_SOURCES = \
    xfuncs.cpp \
    encbase64.cpp \
    read_write.cpp \
    logging.cpp \
    copyfd.cpp \
    skip_whitespace.cpp \
    parse_release.cpp \
    CrashTypesSocket.cpp \
    DebugDump.h DebugDump.cpp \
    CommLayerInner.h CommLayerInner.cpp \
    abrt_dbus.h abrt_dbus.cpp \
    abrt_xmlrpc.h abrt_xmlrpc.cpp \
    Plugin.h Plugin.cpp make_descr.cpp \
    Polkit.h Polkit.cpp \
    Action.h Database.h Reporter.h Analyzer.h \
    Observer.h \
    DBusCommon.h
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) \
    $(XMLRPC_CFLAGS) $(XMLRPC_CLIENT_CFLAGS) \
    $(POLKIT_CFLAGS) \
    -D_GNU_SOURCE
libABRTUtils_la_LDFLAGS = \
    -version-info 0:1:0 \
    $(DL_LIBS) \
    $(DBUS_LIBS)
libABRTUtils_la_LIBADD = \
    $(XMLRPC_LIBS) $(XMLRPC_CLIENT_LIBS) \
    $(POLKIT_LIBS)


install-data-local:
	$(mkdir_p) '$(DESTDIR)/$(DEBUG_DUMPS_DIR)'
	chmod 1777 '$(DESTDIR)/$(DEBUG_DUMPS_DIR)'