Build stroke on Android.
This commit is contained in:
@@ -83,4 +83,5 @@ include $(addprefix $(LOCAL_PATH)/src/,$(addsuffix /Android.mk, \
|
|||||||
libstrongswan \
|
libstrongswan \
|
||||||
libtncif \
|
libtncif \
|
||||||
libfreeswan \
|
libfreeswan \
|
||||||
|
stroke \
|
||||||
))
|
))
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
# copy-n-paste from Makefile.am
|
||||||
|
LOCAL_SRC_FILES := \
|
||||||
|
stroke.c stroke_msg.h stroke_keywords.c stroke_keywords.h
|
||||||
|
|
||||||
|
# build stroke -----------------------------------------------------------------
|
||||||
|
|
||||||
|
LOCAL_C_INCLUDES += \
|
||||||
|
$(libvstr_PATH) \
|
||||||
|
$(strongswan_PATH)/src/libstrongswan
|
||||||
|
|
||||||
|
LOCAL_CFLAGS := $(strongswan_CFLAGS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := stroke
|
||||||
|
|
||||||
|
LOCAL_ARM_MODE := arm
|
||||||
|
|
||||||
|
LOCAL_PRELINK_MODULE := false
|
||||||
|
|
||||||
|
LOCAL_SHARED_LIBRARIES += libstrongswan
|
||||||
|
|
||||||
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
ipsec_PROGRAMS = stroke
|
ipsec_PROGRAMS = stroke
|
||||||
|
|
||||||
stroke_SOURCES = stroke.c stroke_msg.h stroke_keywords.c stroke_keywords.h
|
stroke_SOURCES = \
|
||||||
|
stroke.c stroke_msg.h stroke_keywords.c stroke_keywords.h
|
||||||
|
|
||||||
stroke_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la $(SOCKLIB)
|
stroke_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la $(SOCKLIB)
|
||||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
||||||
EXTRA_DIST = stroke_keywords.txt
|
EXTRA_DIST = stroke_keywords.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user