notify-payload: Update reference for notify types for PPKs
[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 starter_SOURCES := \
6 starter.c files.h \
7 parser/parser.c parser/lexer.c parser/conf_parser.c parser/conf_parser.h \
8 args.c args.h confread.c confread.h keywords.c keywords.h cmp.c cmp.h \
9 invokecharon.c invokecharon.h starterstroke.c starterstroke.h
10
11 LOCAL_SRC_FILES := $(filter %.c,$(starter_SOURCES))
12
13 # build starter ----------------------------------------------------------------
14
15 LOCAL_C_INCLUDES += \
16 $(strongswan_PATH)/src/libstrongswan \
17 $(strongswan_PATH)/src/starter \
18 $(strongswan_PATH)/src/stroke
19
20 LOCAL_CFLAGS := $(strongswan_CFLAGS) \
21 -DIPSEC_SCRIPT='"ipsec"' \
22 -DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'
23
24 LOCAL_MODULE := starter
25
26 LOCAL_MODULE_TAGS := optional
27
28 LOCAL_ARM_MODE := arm
29
30 LOCAL_PRELINK_MODULE := false
31
32 LOCAL_REQUIRED_MODULES := stroke
33
34 LOCAL_SHARED_LIBRARIES += libstrongswan
35
36 include $(BUILD_EXECUTABLE)
37