merged EAP framework from branch into trunk
[strongswan.git] / src / stroke / Makefile.am
index 611f2a8..6ea6475 100644 (file)
@@ -1,4 +1,9 @@
 ipsec_PROGRAMS = stroke
 
-stroke_SOURCES = stroke.c stroke.h
-stroke_INCLUDES = -I$(top_srcdir)/src/libstrongswan
+stroke_SOURCES = stroke.c stroke.h stroke_keywords.c stroke_keywords.h
+INCLUDES = -I$(top_srcdir)/src/libstrongswan
+EXTRA_DIST = stroke_keywords.txt
+MAINTAINERCLEANFILES = stroke_keywords.c
+
+stroke_keywords.c:     stroke_keywords.txt stroke_keywords.h
+               $(GPERF) -C -G -t < stroke_keywords.txt > stroke_keywords.c