libhydra: Remove empty unused library
[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 netkey.c netkey.h klips.c klips.h
11
12 LOCAL_SRC_FILES := $(filter %.c,$(starter_SOURCES))
13
14 # build starter ----------------------------------------------------------------
15
16 LOCAL_C_INCLUDES += \
17 $(strongswan_PATH)/src/libstrongswan \
18 $(strongswan_PATH)/src/starter \
19 $(strongswan_PATH)/src/stroke
20
21 LOCAL_CFLAGS := $(strongswan_CFLAGS) \
22 -DIPSEC_SCRIPT='"ipsec"' \
23 -DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'
24
25 LOCAL_MODULE := starter
26
27 LOCAL_MODULE_TAGS := optional
28
29 LOCAL_ARM_MODE := arm
30
31 LOCAL_PRELINK_MODULE := false
32
33 LOCAL_REQUIRED_MODULES := stroke
34
35 LOCAL_SHARED_LIBRARIES += libstrongswan
36
37 include $(BUILD_EXECUTABLE)
38