diff options
author | Yves-Alexis Perez <corsac@corsac.net> | 2012-06-28 21:16:07 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@corsac.net> | 2012-06-28 21:16:07 +0200 |
commit | b34738ed08c2227300d554b139e2495ca5da97d6 (patch) | |
tree | 62f33b52820f2e49f0e53c0f8c636312037c8054 /src/starter/Makefile.am | |
parent | 0a9d51a49042a68daa15b0c74a2b7f152f52606b (diff) | |
download | vyos-strongswan-b34738ed08c2227300d554b139e2495ca5da97d6.tar.gz vyos-strongswan-b34738ed08c2227300d554b139e2495ca5da97d6.zip |
Imported Upstream version 4.6.4
Diffstat (limited to 'src/starter/Makefile.am')
-rw-r--r-- | src/starter/Makefile.am | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/starter/Makefile.am b/src/starter/Makefile.am index f05aeca22..94ddf5aba 100644 --- a/src/starter/Makefile.am +++ b/src/starter/Makefile.am @@ -1,9 +1,10 @@ ipsec_PROGRAMS = starter -starter_SOURCES = y.tab.c netkey.c y.tab.h parser.h args.h netkey.h \ +starter_SOURCES = \ +parser.y lexer.l ipsec-parser.h netkey.c args.h netkey.h \ starterwhack.c starterwhack.h starterstroke.c invokepluto.c confread.c \ 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 +exec.h invokecharon.h loglite.c klips.c klips.h INCLUDES = \ -I${linux_headers} \ @@ -21,11 +22,15 @@ AM_CFLAGS = \ -DIPSEC_EAPDIR=\"${eapdir}\" \ -DDEV_RANDOM=\"${random_device}\" \ -DDEV_URANDOM=\"${urandom_device}\" \ +-DPLUGINS=\""${starter_plugins}\"" \ -DDEBUG -starter_LDADD = defs.o $(top_builddir)/src/libfreeswan/libfreeswan.a $(top_builddir)/src/libstrongswan/libstrongswan.la $(SOCKLIB) -EXTRA_DIST = parser.l parser.y keywords.txt ipsec.conf -MAINTAINERCLEANFILES = lex.yy.c y.tab.c y.tab.h keywords.c +AM_YFLAGS = -v -d + +starter_LDADD = defs.o $(top_builddir)/src/libfreeswan/libfreeswan.a $(top_builddir)/src/libstrongswan/libstrongswan.la $(top_builddir)/src/libhydra/libhydra.la $(SOCKLIB) +EXTRA_DIST = keywords.txt ipsec.conf Android.mk +MAINTAINERCLEANFILES = keywords.c +BUILT_SOURCES = parser.h PLUTODIR=$(top_srcdir)/src/pluto SCEPCLIENTDIR=$(top_srcdir)/src/scepclient @@ -42,14 +47,9 @@ if USE_LOAD_WARNING AM_CFLAGS += -DLOAD_WARNING endif -lex.yy.c: $(srcdir)/parser.l $(srcdir)/parser.y $(srcdir)/parser.h y.tab.h - $(LEX) $(srcdir)/parser.l - -y.tab.c: $(srcdir)/parser.y $(srcdir)/parser.l $(srcdir)/parser.h - $(YACC) -v -d $(srcdir)/parser.y - -y.tab.h: $(srcdir)/parser.y $(srcdir)/parser.l $(srcdir)/parser.h - $(YACC) -v -d $(srcdir)/parser.y +if USE_TOOLS + AM_CFLAGS += -DGENERATE_SELFCERT +endif keywords.c: $(srcdir)/keywords.txt $(srcdir)/keywords.h $(GPERF) -m 10 -C -G -D -t < $(srcdir)/keywords.txt > $@ |