summaryrefslogtreecommitdiff
path: root/src/libcharon/plugins/maemo/Makefile.am
blob: 0bf7fad5dc618c88685eec4d1b6d0dc563ccf15e (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

INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra \
	-I$(top_srcdir)/src/libcharon ${maemo_CFLAGS}

AM_CFLAGS = -rdynamic

if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-maemo.la
else
plugin_LTLIBRARIES = libstrongswan-maemo.la
endif

libstrongswan_maemo_la_SOURCES = \
	maemo_plugin.h maemo_plugin.c \
	maemo_service.h maemo_service.c

libstrongswan_maemo_la_LDFLAGS = -module -avoid-version
libstrongswan_maemo_la_LIBADD  = ${maemo_LIBS}

dbusservice_DATA = org.strongswan.charon.service

org.strongswan.charon.service: $(srcdir)/org.strongswan.charon.service.in
	sed -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|' $< >$@

EXTRA_DIST = org.strongswan.charon.service.in
CLEANFILES = $(dbusservice_DATA)