diff options
Diffstat (limited to 'src/stroke/Makefile.am')
-rw-r--r-- | src/stroke/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stroke/Makefile.am b/src/stroke/Makefile.am index df20252e2..afca95fce 100644 --- a/src/stroke/Makefile.am +++ b/src/stroke/Makefile.am @@ -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.c: $(srcdir)/stroke_keywords.txt $(srcdir)/stroke_keywords.h + $(GPERF) -m 10 -D -C -G -t < $(srcdir)/stroke_keywords.txt > $@ |