lod plugins for scepclient
[strongswan.git] / src / stroke / Makefile.am
index aaedfc7..afca95f 100644 (file)
@@ -3,8 +3,9 @@ ipsec_PROGRAMS = stroke
 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:     stroke_keywords.txt stroke_keywords.h
-               $(GPERF) -C -G -t < stroke_keywords.txt > stroke_keywords.c
+stroke_keywords.c:     $(srcdir)/stroke_keywords.txt $(srcdir)/stroke_keywords.h
+               $(GPERF) -m 10 -D -C -G -t < $(srcdir)/stroke_keywords.txt > $@