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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
demodir = $(libexecdir)/geoclue-2.0/demos
if BUILD_LIBGEOCLUE
demo_PROGRAMS = where-am-i
else
demo_PROGRAMS =
endif
where_am_i_SOURCES = where-am-i.c
where_am_i_CFLAGS = $(GEOCLUE_CFLAGS) \
$(WARN_CFLAGS) \
-DLOCALEDIR="\"$(datadir)/locale\"" \
-I$(top_srcdir)/libgeoclue \
-I$(top_builddir)/libgeoclue \
-I$(top_srcdir)/public-api \
-I$(top_builddir)/public-api
where_am_i_LDADD = $(GEOCLUE_LIBS) \
../libgeoclue/libgeoclue-2.la
appsdir = $(datadir)/applications
apps_DATA = geoclue-where-am-i.desktop
if BUILD_DEMO_AGENT
apps_DATA += geoclue-demo-agent.desktop
autostartdir = $(sysconfdir)/xdg/autostart
autostart_DATA = geoclue-demo-agent.desktop
endif
@INTLTOOL_DESKTOP_RULE@
geoclue-where-am-i.desktop.in: geoclue-where-am-i.desktop.in.in
$(AM_V_GEN) sed -e "s|[@]libexecdir@|$(libexecdir)|g" $< > $@
geoclue-demo-agent.desktop.in: geoclue-demo-agent.desktop.in.in
$(AM_V_GEN) sed -e "s|[@]libexecdir@|$(libexecdir)|g" $< > $@
if BUILD_DEMO_AGENT
demo_PROGRAMS += agent
endif # BUILD_DEMO_AGENT
agent_SOURCES = $(BUILT_SOURCES) \
gclue-service-agent.h \
gclue-service-agent.c \
agent.c \
$(NULL)
agent_CFLAGS = $(DEMO_AGENT_CFLAGS) \
$(WARN_CFLAGS) \
-DLOCALEDIR="\"$(datadir)/locale\"" \
-DABS_SRCDIR=\""$(abs_srcdir)"\" \
-I$(top_builddir)/src \
-I$(top_srcdir)/src \
-I$(top_builddir)/src/agent \
-I$(top_srcdir)/src/agent \
-I$(top_builddir)/public-api \
-I$(top_srcdir)/public-api
agent_LDADD = $(DEMO_AGENT_LIBS) \
$(top_builddir)/src/agent/libgeoclue-agent.la
-include $(top_srcdir)/git.mk
EXTRA_DIST = \
geoclue-demo-agent.desktop.in.in \
geoclue-where-am-i.desktop.in.in \
$(NULL)
DISTCLEANFILES = \
geoclue-demo-agent.desktop \
geoclue-demo-agent.desktop.in \
geoclue-where-am-i.desktop \
geoclue-where-am-i.desktop.in \
$(NULL)
|