Files
strongswan-ext/src/stroke/Makefile.am
T
Tobias Brunner 535277afc5 Fix issue with $< automatic variable on FreeBSD
BSD make only evaluates $< for implicit rules, so building from the
repository won't work unless GNU make is installed and used, or we
replace affected uses like this.
2019-08-27 18:12:28 +02:00

24 lines
766 B
Makefile

ipsec_PROGRAMS = stroke
stroke_SOURCES = \
stroke.c stroke_msg.h stroke_keywords.c stroke_keywords.h
stroke_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la $(SOCKLIB)
EXTRA_DIST = stroke_keywords.h.in stroke_keywords.txt Android.mk
BUILT_SOURCES = stroke_keywords.h stroke_keywords.c
MAINTAINERCLEANFILES = stroke_keywords.h stroke_keywords.c
AM_CPPFLAGS = \
-I$(top_srcdir)/src/libstrongswan \
-DIPSEC_PIDDIR=\"${piddir}\"
stroke_keywords.h: $(srcdir)/stroke_keywords.h.in
$(AM_V_GEN) \
sed \
-e "s:\@GPERF_LEN_TYPE\@:$(GPERF_LEN_TYPE):" \
$(srcdir)/stroke_keywords.h.in > $@
stroke_keywords.c: $(srcdir)/stroke_keywords.txt stroke_keywords.h
$(AM_V_GEN) \
$(GPERF) -m 10 -D -C -G -t \
--output-file=$@ $(srcdir)/stroke_keywords.txt