From 81c63b0eed39432878f78727f60a1e7499645199 Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Fri, 11 Jul 2014 07:23:31 +0200 Subject: Imported Upstream version 5.2.0 --- src/starter/Makefile.am | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'src/starter/Makefile.am') diff --git a/src/starter/Makefile.am b/src/starter/Makefile.am index 48110dd02..f0a2be856 100644 --- a/src/starter/Makefile.am +++ b/src/starter/Makefile.am @@ -1,15 +1,22 @@ +SUBDIRS = . tests + ipsec_PROGRAMS = starter starter_SOURCES = \ -parser.y lexer.l ipsec-parser.h netkey.c args.h netkey.h \ -starterstroke.c confread.c \ -starterstroke.h confread.h args.c \ -keywords.c files.h keywords.h cmp.c starter.c cmp.h invokecharon.c \ -invokecharon.h klips.c klips.h +starter.c files.h \ +args.c args.h confread.c confread.h keywords.c keywords.h cmp.c cmp.h \ +invokecharon.c invokecharon.h starterstroke.c starterstroke.h \ +netkey.c netkey.h klips.c klips.h + +# parser is also used by tests +noinst_LTLIBRARIES = libstarter.la +libstarter_la_SOURCES = \ +parser/parser.y parser/lexer.l parser/conf_parser.c parser/conf_parser.h AM_CPPFLAGS = \ -I${linux_headers} \ -I$(top_srcdir)/src/libstrongswan \ -I$(top_srcdir)/src/libhydra \ + -I$(top_srcdir)/src/starter \ -I$(top_srcdir)/src/stroke \ -DIPSEC_DIR=\"${ipsecdir}\" \ -DIPSEC_CONFDIR=\"${sysconfdir}\" \ @@ -23,10 +30,15 @@ AM_CPPFLAGS = \ AM_YFLAGS = -v -d -starter_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la $(top_builddir)/src/libhydra/libhydra.la $(SOCKLIB) $(PTHREADLIB) +starter_LDADD = \ + $(top_builddir)/src/libstrongswan/libstrongswan.la \ + $(top_builddir)/src/libhydra/libhydra.la \ + libstarter.la \ + $(SOCKLIB) $(PTHREADLIB) + EXTRA_DIST = keywords.txt ipsec.conf Android.mk MAINTAINERCLEANFILES = keywords.c -BUILT_SOURCES = parser.h +BUILT_SOURCES = keywords.c parser/parser.h if USE_CHARON AM_CPPFLAGS += -DSTART_CHARON @@ -36,7 +48,7 @@ if USE_LOAD_WARNING AM_CPPFLAGS += -DLOAD_WARNING endif -if USE_TOOLS +if USE_SCEPCLIENT AM_CPPFLAGS += -DGENERATE_SELFCERT endif -- cgit v1.2.3