diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-10-11 16:17:55 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-10-11 16:30:20 +0200 |
commit | b3b1419e0687ab019ac1ea880ed4f1aee6d56b68 (patch) | |
tree | 1f4a81d0cdc0f0ec8dcc6655cc263554b1b084a5 /src/stroke | |
parent | dcd9970de6353665fb92323dd14f1e7e198280ad (diff) | |
download | strongswan-b3b1419e0687ab019ac1ea880ed4f1aee6d56b68.tar.bz2 strongswan-b3b1419e0687ab019ac1ea880ed4f1aee6d56b68.tar.xz |
Build stroke on Android.
Diffstat (limited to 'src/stroke')
-rw-r--r-- | src/stroke/Android.mk | 25 | ||||
-rw-r--r-- | src/stroke/Makefile.am | 4 |
2 files changed, 28 insertions, 1 deletions
diff --git a/src/stroke/Android.mk b/src/stroke/Android.mk new file mode 100644 index 000000000..833130e25 --- /dev/null +++ b/src/stroke/Android.mk @@ -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) + diff --git a/src/stroke/Makefile.am b/src/stroke/Makefile.am index 363cde717..6eee8cd6c 100644 --- a/src/stroke/Makefile.am +++ b/src/stroke/Makefile.am @@ -1,6 +1,8 @@ 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) INCLUDES = -I$(top_srcdir)/src/libstrongswan EXTRA_DIST = stroke_keywords.txt |