aboutsummaryrefslogtreecommitdiff
path: root/libmessaging-menu/Makefile.am
blob: a0da51e9680d971877e27c0973ba7f7584e576b1 (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

lib_LTLIBRARIES = libmessaging-menu.la

libmessaging_menu_ladir = $(includedir)/messaging-menu

libmessaging_menu_la_SOURCES = \
	messaging-menu.c \
	$(BUILT_SOURCES)

libmessaging_menu_la_HEADERS = \
	messaging-menu.h

libmessaging_menu_la_LIBADD = $(GIO_LIBS)

libmessaging_menu_la_CFLAGS = \
	$(GIO_CFLAGS) \
	-Wall

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

CLEANFILES = $(BUILT_SOURCES)

indicator-messages-service.c: $(top_srcdir)/src/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

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = messaging-menu.pc