File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
libexec_PROGRAMS = mate-notification-daemon
2
2
3
3
mate_notification_daemon_SOURCES = \
4
+ $(mate_notification_daemon_built_sources ) \
4
5
daemon.c \
5
6
daemon.h \
6
7
engines.c \
7
8
engines.h \
8
9
stack.c \
9
10
stack.h \
10
11
sound.c \
11
- sound.h
12
+ sound.h \
13
+ mnd-daemon.c
12
14
13
15
mate_notification_daemon_LDADD = $(NOTIFICATION_DAEMON_LIBS )
14
16
15
- BUILT_SOURCES = notificationdaemon-dbus-glue.h
17
+ mate_notification_daemon_built_sources = \
18
+ mnd-dbus-generated.h \
19
+ mnd-dbus-generated.c \
20
+ $(NULL )
16
21
17
- notificationdaemon-dbus-glue.h : notificationdaemon.xml
18
- dbus-binding-tool --mode=glib-server --prefix=notification_daemon \
19
- $(srcdir ) /notificationdaemon.xml > notificationdaemon-dbus-glue.h
22
+ $(mate_notification_daemon_built_sources ) : Makefile.am $(srcdir ) /notificationdaemon.xml
23
+ $(AM_V_GEN ) gdbus-codegen \
24
+ --interface-prefix org.freedesktop. \
25
+ --c-namespace NotifyDaemon \
26
+ --generate-c-code mnd-dbus-generated \
27
+ $(srcdir ) /notificationdaemon.xml
20
28
21
29
AM_CPPFLAGS = \
22
30
-I$(top_srcdir ) \
@@ -25,6 +33,6 @@ AM_CPPFLAGS = \
25
33
26
34
EXTRA_DIST = notificationdaemon.xml
27
35
DISTCLEANFILES = \
28
- notificationdaemon-dbus-glue.h
36
+ $( mate_notification_daemon_built_sources )
29
37
30
38
-include $(top_srcdir ) /git.mk
You can’t perform that action at this time.
0 commit comments