aboutsummaryrefslogtreecommitdiff
path: root/common/Makefile.am
blob: 0b8bad4e79f036e95209d10ee10539e6445d7317 (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

noinst_LTLIBRARIES = libmessaging-common.la

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

indicator-messages-application.c: com.canonical.indicator.messages.application.xml
	$(AM_V_GEN) gdbus-codegen \
	    --interface-prefix com.canonical.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)