summaryrefslogtreecommitdiff
path: root/app/openvpn/Android.mk
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-04-08 11:38:09 +0200
committerParménides GV <parmegv@sdf.org>2014-04-08 11:43:27 +0200
commit5fc5d37330d3535a0f421632694d1e7918fc22d7 (patch)
tree1aad0c286e58962c8895854907e530b9bc9bce5a /app/openvpn/Android.mk
parentc206a91d320995f37f8abb33188bfd384249da3d (diff)
Compiles correctly: app/build-native + gradle.
Diffstat (limited to 'app/openvpn/Android.mk')
-rw-r--r--app/openvpn/Android.mk93
1 files changed, 93 insertions, 0 deletions
diff --git a/app/openvpn/Android.mk b/app/openvpn/Android.mk
new file mode 100644
index 00000000..1a949451
--- /dev/null
+++ b/app/openvpn/Android.mk
@@ -0,0 +1,93 @@
+LOCAL_PATH:= $(call my-dir)/
+
+include $(CLEAR_VARS)
+
+LOCAL_LDLIBS := -lz
+LOCAL_C_INCLUDES := openssl/include lzo/include openssl/crypto openssl openvpn/src/compat openvpn/src/openvpn openvpn/include
+
+LOCAL_SHARED_LIBRARIES := libssl libcrypto
+#LOCAL_STATIC_LIBRARIES := libssl_static libcrypto_static liblzo-static
+
+LOCAL_CFLAGS= -DHAVE_CONFIG_H -DTARGET_ABI=\"${TARGET_ABI}\"
+LOCAL_STATIC_LIBRARIES := liblzo-static
+
+LOCAL_MODULE = openvpn
+
+LOCAL_SRC_FILES:= \
+ src/compat/compat-basename.c \
+ src/compat/compat-daemon.c \
+ src/compat/compat-dirname.c \
+ src/compat/compat-gettimeofday.c \
+ src/compat/compat-inet_ntop.c \
+ src/compat/compat-inet_pton.c \
+ src/compat/compat-rsa_generate_key.c \
+ src/openvpn/base64.c \
+ src/openvpn/buffer.c \
+ src/openvpn/clinat.c \
+ src/openvpn/console.c \
+ src/openvpn/crypto.c \
+ src/openvpn/crypto_openssl.c \
+ src/openvpn/cryptoapi.c \
+ src/openvpn/dhcp.c \
+ src/openvpn/error.c \
+ src/openvpn/event.c \
+ src/openvpn/fdmisc.c \
+ src/openvpn/forward.c \
+ src/openvpn/fragment.c \
+ src/openvpn/gremlin.c \
+ src/openvpn/helper.c \
+ src/openvpn/httpdigest.c \
+ src/openvpn/init.c \
+ src/openvpn/interval.c \
+ src/openvpn/list.c \
+ src/openvpn/lladdr.c \
+ src/openvpn/lzo.c \
+ src/openvpn/manage.c \
+ src/openvpn/mbuf.c \
+ src/openvpn/misc.c \
+ src/openvpn/mroute.c \
+ src/openvpn/mss.c \
+ src/openvpn/mstats.c \
+ src/openvpn/mtcp.c \
+ src/openvpn/mtu.c \
+ src/openvpn/mudp.c \
+ src/openvpn/multi.c \
+ src/openvpn/ntlm.c \
+ src/openvpn/occ.c \
+ src/openvpn/openvpn.c \
+ src/openvpn/options.c \
+ src/openvpn/otime.c \
+ src/openvpn/packet_id.c \
+ src/openvpn/perf.c \
+ src/openvpn/pf.c \
+ src/openvpn/ping.c \
+ src/openvpn/pkcs11.c \
+ src/openvpn/pkcs11_openssl.c \
+ src/openvpn/platform.c \
+ src/openvpn/plugin.c \
+ src/openvpn/pool.c \
+ src/openvpn/proto.c \
+ src/openvpn/proxy.c \
+ src/openvpn/ps.c \
+ src/openvpn/push.c \
+ src/openvpn/reliable.c \
+ src/openvpn/route.c \
+ src/openvpn/schedule.c \
+ src/openvpn/session_id.c \
+ src/openvpn/shaper.c \
+ src/openvpn/sig.c \
+ src/openvpn/socket.c \
+ src/openvpn/socks.c \
+ src/openvpn/ssl.c \
+ src/openvpn/ssl_openssl.c \
+ src/openvpn/ssl_verify.c \
+ src/openvpn/ssl_verify_openssl.c \
+ src/openvpn/ssl_verify_polarssl.c \
+ src/openvpn/status.c \
+ src/openvpn/tun.c
+
+include $(BUILD_SHARED_LIBRARY)
+#include $(BUILD_EXECUTABLE)
+
+
+