aboutsummaryrefslogtreecommitdiff
path: root/libindicate/Makefile.am
blob: eec96fce543bd4fc14b37562cc9eebb0aa2c4071 (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

INCLUDES= \
	-DG_LOG_DOMAIN=\"libindicate\"

EXTRA_DIST = \
	indicate-server.xml

BUILT_SOURCES = \
	dbus-indicate-server.h

lib_LTLIBRARIES = \
	libindicate.la

libindicateincludedir=$(includedir)/libindicate-1.0/libindicate

indicate_headers = \
	indicator.h \
	server.h

libindicateinclude_HEADERS = \
	$(indicate_headers)

libindicate_la_SOURCES = \
	$(indicate_headers) \
	dbus-indicate-server.h \
	server.c \
	indicator.c

libindicate_la_LDFLAGS = \
	-no-undefined \
	-export-symbols-regex "^[^_].*"

libindicate_la_CFLAGS = \
	$(LIBINDICATE_CFLAGS)

libindicate_la_LIBADD = \
	$(LIBINDICATE_LIBS)

dbus-indicate-server.h: indicate-server.xml
	libtool --mode=execute dbus-binding-tool \
		--prefix=indicate_server \
		--mode=glib-server \
		--output=dbus-indicate-server.h \
		$(srcdir)/indicate-server.xml