summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Makefile.am
blob: 498223c2770265755263cb79c70e3e1ead27395d (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
50
sbin_PROGRAMS = abrtd

# FIXME: we still link against dbus-c++ (not just dbus)
# because lib/CommLayer links it in

abrtd_SOURCES = \
    ABRTPlugin.cpp ABRTPlugin.h \
    PluginManager.cpp PluginManager.h \
    RPM.cpp RPM.h \
    MiddleWare.cpp MiddleWare.h \
    CrashWatcher.cpp CrashWatcher.h \
    CommLayerServer.h CommLayerServer.cpp \
    CommLayerServerSocket.h CommLayerServerSocket.cpp \
    CommLayerServerDBus.h CommLayerServerDBus.cpp \
    Daemon.cpp Daemon.h \
    Settings.h Settings.cpp \
    Polkit.h Polkit.cpp
abrtd_CPPFLAGS = \
    -I$(srcdir)/../../inc \
    -I$(srcdir)/../../lib/MiddleWare \
    -I$(srcdir)/../../lib/CommLayer \
    -I$(srcdir)/../../lib/Utils \
    -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) \
    $(ENABLE_SOCKET_OR_DBUS) $(POLKIT_CFLAGS)
abrtd_LDADD = \
    ../../lib/MiddleWare/libABRTMiddleWare.la \
    ../../lib/CommLayer/libABRTCommLayer.la \
    $(DL_LIBS) $(DBUS_LIBS) $(RPM_LIBS) $(POLKIT_LIBS)

dbusabrtconfdir = ${sysconfdir}/dbus-1/system.d/
dist_dbusabrtconf_DATA = dbus-abrt.conf

daemonconfdir = $(CONF_DIR)
dist_daemonconf_DATA = abrt.conf

polkitconfdir = ${datadir}/polkit-1/actions
dist_polkitconf_DATA = org.fedoraproject.abrt.policy

man_MANS = abrt.8 abrt.conf.5
EXTRA_DIST = $(man_MANS)

DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@

install-data-local:
	$(mkdir_p) '$(DESTDIR)/$(VAR_RUN)'