summaryrefslogtreecommitdiffstats
path: root/lib/Utils/Makefile.am
blob: cef82d9dc09cd2f7c87cf059381ddc946b50f6e2 (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
lib_LTLIBRARIES = libABRTUtils.la

libABRTUtils_la_SOURCES = \
    xfuncs.cpp \
    read_write.cpp \
    logging.cpp \
    copyfd.cpp \
    CrashTypesSocket.cpp \
    DebugDump.h DebugDump.cpp \
    DBusClientProxy.h DBusClientProxy.cpp \
    CommLayerInner.h CommLayerInner.cpp \
    abrt_dbus.h abrt_dbus.cpp \
    Plugin.h Plugin.cpp \
    Polkit.h Polkit.cpp \
    Action.h Database.h Reporter.h Analyzer.h \
    Observer.h \
    DBusCommon.h
libABRTUtils_la_LDFLAGS = \
    -version-info 0:1:0 \
    $(DL_LIBS) \
    $(RPM_LIBS) \
    $(DBUSCPP_LIBS)
libABRTUtils_la_LIBADD = \
    -lmagic \
    $(POLKIT_LIBS)
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)\" \
    $(RPM_CFLAGS) \
    $(GLIB_CFLAGS) \
    $(DBUSCPP_CFLAGS) \
    $(POLKIT_CFLAGS) \
    -D_GNU_SOURCE

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