1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE := libvncserver 5 LOCAL_C_INCLUDES += $(LOCAL_PATH)/include \ 6 $(LOCAL_PATH)/lib \ 7 $(LOCAL_PATH)/libvncserver \ 8 $(LOCAL_PATH) \ 9 $(LOCAL_PATH)/common \ 10 external/jpeg 11 12 LOCAL_SRC_FILES := libvncserver/auth.c \ 13 libvncserver/cargs.c \ 14 libvncserver/corre.c \ 15 libvncserver/cursor.c \ 16 libvncserver/cutpaste.c \ 17 libvncserver/draw.c \ 18 libvncserver/font.c \ 19 libvncserver/hextile.c \ 20 libvncserver/httpd.c \ 21 libvncserver/main.c \ 22 libvncserver/rfbcrypto_openssl.c \ 23 libvncserver/rfbregion.c \ 24 libvncserver/rfbserver.c \ 25 libvncserver/rfbssl_openssl.c \ 26 libvncserver/rre.c \ 27 libvncserver/scale.c \ 28 libvncserver/selbox.c \ 29 libvncserver/sockets.c \ 30 libvncserver/stats.c \ 31 libvncserver/tight.c \ 32 libvncserver/translate.c \ 33 libvncserver/ultra.c \ 34 libvncserver/websockets.c \ 35 libvncserver/zlib.c \ 36 libvncserver/zrle.c \ 37 libvncserver/zrleoutstream.c \ 38 libvncserver/zrlepalettehelper.c \ 39 common/d3des.c \ 40 common/minilzo.c \ 41 common/sha1.c \ 42 common/turbojpeg.c \ 43 common/vncauth.c \ 44 test/bmp.c 45 46 LOCAL_STATIC_LIBRARIES := libz libpng libjpeg libssl 47 LOCAL_CFLAGS := -D__ANDROID__ -DHAVE_LIBSSL -DWITH_WEBSOCKETS 48 49 #LOCAL_SDK_VERSION := 14 50 51 include $(BUILD_STATIC_LIBRARY) 52