summaryrefslogtreecommitdiff
path: root/.pc/geoclue_0.12.0-20slp2.patch/providers/gpsd/Makefile.am
blob: 0c45f40ba7e43d78882148bcc81bb579208b864c (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
libexec_PROGRAMS = geoclue-gpsd

geoclue_gpsd_CFLAGS =		\
	-I$(top_srcdir)		\
	-I$(top_builddir)	\
	$(GEOCLUE_CFLAGS)	\
    $(GPSD_CFLAGS)

geoclue_gpsd_LDFLAGS = \
	-Wl,--warn-unresolved-symbols

geoclue_gpsd_LDADD =		\
	$(GEOCLUE_LIBS)		\
	$(GPSD_LIBS)		\
	-lm			\
	$(top_builddir)/geoclue/libgeoclue.la

geoclue_gpsd_SOURCES =		\
	geoclue-gpsd.c

providersdir = $(datadir)/geoclue-providers
providers_DATA = geoclue-gpsd.provider

servicedir = $(DBUS_SERVICES_DIR)
service_in_files = org.freedesktop.Geoclue.Providers.Gpsd.service.in
service_DATA = $(service_in_files:.service.in=.service)

$(service_DATA): $(service_in_files) Makefile
	@sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@

EXTRA_DIST = 			\
	$(service_in_files)	\
	$(providers_DATA)

DISTCLEANFILES = \
	$(service_DATA)