sw-collector: Moved to its own directory and added man page
[strongswan.git] / src / libimcv / plugins / imc_swima / Makefile.am
1 regid = strongswan.org
2 unique_sw_id = strongSwan-$(PACKAGE_VERSION_MAJOR)-$(PACKAGE_VERSION_MINOR)-$(PACKAGE_VERSION_BUILD)$(PACKAGE_VERSION_REVIEW)
3 swid_tag = $(regid)__$(unique_sw_id).swidtag
4
5 swiddir = $(pkgdatadir)/swidtag
6 dist_swid_DATA = $(swid_tag)
7 EXTRA_DIST = $(regid)__strongSwan.swidtag.in
8 CLEANFILES = $(regid)__strongSwan*.swidtag
9
10 $(swid_tag) : $(regid)__strongSwan.swidtag.in
11         $(AM_V_GEN) \
12         sed \
13         -e "s:@VERSION_MAJOR@:$(PACKAGE_VERSION_MAJOR):" \
14         -e "s:@VERSION_MINOR@:$(PACKAGE_VERSION_MINOR):" \
15         -e "s:@VERSION_BUILD@:$(PACKAGE_VERSION_BUILD):" \
16         -e "s:@VERSION_REVIEW@:$(PACKAGE_VERSION_REVIEW):" \
17         $(srcdir)/$(regid)__strongSwan.swidtag.in > $@
18
19 AM_CPPFLAGS = \
20         -I$(top_srcdir)/src/libstrongswan \
21         -I$(top_srcdir)/src/libtncif \
22         -I$(top_srcdir)/src/libimcv
23
24 AM_CFLAGS = \
25         $(PLUGIN_CFLAGS) $(json_CFLAGS)
26
27 imcv_LTLIBRARIES = imc-swima.la
28
29 imc_swima_la_LIBADD = \
30         $(top_builddir)/src/libimcv/libimcv.la \
31         $(top_builddir)/src/libstrongswan/libstrongswan.la
32 imc_swima_la_SOURCES = imc_swima.c imc_swima_state.h imc_swima_state.c
33 imc_swima_la_LDFLAGS = -module -avoid-version -no-undefined