diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-06-23 11:35:38 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-06-23 11:35:38 +0000 |
commit | 7c52c3f35cdbdff58443b994f2f33d13b4d81f57 (patch) | |
tree | e54a27979ea72ec41702bec2984c2eadac3b8862 /src/starter/Makefile.am | |
parent | 4ef45ba0404dac3773e83af995a5ec584b23d633 (diff) | |
download | vyos-strongswan-7c52c3f35cdbdff58443b994f2f33d13b4d81f57.tar.gz vyos-strongswan-7c52c3f35cdbdff58443b994f2f33d13b4d81f57.zip |
Updated to new upstream version.
Diffstat (limited to 'src/starter/Makefile.am')
-rw-r--r-- | src/starter/Makefile.am | 37 |
1 files changed, 25 insertions, 12 deletions
diff --git a/src/starter/Makefile.am b/src/starter/Makefile.am index 8a9ba54c9..439a7785a 100644 --- a/src/starter/Makefile.am +++ b/src/starter/Makefile.am @@ -5,9 +5,22 @@ starterstroke.h interfaces.c invokepluto.h confread.h interfaces.h args.c \ keywords.c files.h keywords.h cmp.c starter.c cmp.h exec.c invokecharon.c \ exec.h invokecharon.h lex.yy.c loglite.c klips.c klips.h -INCLUDES = -I${linuxdir} -I$(top_srcdir)/src/libfreeswan -I$(top_srcdir)/src/pluto -I$(top_srcdir)/src/whack -I$(top_srcdir)/src/stroke -AM_CFLAGS = -DIPSEC_DIR=\"${ipsecdir}\" -DIPSEC_CONFDIR=\"${confdir}\" -DIPSEC_PIDDIR=\"${piddir}\" -DIPSEC_EAPDIR=\"${eapdir}\" -DDEBUG -starter_LDADD = defs.o $(top_builddir)/src/libfreeswan/libfreeswan.a +INCLUDES = \ +-I${linuxdir} \ +-I$(top_srcdir)/src/libstrongswan \ +-I$(top_srcdir)/src/libfreeswan \ +-I$(top_srcdir)/src/pluto \ +-I$(top_srcdir)/src/whack \ +-I$(top_srcdir)/src/stroke + +AM_CFLAGS = \ +-DIPSEC_DIR=\"${ipsecdir}\" \ +-DIPSEC_CONFDIR=\"${confdir}\" \ +-DIPSEC_PIDDIR=\"${piddir}\" \ +-DIPSEC_EAPDIR=\"${eapdir}\" \ +-DDEBUG + +starter_LDADD = defs.o $(top_builddir)/src/libfreeswan/libfreeswan.a $(top_builddir)/src/libstrongswan/libstrongswan.la EXTRA_DIST = parser.l parser.y keywords.txt ipsec.conf dist_man_MANS = ipsec.conf.5 starter.8 MAINTAINERCLEANFILES = lex.yy.c y.tab.c y.tab.h keywords.c @@ -23,20 +36,20 @@ if USE_CHARON AM_CFLAGS += -DSTART_CHARON endif -lex.yy.c: parser.l parser.y parser.h y.tab.c - $(LEX) --nounput $< +lex.yy.c: $(srcdir)/parser.l $(srcdir)/parser.y $(srcdir)/parser.h + $(LEX) $(srcdir)/parser.l -y.tab.c: parser.y parser.l parser.h - $(YACC) -v -d $< +y.tab.c: $(srcdir)/parser.y $(srcdir)/parser.l $(srcdir)/parser.h + $(YACC) -v -d $(srcdir)/parser.y -y.tab.h: parser.y parser.l parser.h - $(YACC) -v -d $< +y.tab.h: $(srcdir)/parser.y $(srcdir)/parser.l $(srcdir)/parser.h + $(YACC) -v -d $(srcdir)/parser.y -keywords.c: keywords.txt keywords.h - $(GPERF) -C -G -t < $< > $@ +keywords.c: $(srcdir)/keywords.txt $(srcdir)/keywords.h + $(GPERF) -m 10 -C -G -D -t < $(srcdir)/keywords.txt > $@ defs.o: $(PLUTODIR)/defs.c $(PLUTODIR)/defs.h - $(COMPILE) -c -o $@ $< + $(COMPILE) -c -o $@ $(PLUTODIR)/defs.c install-exec-local : test -e "$(DESTDIR)${sysconfdir}/ipsec.d" || $(INSTALL) -o ${ipsecuser} -g ${ipsecgroup} -d "$(DESTDIR)$(sysconfdir)/ipsec.d" || true |