summaryrefslogtreecommitdiff
path: root/applets/notification_area/libstatus-notifier-watcher/Makefile.am
blob: eb06ce83c07ee406f00a3b9efb3d3514052c1c3f (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
NULL =

noinst_LTLIBRARIES = \
	libstatus-notifier-watcher.la \
	$(NULL)

AM_CPPFLAGS =							\
	$(NOTIFICATION_AREA_CFLAGS)				\
	-DG_LOG_DOMAIN=\"status-notifier-watcher\"		\
	$(DISABLE_DEPRECATED_CFLAGS)

AM_CFLAGS = $(WARN_CFLAGS)

libstatus_notifier_watcher_la_SOURCES = \
	gf-sn-watcher-v0.c \
	gf-sn-watcher-v0.h \
	gf-status-notifier-watcher.c \
	gf-status-notifier-watcher.h \
	$(BUILT_SOURCES) \
	$(NULL)

libstatus_notifier_watcher_la_LIBADD =	\
	$(NOTIFICATION_AREA_LIBS)	\
	$(NULL)

gf-sn-watcher-v0-gen.h:
gf-sn-watcher-v0-gen.c: org.kde.StatusNotifierWatcher.xml
	$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
		--generate-c-code gf-sn-watcher-v0-gen \
		$(srcdir)/org.kde.StatusNotifierWatcher.xml

BUILT_SOURCES = \
	gf-sn-watcher-v0-gen.c \
	gf-sn-watcher-v0-gen.h \
	$(NULL)

EXTRA_DIST = \
	org.kde.StatusNotifierWatcher.xml \
	$(NULL)

CLEANFILES = \
	$(BUILT_SOURCES) \
	$(NULL)

-include $(top_srcdir)/git.mk