configure: Fix typo when enabling CPAN modules as dependency
[strongswan.git] / src / starter / Android.mk
index c2260be..8c5d1a9 100644 (file)
@@ -3,11 +3,11 @@ include $(CLEAR_VARS)
 
 # copy-n-paste from Makefile.am (update for LEX/YACC)
 starter_SOURCES := \
-parser.c lexer.c ipsec-parser.h netkey.c args.h netkey.h \
-starterstroke.c confread.c \
-starterstroke.h confread.h args.c \
-keywords.c files.h keywords.h cmp.c starter.c cmp.h invokecharon.c \
-invokecharon.h klips.c klips.h
+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 \
+netkey.c netkey.h klips.c klips.h
 
 LOCAL_SRC_FILES := $(filter %.c,$(starter_SOURCES))
 
@@ -16,9 +16,11 @@ LOCAL_SRC_FILES := $(filter %.c,$(starter_SOURCES))
 LOCAL_C_INCLUDES += \
        $(strongswan_PATH)/src/libhydra \
        $(strongswan_PATH)/src/libstrongswan \
+       $(strongswan_PATH)/src/starter \
        $(strongswan_PATH)/src/stroke
 
-LOCAL_CFLAGS := $(strongswan_CFLAGS) -DSTART_CHARON \
+LOCAL_CFLAGS := $(strongswan_CFLAGS) \
+       -DIPSEC_SCRIPT='"ipsec"' \
        -DPLUGINS='"$(strongswan_STARTER_PLUGINS)"'
 
 LOCAL_MODULE := starter