Steve Kondik | 2b56371 | 2017-06-19 23:14:18 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_CPP_EXTENSION := cxx |
| 6 | |
| 7 | LOCAL_SRC_FILES := \ |
| 8 | os/Mutex.cxx \ |
| 9 | os/Thread.cxx \ |
| 10 | os/os.cxx \ |
| 11 | rdr/Exception.cxx \ |
| 12 | rdr/FdInStream.cxx \ |
| 13 | rdr/FdOutStream.cxx \ |
| 14 | rdr/FileInStream.cxx \ |
| 15 | rdr/HexInStream.cxx \ |
| 16 | rdr/HexOutStream.cxx \ |
| 17 | rdr/InStream.cxx \ |
| 18 | rdr/RandomStream.cxx \ |
| 19 | rdr/TLSException.cxx \ |
| 20 | rdr/TLSInStream.cxx \ |
| 21 | rdr/TLSOutStream.cxx \ |
| 22 | rdr/ZlibInStream.cxx \ |
| 23 | rdr/ZlibOutStream.cxx \ |
| 24 | network/Socket.cxx \ |
| 25 | network/TcpSocket.cxx \ |
| 26 | Xregion/Region.c |
| 27 | |
| 28 | LOCAL_SRC_FILES += \ |
| 29 | rfb/Blacklist.cxx \ |
| 30 | rfb/CConnection.cxx \ |
| 31 | rfb/ClientParams.cxx \ |
| 32 | rfb/CMsgHandler.cxx \ |
| 33 | rfb/CMsgReader.cxx \ |
| 34 | rfb/CMsgWriter.cxx \ |
| 35 | rfb/CSecurityPlain.cxx \ |
| 36 | rfb/CSecurityStack.cxx \ |
| 37 | rfb/CSecurityVeNCrypt.cxx \ |
| 38 | rfb/CSecurityVncAuth.cxx \ |
| 39 | rfb/ComparingUpdateTracker.cxx \ |
| 40 | rfb/Configuration.cxx \ |
| 41 | rfb/Congestion.cxx \ |
| 42 | rfb/CopyRectDecoder.cxx \ |
| 43 | rfb/Cursor.cxx \ |
| 44 | rfb/DecodeManager.cxx \ |
| 45 | rfb/Decoder.cxx \ |
| 46 | rfb/d3des.c \ |
| 47 | rfb/EncodeManager.cxx \ |
| 48 | rfb/Encoder.cxx \ |
| 49 | rfb/HextileDecoder.cxx \ |
| 50 | rfb/HextileEncoder.cxx \ |
| 51 | rfb/JpegCompressor.cxx \ |
| 52 | rfb/JpegDecompressor.cxx \ |
| 53 | rfb/KeyRemapper.cxx \ |
| 54 | rfb/LogWriter.cxx \ |
| 55 | rfb/Logger.cxx \ |
| 56 | rfb/Logger_file.cxx \ |
| 57 | rfb/Logger_stdio.cxx \ |
| 58 | rfb/Password.cxx \ |
| 59 | rfb/PixelBuffer.cxx \ |
| 60 | rfb/PixelFormat.cxx \ |
| 61 | rfb/RREEncoder.cxx \ |
| 62 | rfb/RREDecoder.cxx \ |
| 63 | rfb/RawDecoder.cxx \ |
| 64 | rfb/RawEncoder.cxx \ |
| 65 | rfb/Region.cxx \ |
| 66 | rfb/SConnection.cxx \ |
| 67 | rfb/SMsgHandler.cxx \ |
| 68 | rfb/SMsgReader.cxx \ |
| 69 | rfb/SMsgWriter.cxx \ |
| 70 | rfb/ServerCore.cxx \ |
| 71 | rfb/Security.cxx \ |
| 72 | rfb/SecurityServer.cxx \ |
| 73 | rfb/SecurityClient.cxx \ |
| 74 | rfb/SSecurityPlain.cxx \ |
| 75 | rfb/SSecurityStack.cxx \ |
| 76 | rfb/SSecurityVncAuth.cxx \ |
| 77 | rfb/SSecurityVeNCrypt.cxx \ |
| 78 | rfb/ScaleFilters.cxx \ |
| 79 | rfb/Timer.cxx \ |
| 80 | rfb/TightDecoder.cxx \ |
| 81 | rfb/TightEncoder.cxx \ |
| 82 | rfb/TightJPEGEncoder.cxx \ |
| 83 | rfb/UpdateTracker.cxx \ |
| 84 | rfb/VNCSConnectionST.cxx \ |
| 85 | rfb/VNCServerST.cxx \ |
| 86 | rfb/ZRLEEncoder.cxx \ |
| 87 | rfb/ZRLEDecoder.cxx \ |
| 88 | rfb/encodings.cxx \ |
| 89 | rfb/util.cxx \ |
| 90 | rfb/Logger_android.cxx |
| 91 | |
| 92 | LOCAL_C_INCLUDES := \ |
| 93 | $(LOCAL_PATH) |
| 94 | |
| 95 | LOCAL_CFLAGS := -Ofast -Wall -Wformat=2 -DNDEBUG -UNDEBUG -Werror |
maxwen | 56c8235 | 2019-12-07 01:23:45 +0100 | [diff] [blame] | 96 | LOCAL_CFLAGS += -Wno-unused-parameter -Wno-implicit-fallthrough |
Steve Kondik | 2b56371 | 2017-06-19 23:14:18 -0700 | [diff] [blame] | 97 | |
| 98 | LOCAL_CPPFLAGS := -std=c++11 -fexceptions -frtti |
| 99 | |
| 100 | LOCAL_SHARED_LIBRARIES := \ |
| 101 | libjpeg \ |
| 102 | libz |
| 103 | |
| 104 | LOCAL_MODULE := libtigervnc |
| 105 | LOCAL_MODULE_TAGS := optional |
| 106 | |
| 107 | include $(BUILD_STATIC_LIBRARY) |