lod plugins for scepclient
[strongswan.git] / src / stroke / Makefile.am
index 611f2a8..afca95f 100644 (file)
@@ -1,4 +1,11 @@
 ipsec_PROGRAMS = stroke
 
-stroke_SOURCES = stroke.c stroke.h
-stroke_INCLUDES = -I$(top_srcdir)/src/libstrongswan
+stroke_SOURCES = stroke.c stroke_msg.h stroke_keywords.c stroke_keywords.h
+INCLUDES = -I$(top_srcdir)/src/libstrongswan
+EXTRA_DIST = stroke_keywords.txt
+BUILT_SOURCES = stroke_keywords.c
+MAINTAINERCLEANFILES = stroke_keywords.c
+AM_CFLAGS = -DIPSEC_PIDDIR=\"${piddir}\"
+
+stroke_keywords.c:     $(srcdir)/stroke_keywords.txt $(srcdir)/stroke_keywords.h
+               $(GPERF) -m 10 -D -C -G -t < $(srcdir)/stroke_keywords.txt > $@