File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / src / starter / Android.mk
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 09:46:43 2020 UTC (4 years, 6 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, v5_8_4p7, HEAD
Strongswan

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

# copy-n-paste from Makefile.am (update for LEX/YACC)
starter_SOURCES := \
starter.c files.h \
parser/parser.c parser/lexer.c parser/conf_parser.c parser/conf_parser.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

LOCAL_SRC_FILES := $(filter %.c,$(starter_SOURCES))

# build starter ----------------------------------------------------------------

LOCAL_C_INCLUDES += \
	$(strongswan_PATH)/src/libstrongswan \
	$(strongswan_PATH)/src/starter \
	$(strongswan_PATH)/src/stroke

LOCAL_CFLAGS := $(strongswan_CFLAGS) \
	-DIPSEC_SCRIPT='"ipsec"' \
	-DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'

LOCAL_MODULE := starter

LOCAL_MODULE_TAGS := optional

LOCAL_ARM_MODE := arm

LOCAL_PRELINK_MODULE := false

LOCAL_REQUIRED_MODULES := stroke

LOCAL_SHARED_LIBRARIES += libstrongswan

include $(BUILD_EXECUTABLE)


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