summaryrefslogtreecommitdiff
path: root/src/daemon/Makefile.am
blob: db1f6be2dd49597ec5b8d8a5a625b6d5321338c1 (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
libexec_PROGRAMS = mate-notification-daemon

mate_notification_daemon_SOURCES = \
	$(mate_notification_daemon_built_sources) \
	daemon.c \
	daemon.h \
	engines.c \
	engines.h \
	stack.c \
	stack.h \
	sound.c \
	sound.h \
	mnd-daemon.c

mate_notification_daemon_LDADD = $(NOTIFICATION_DAEMON_LIBS)

mate_notification_daemon_built_sources =	\
	mnd-dbus-generated.h	\
	mnd-dbus-generated.c	\
	$(NULL)

$(mate_notification_daemon_built_sources) : Makefile.am $(srcdir)/notificationdaemon.xml
	$(AM_V_GEN) gdbus-codegen \
		--interface-prefix org.freedesktop. \
		--c-namespace NotifyDaemon \
		--generate-c-code mnd-dbus-generated \
		$(srcdir)/notificationdaemon.xml

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	$(NOTIFICATION_DAEMON_CFLAGS) \
	-DENGINES_DIR=\"$(libdir)/mate-notification-daemon/engines\"

EXTRA_DIST = notificationdaemon.xml
DISTCLEANFILES = \
	$(mate_notification_daemon_built_sources)

-include $(top_srcdir)/git.mk