summaryrefslogtreecommitdiffstats
path: root/src/daemon/Makefile.am
blob: 61aa50716a092a2ac7272cdd2460d34c4cc01d70 (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
51
52
53
54
55
56
57
58
# $Id: Makefile.am 2337 2007-01-11 19:17:30Z nick $

METASOURCES = AUTO

DBUS_GLIB_LIBS = -ldbus-glib-1

INCLUDES =									\
	-I$(top_srcdir)								\
	-DDBUS_API_SUBJECT_TO_CHANGE 						\
	-DG_LOG_DOMAIN=\"notification-daemon-tde\"				\
	$(DBUS_INCS)								\
	$(GLIB2_CFLAGS)								\
	$(GTK2_CFLAGS)								\
	$(QT_INCLUDES)								\
	$(KDE_INCLUDES)

bin_PROGRAMS =								\
	notification-daemon-tde

notification_daemon_tde_SOURCES =					\
	daemon.cpp							\
	daemon.h

notification_daemon_tde_CFLAGS =					\
	$(GTK_CFLAGS)							\
	$(DBUS_CFLAGS)							\
	$(DBUS_GLIB_CFLAGS)


notification_daemon_tde_LDADD =					\
	$(GTK2_LIBS)							\
	$(DBUS_LIBS)							\
	$(DBUS_GLIB_LIBS)						\
	$(GLIB2_LIBS)							\
	$(KDE_RPATH)							\
	$(KDE_LDFLAGS)							\
	$(LIB_QT)							\
	-lDCOP								\
	$(LIB_KDECORE)							\
	$(LIB_KDEUI)							\
	-lkdefx								\
	$(LIB_KIO)							\
	-lktexteditor

BUILT_SOURCES = 							\
	notificationdaemon-dbus-glue.h

notificationdaemon-dbus-glue.h: notificationdaemon.xml
	dbus-binding-tool						\
		--mode=glib-server					\
		--prefix=notification_daemon_tde			\
		$(srcdir)/notificationdaemon.xml > notificationdaemon-dbus-glue.h

EXTRA_DIST = 								\
	notificationdaemon.xml

DISTCLEANFILES = 							\
	notificationdaemon-dbus-glue.h