aboutsummaryrefslogtreecommitdiff
path: root/common/Makefile.am
blob: d1be19851d82ff17688e6dbf1462b86c607ff850 (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
noinst_LTLIBRARIES = libmessaging-common.la

indicator-messages-service.c: org.ayatana.indicator.messages.service.xml
	$(AM_V_GEN) gdbus-codegen \
	    --interface-prefix org.ayatana.indicator.messages. \
	    --generate-c-code indicator-messages-service \
	    --c-namespace IndicatorMessages \
	    $^
indicator-messages-service.h: indicator-messages-service.c

indicator-messages-application.c: org.ayatana.indicator.messages.application.xml
	$(AM_V_GEN) gdbus-codegen \
	    --interface-prefix org.ayatana.indicator.messages. \
	    --generate-c-code indicator-messages-application \
	    --c-namespace IndicatorMessages \
	    $^
indicator-messages-application.h: indicator-messages-application.c

BUILT_SOURCES = \
	indicator-messages-service.c \
	indicator-messages-service.h \
	indicator-messages-application.c \
	indicator-messages-application.h

libmessaging_common_la_SOURCES = \
	$(BUILT_SOURCES)

libmessaging_common_la_CFLAGS = $(GIO_CFLAGS)
libmessaging_common_la_LIBADD = $(GIO_LIBS)

CLEANFILES = $(BUILT_SOURCES)