lod plugins for scepclient
[strongswan.git] / src / stroke / Makefile.am
index 6ea6475..afca95f 100644 (file)
@@ -1,9 +1,11 @@
 ipsec_PROGRAMS = stroke
 
-stroke_SOURCES = stroke.c stroke.h stroke_keywords.c stroke_keywords.h
+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 > $@