Bye bye Pluto!
[strongswan.git] / src / starter / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 # copy-n-paste from Makefile.am (update for LEX/YACC)
5 LOCAL_SRC_FILES := \
6 parser.c lexer.c ipsec-parser.h netkey.c args.h netkey.h \
7 starterstroke.c confread.c \
8 starterstroke.h confread.h args.c \
9 keywords.c files.h keywords.h cmp.c starter.c cmp.h invokecharon.c \
10 invokecharon.h klips.c klips.h
11
12 # build starter ----------------------------------------------------------------
13
14 LOCAL_C_INCLUDES += \
15 $(libvstr_PATH) \
16 $(strongswan_PATH)/src/libhydra \
17 $(strongswan_PATH)/src/libstrongswan \
18 $(strongswan_PATH)/src/stroke
19
20 LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON \
21 -DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'
22
23 LOCAL_MODULE := starter
24
25 LOCAL_MODULE_TAGS := optional
26
27 LOCAL_ARM_MODE := arm
28
29 LOCAL_PRELINK_MODULE := false
30
31 LOCAL_REQUIRED_MODULES := stroke
32
33 LOCAL_SHARED_LIBRARIES += libstrongswan libhydra
34
35 include $(BUILD_EXECUTABLE)
36