Version bump to 5.9.0
[strongswan.git] / src / stroke / Makefile.am
1 ipsec_PROGRAMS = stroke
2
3 stroke_SOURCES = \
4 stroke.c stroke_msg.h stroke_keywords.c stroke_keywords.h
5
6 stroke_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la $(SOCKLIB)
7 EXTRA_DIST = stroke_keywords.h.in stroke_keywords.txt Android.mk
8 BUILT_SOURCES = stroke_keywords.h stroke_keywords.c
9 MAINTAINERCLEANFILES = stroke_keywords.h stroke_keywords.c
10 AM_CPPFLAGS = \
11         -I$(top_srcdir)/src/libstrongswan \
12         -DIPSEC_PIDDIR=\"${piddir}\"
13
14 stroke_keywords.h: $(srcdir)/stroke_keywords.h.in
15                 $(AM_V_GEN) \
16                 sed \
17                 -e "s:\@GPERF_LEN_TYPE\@:$(GPERF_LEN_TYPE):" \
18                 $(srcdir)/stroke_keywords.h.in > $@
19
20 stroke_keywords.c:      $(srcdir)/stroke_keywords.txt stroke_keywords.h
21                 $(AM_V_GEN) \
22                 $(GPERF) -m 10 -D -C -G -t \
23                         --output-file=$@ $(srcdir)/stroke_keywords.txt