diff options
author | Arne Schwabe <arne@blinkt.de> | 2012-05-09 12:49:20 +0200 |
---|---|---|
committer | Arne Schwabe <arne@blinkt.de> | 2012-05-09 12:49:20 +0200 |
commit | f0e9663173a07bd9adf0819a1291ed0ef0ac2adc (patch) | |
tree | 99c3ec9c85cbc2c5f4cb93c3758584a3b16afdb2 /openvpn/Android.mk | |
parent | e689637b7c3555c464f800f049fe4059b908ca27 (diff) |
Add tiny minivpn executable which uses the libopenvpn.so so we don't have to copy a big executable from assets to cache directory
Diffstat (limited to 'openvpn/Android.mk')
-rw-r--r-- | openvpn/Android.mk | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/openvpn/Android.mk b/openvpn/Android.mk index 78849702..ca15c711 100644 --- a/openvpn/Android.mk +++ b/openvpn/Android.mk @@ -88,5 +88,25 @@ LOCAL_SRC_FILES:= src/openvpn/jniglue.c \ src/openvpn/status.c \ src/openvpn/tun.c -#include $(BUILD_SHARED_LIBRARY) +include $(BUILD_SHARED_LIBRARY) +#include $(BUILD_EXECUTABLE) + + +include $(CLEAR_VARS) + +LOCAL_LDLIBS := -llog +LOCAL_SRC_FILES:= src/openvpn/jniglue.c +LOCAL_MODULE = opvpnutil +include $(BUILD_SHARED_LIBRARY) + + +include $(CLEAR_VARS) + + +LOCAL_LDLIBS := -llog +LOCAL_SRC_FILES:= src/openvpn/testmain.c +LOCAL_MODULE = minivpn +LOCAL_SHARED_LIBRARIES=openvpn include $(BUILD_EXECUTABLE) + + |