summaryrefslogtreecommitdiff
path: root/.pc/tizen.patch/providers/hostip/Makefile.am
blob: 1131187c8f70ec3593aa4bcaefd07a9142ff0a4d (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
libexec_PROGRAMS =	\
	geoclue-hostip

NOINST_H_FILES = 		\
	geoclue-hostip.h

geoclue_hostip_SOURCES = 	\
	$(NOINST_H_FILES)	\
	geoclue-hostip.c

geoclue_hostip_CFLAGS = \
	-I$(top_srcdir) \
	-I$(top_builddir) \
	$(GEOCLUE_CFLAGS)

geoclue_hostip_LDADD = \
	$(GEOCLUE_LIBS) \
	$(top_builddir)/geoclue/libgeoclue.la 

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

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

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

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

DISTCLEANFILES = \
	$(service_DATA)