Annotation of embedaddon/strongswan/src/starter/Makefile.am, revision 1.1.1.1

1.1       misho       1: SUBDIRS = . tests
                      2: 
                      3: ipsec_PROGRAMS = starter
                      4: starter_SOURCES = \
                      5: starter.c files.h \
                      6: args.c args.h confread.c confread.h keywords.c keywords.h cmp.c cmp.h \
                      7: invokecharon.c invokecharon.h starterstroke.c starterstroke.h
                      8: 
                      9: # parser is also used by tests
                     10: noinst_LTLIBRARIES = libstarter.la
                     11: libstarter_la_SOURCES = \
                     12: parser/parser.y parser/lexer.l parser/conf_parser.c parser/conf_parser.h
                     13: 
                     14: AM_CPPFLAGS = \
                     15:        -I${linux_headers} \
                     16:        -I$(top_srcdir)/src/libstrongswan \
                     17:        -I$(top_srcdir)/src/libcharon \
                     18:        -I$(top_srcdir)/src/starter \
                     19:        -I$(top_srcdir)/src/stroke \
                     20:        -DIPSEC_DIR=\"${ipsecdir}\" \
                     21:        -DIPSEC_CONFDIR=\"${sysconfdir}\" \
                     22:        -DIPSEC_PIDDIR=\"${piddir}\" \
                     23:        -DIPSEC_EAPDIR=\"${eapdir}\" \
                     24:        -DIPSEC_SCRIPT=\"${ipsec_script}\" \
                     25:        -DDEV_RANDOM=\"${random_device}\" \
                     26:        -DDEV_URANDOM=\"${urandom_device}\" \
                     27:        -DPLUGINS=\""${starter_plugins}\"" \
                     28:        -DDEBUG
                     29: 
                     30: AM_CFLAGS = \
                     31:        @COVERAGE_CFLAGS@
                     32: 
                     33: AM_YFLAGS = -v -d
                     34: 
                     35: starter_LDADD = \
                     36:        $(top_builddir)/src/libstrongswan/libstrongswan.la \
                     37:        $(top_builddir)/src/libcharon/libcharon.la \
                     38:        libstarter.la \
                     39:        $(SOCKLIB) $(PTHREADLIB) $(ATOMICLIB)
                     40: 
                     41: EXTRA_DIST = keywords.h.in keywords.txt ipsec.conf ipsec.secrets Android.mk
                     42: MAINTAINERCLEANFILES = keywords.h keywords.c
                     43: BUILT_SOURCES = keywords.h keywords.c parser/parser.h
                     44: 
                     45: if USE_LOAD_WARNING
                     46:   AM_CPPFLAGS += -DLOAD_WARNING
                     47: endif
                     48: 
                     49: keywords.h: $(srcdir)/keywords.h.in
                     50:                $(AM_V_GEN) \
                     51:                sed \
                     52:                -e "s:\@GPERF_LEN_TYPE\@:$(GPERF_LEN_TYPE):" \
                     53:                $(srcdir)/keywords.h.in > $@
                     54: 
                     55: keywords.c:    $(srcdir)/keywords.txt keywords.h
                     56:                $(AM_V_GEN) \
                     57:                $(GPERF) -m 10 -C -G -D -t \
                     58:                        --output-file=$@ $(srcdir)/keywords.txt
                     59: 
                     60: install-exec-local :
                     61:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d" || true
                     62:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d/cacerts" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d/cacerts" || true
                     63:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d/ocspcerts" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d/ocspcerts" || true
                     64:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d/certs" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d/certs" || true
                     65:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d/acerts" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d/acerts" || true
                     66:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d/aacerts" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d/aacerts" || true
                     67:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d/crls" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d/crls" || true
                     68:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d/reqs" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d/reqs" || true
                     69:                test -e "$(DESTDIR)${sysconfdir}/ipsec.d/private" || $(INSTALL) -d -m 750 "$(DESTDIR)$(sysconfdir)/ipsec.d/private" || true
                     70:                test -e "$(DESTDIR)$(sysconfdir)/ipsec.conf" || $(INSTALL) -m 644 $(srcdir)/ipsec.conf $(DESTDIR)$(sysconfdir)/ipsec.conf || true
                     71:                test -e "$(DESTDIR)$(sysconfdir)/ipsec.secrets" || $(INSTALL) -m 600 $(srcdir)/ipsec.secrets $(DESTDIR)$(sysconfdir)/ipsec.secrets || true

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>