Sfoglia il codice sorgente

Merge branch 'master' of http://jiecheng2024.tpddns.cn:3000/liyuezong/SmartPDCode

guohui 2 anni fa
parent
commit
e0374af360
100 ha cambiato i file con 139 aggiunte e 79055 eliminazioni
  1. 0 22
      ip/.vscode/launch.json
  2. 0 61
      ip/.vscode/settings.json
  3. 67 23
      ip/CMakeLists.txt
  4. 0 1
      ip/README.md
  5. 0 304
      ip/appweb/inc/appweb.h
  6. 0 16
      ip/appweb/inc/customize.h
  7. 0 193
      ip/appweb/inc/embedtls.h
  8. 0 4435
      ip/appweb/inc/esp.h
  9. 0 9013
      ip/appweb/inc/http.h
  10. 0 36842
      ip/appweb/inc/mbedtls.h
  11. 0 387
      ip/appweb/inc/me.h
  12. 0 63
      ip/appweb/inc/mpr-version.h
  13. 0 10679
      ip/appweb/inc/mpr.h
  14. 0 1424
      ip/appweb/inc/osdep.h
  15. 0 348
      ip/appweb/inc/pcre.h
  16. BIN
      ip/appweb/lib/libappweb.so
  17. BIN
      ip/appweb/lib/libesp.so
  18. BIN
      ip/appweb/lib/libhttp.so
  19. BIN
      ip/appweb/lib/libmpr.so
  20. BIN
      ip/appweb/lib/libpcre.so
  21. 0 319
      ip/build/CMakeCache.txt
  22. 0 73
      ip/build/CMakeFiles/3.10.2/CMakeCCompiler.cmake
  23. 0 75
      ip/build/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
  24. BIN
      ip/build/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
  25. BIN
      ip/build/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
  26. 0 15
      ip/build/CMakeFiles/3.10.2/CMakeSystem.cmake
  27. 0 598
      ip/build/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c
  28. BIN
      ip/build/CMakeFiles/3.10.2/CompilerIdC/a.out
  29. 0 576
      ip/build/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
  30. BIN
      ip/build/CMakeFiles/3.10.2/CompilerIdCXX/a.out
  31. 0 16
      ip/build/CMakeFiles/CMakeDirectoryInformation.cmake
  32. 0 592
      ip/build/CMakeFiles/CMakeOutput.log
  33. 0 46
      ip/build/CMakeFiles/Makefile.cmake
  34. 0 108
      ip/build/CMakeFiles/Makefile2
  35. 0 3
      ip/build/CMakeFiles/TargetDirectories.txt
  36. 0 1
      ip/build/CMakeFiles/cmake.check_cache
  37. BIN
      ip/build/CMakeFiles/feature_tests.bin
  38. 0 34
      ip/build/CMakeFiles/feature_tests.c
  39. 0 405
      ip/build/CMakeFiles/feature_tests.cxx
  40. 0 1
      ip/build/CMakeFiles/progress.marks
  41. 0 3252
      ip/build/CMakeFiles/smartPDU.dir/C.includecache
  42. 0 85
      ip/build/CMakeFiles/smartPDU.dir/DependInfo.cmake
  43. 0 1274
      ip/build/CMakeFiles/smartPDU.dir/build.make
  44. 0 53
      ip/build/CMakeFiles/smartPDU.dir/cmake_clean.cmake
  45. 0 2955
      ip/build/CMakeFiles/smartPDU.dir/depend.internal
  46. 0 2955
      ip/build/CMakeFiles/smartPDU.dir/depend.make
  47. BIN
      ip/build/CMakeFiles/smartPDU.dir/easylogger/os/port/elog_file_port.c.o
  48. BIN
      ip/build/CMakeFiles/smartPDU.dir/easylogger/os/port/elog_port.c.o
  49. BIN
      ip/build/CMakeFiles/smartPDU.dir/easylogger/plugins/file/elog_file.c.o
  50. BIN
      ip/build/CMakeFiles/smartPDU.dir/easylogger/src/elog.c.o
  51. BIN
      ip/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_async.c.o
  52. BIN
      ip/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_buf.c.o
  53. BIN
      ip/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_utils.c.o
  54. 0 10
      ip/build/CMakeFiles/smartPDU.dir/flags.make
  55. BIN
      ip/build/CMakeFiles/smartPDU.dir/letter/os/shell_port.c.o
  56. BIN
      ip/build/CMakeFiles/smartPDU.dir/letter/src/shell.c.o
  57. BIN
      ip/build/CMakeFiles/smartPDU.dir/letter/src/shell_cmd_list.c.o
  58. BIN
      ip/build/CMakeFiles/smartPDU.dir/letter/src/shell_companion.c.o
  59. BIN
      ip/build/CMakeFiles/smartPDU.dir/letter/src/shell_ext.c.o
  60. 0 1
      ip/build/CMakeFiles/smartPDU.dir/link.txt
  61. BIN
      ip/build/CMakeFiles/smartPDU.dir/modbus/modbus-data.c.o
  62. BIN
      ip/build/CMakeFiles/smartPDU.dir/modbus/modbus-rtu.c.o
  63. BIN
      ip/build/CMakeFiles/smartPDU.dir/modbus/modbus-tcp.c.o
  64. BIN
      ip/build/CMakeFiles/smartPDU.dir/modbus/modbus.c.o
  65. BIN
      ip/build/CMakeFiles/smartPDU.dir/mongoose/mongoose.c.o
  66. 0 46
      ip/build/CMakeFiles/smartPDU.dir/progress.make
  67. BIN
      ip/build/CMakeFiles/smartPDU.dir/sqlite/sqlite3.c.o
  68. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/app.c.o
  69. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/appweb_handle.c.o
  70. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/cJSON.c.o
  71. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/cascade.c.o
  72. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/cascade_slave.c.o
  73. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/common.c.o
  74. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/dflt.c.o
  75. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/hlw8110_handle.c.o
  76. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/io.c.o
  77. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/json_handle.c.o
  78. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/language_hashmap.c.o
  79. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/lcd_app.c.o
  80. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/lcd_drv.c.o
  81. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/main.c.o
  82. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/modbus_handle.c.o
  83. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/ntpclient.c.o
  84. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/paras.c.o
  85. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/pduMIB_form.c.o
  86. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/pduMIB_scalar.c.o
  87. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/pduMIB_trap.c.o
  88. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/sensor_handle.c.o
  89. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/sqlite_handle.c.o
  90. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/switch_ctrl.c.o
  91. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/sys.c.o
  92. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/websocket_handle.c.o
  93. BIN
      ip/build/CMakeFiles/smartPDU.dir/src/xlist.c.o
  94. 0 1468
      ip/build/Makefile
  95. 0 49
      ip/build/cmake_install.cmake
  96. 0 222
      ip/build/compile_commands.json
  97. BIN
      ip/build/smartPDU
  98. 71 11
      ip/config/cfg.h
  99. 1 1
      ip/easylogger/os/port/elog_port.c
  100. 0 0
      ip/ini/dictionary.c

+ 0 - 22
ip/.vscode/launch.json

@@ -1,22 +0,0 @@
-{
-    // Use IntelliSense to learn about possible attributes.
-    // Hover to view descriptions of existing attributes.
-    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
-    "version": "0.2.0",
-    "configurations": [
-        {
-            "name": "(gdb) Launch",
-            "type": "cppdbg",
-            "request": "launch",
-            "program": "${workspaceFolder}/build/smartPDU",
-            "args": [],
-            "stopAtEntry": false,
-            "cwd": "${fileDirname}",
-            "environment": [],
-            "externalConsole": false,
-            "MIMode": "gdb",
-            "miDebuggerPath": "/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gdb",
-            "miDebuggerServerAddress": "192.168.1.132:1234"
-        }
-    ]
-}

+ 0 - 61
ip/.vscode/settings.json

@@ -1,61 +0,0 @@
-{
-    "files.associations": {
-        "sqlite_handle.h": "c",
-        "json_handle.h": "c",
-        "cjson.h": "c",
-        "common.h": "c",
-        "cmath": "c",
-        "shell.h": "c",
-        "string.h": "c",
-        "list.h": "c",
-        "stdbool.h": "c",
-        "modbus_handle.h": "c",
-        "stdio.h": "c",
-        "switch_ctrl.h": "c",
-        "typeinfo": "c",
-        "list": "c",
-        "sensor_handle.h": "c",
-        "array": "c",
-        "istream": "c",
-        "ostream": "c",
-        "tuple": "c",
-        "type_traits": "c",
-        "utility": "c",
-        "stat.h": "c",
-        "unistd.h": "c",
-        "types.h": "c",
-        "fcntl.h": "c",
-        "pthread.h": "c",
-        "websocket_handle.h": "c",
-        "xutility": "c",
-        "system_error": "c",
-        "appweb.h": "c",
-        "sqlite3.h": "c",
-        "optional": "c",
-        "unordered_map": "c",
-        "vector": "c",
-        "memory": "c",
-        "string_view": "c",
-        "language_hashmap.h": "c",
-        "language_common.h": "c",
-        "hlw8110_habdle.h": "c",
-        "ntpclient.h": "c",
-        "mongoose.h": "c",
-        "stdlib.h": "c",
-        "appweb_handle.h": "c",
-        "sstream": "c",
-        "initializer_list": "c",
-        "deque": "c",
-        "string": "c",
-        "modbus-tcp.h": "c",
-        "ioctl.h": "c",
-        "ioctls.h": "c",
-        "elog.h": "c",
-        "in.h": "c",
-        "algorithm": "c",
-        "mman.h": "c",
-        "modbus-rtu.h": "c",
-        "modbus.h": "c"
-    },
-    "C_Cpp.errorSquiggles": "disabled"
-}

+ 67 - 23
ip/CMakeLists.txt

@@ -4,41 +4,49 @@ cmake_minimum_required (VERSION 2.8)
 set(CMAKE_C_COMPILER "arm-openwrt-linux-gcc")
 set(CMAKE_CXX_COMPILER "arm-openwrt-linux-g++")
 
-set(SYS_ROOT "/home/liyi/tina/out/t113-bingpi_m2/staging_dir/target/usr/include")
-
 # 设置目标平台和架构
 set(CMAKE_SYSTEM_NAME Linux)
 set(CMAKE_SYSTEM_PROCESSOR arm)
 
-
 project (pdu_ctrl_app)
 
 add_definitions(-DSHELL_CFG_USER="shell_cfg_user.h")
-include_directories(/home/liyi/tina/out/t113-bingpi_m2/staging_dir/target/usr/include/)
-include_directories (${PROJECT_SOURCE_DIR}/modbus/inc ${PROJECT_SOURCE_DIR}/sqlite/inc ${PROJECT_SOURCE_DIR}/appweb/inc)
+set(STAGING_DIR "/home/liyi/tina/out/t113-bingpi_m2/staging_dir")
+set(COMPILING_DIR "/home/liyi/tina/out/t113-bingpi_m2/compile_dir")
+
+
+include_directories (${PROJECT_SOURCE_DIR}/modbus/inc 
+                     ${PROJECT_SOURCE_DIR}/ini
+                     ${PROJECT_SOURCE_DIR}/sqlite/inc)
 
 include_directories (${PROJECT_SOURCE_DIR}/easylogger/os/inc)
 include_directories (${PROJECT_SOURCE_DIR}/easylogger/inc)
 include_directories (${PROJECT_SOURCE_DIR}/easylogger/plugins/file)
+include_directories (${STAGING_DIR}/target/usr/include)
 
 include_directories (${PROJECT_SOURCE_DIR}/letter/src)
 include_directories (${PROJECT_SOURCE_DIR}/letter/os)
 include_directories (${PROJECT_SOURCE_DIR}/mongoose)
-include_directories (${PROJECT_SOURCE_DIR}/sqlite)
+include_directories (${PROJECT_SOURCE_DIR}/sqlite/inc)
 include_directories (${PROJECT_SOURCE_DIR}/modbus)
 include_directories (${PROJECT_SOURCE_DIR}/snmp/include)
-include_directories (${PROJECT_SOURCE_DIR}/src)
-include_directories (${PROJECT_SOURCE_DIR}/openssl/include)
 include_directories (${PROJECT_SOURCE_DIR}/upgrade)
 include_directories (${PROJECT_SOURCE_DIR}/config)
 include_directories (${SYS_ROOT})
 
-link_directories(${PROJECT_SOURCE_DIR}/modbus/lib ${PROJECT_SOURCE_DIR}/sqlite/lib ${PROJECT_SOURCE_DIR}/appweb/lib ${PROJECT_SOURCE_DIR}/snmp/lib)
-link_directories(${PROJECT_SOURCE_DIR}/appweb/lib ${PROJECT_SOURCE_DIR}/snmp/lib  ${PROJECT_SOURCE_DIR}/openssl/lib)
 
+link_directories(${PROJECT_SOURCE_DIR}/appweb/lib)
+link_directories(${PROJECT_SOURCE_DIR}/snmp/lib)
+#link_directories(${PROJECT_SOURCE_DIR}/sqlite/lib)
+link_directories(${PROJECT_SOURCE_DIR}/modbus/lib)
+link_directories(${STAGING_DIR}/target/usr/lib)
+link_directories(${STAGING_DIR}/target/lib)
+link_directories(${COMPILING_DIR}/target/lib)
+link_directories(${COMPILING_DIR}/target/usr/lib)
+link_directories(${COMPILING_DIR}/target/usr/lib/arm-qt/lib)
 add_definitions("-Wall -g")
 
-set( SRC_LIST
+set(PDU_SRC_LIST
 	${PROJECT_SOURCE_DIR}/letter/src/shell_cmd_list.c
 	${PROJECT_SOURCE_DIR}/letter/src/shell_companion.c
 	${PROJECT_SOURCE_DIR}/letter/src/shell_ext.c
@@ -53,6 +61,9 @@ set( SRC_LIST
 	${PROJECT_SOURCE_DIR}/easylogger/src/elog_buf.c	
 	${PROJECT_SOURCE_DIR}/easylogger/src/elog_utils.c
 
+    ${PROJECT_SOURCE_DIR}/ini/dictionary.c
+	${PROJECT_SOURCE_DIR}/ini/iniparser.c
+
 	${PROJECT_SOURCE_DIR}/mongoose/mongoose.c
 	${PROJECT_SOURCE_DIR}/src/websocket_handle.c
 
@@ -61,6 +72,7 @@ set( SRC_LIST
 	${PROJECT_SOURCE_DIR}/src/lcd_drv.c
 	${PROJECT_SOURCE_DIR}/src/sensor_handle.c
 	${PROJECT_SOURCE_DIR}/src/cJSON.c
+	${PROJECT_SOURCE_DIR}/src/language_common.c
 	${PROJECT_SOURCE_DIR}/src/common.c
 	${PROJECT_SOURCE_DIR}/src/app.c
 	${PROJECT_SOURCE_DIR}/src/appweb_handle.c
@@ -72,30 +84,62 @@ set( SRC_LIST
 	${PROJECT_SOURCE_DIR}/src/dflt.c
 	${PROJECT_SOURCE_DIR}/src/paras.c
 	${PROJECT_SOURCE_DIR}/src/xlist.c
+	${PROJECT_SOURCE_DIR}/src/thread.c
 	${PROJECT_SOURCE_DIR}/src/cascade.c
+    ${PROJECT_SOURCE_DIR}/src/cascade_slave.c
+	${PROJECT_SOURCE_DIR}/src/upg.c
+	${PROJECT_SOURCE_DIR}/src/file.c
+	${PROJECT_SOURCE_DIR}/src/lock.c
+	${PROJECT_SOURCE_DIR}/src/smtp.c
+	${PROJECT_SOURCE_DIR}/src/mqtt.c
+	${PROJECT_SOURCE_DIR}/src/netswitch.c
 	${PROJECT_SOURCE_DIR}/src/main.c
-	${PROJECT_SOURCE_DIR}/src/cascade_slave.c
-
-	${PROJECT_SOURCE_DIR}/modbus/modbus.c
-	${PROJECT_SOURCE_DIR}/modbus/modbus-data.c
-	${PROJECT_SOURCE_DIR}/modbus/modbus-rtu.c
-	${PROJECT_SOURCE_DIR}/modbus/modbus-tcp.c
-
-	${PROJECT_SOURCE_DIR}/sqlite/sqlite3.c
 
 	${PROJECT_SOURCE_DIR}/src/language_hashmap.c
 	${PROJECT_SOURCE_DIR}/src/ntpclient.c
 	${PROJECT_SOURCE_DIR}/src/pduMIB_form.c
 	${PROJECT_SOURCE_DIR}/src/pduMIB_scalar.c
 	${PROJECT_SOURCE_DIR}/src/pduMIB_trap.c
-	${PROJECT_SOURCE_DIR}/src/pduMIB_trap.c
 	${PROJECT_SOURCE_DIR}/src/hlw8110_handle.c
+	#${PROJECT_SOURCE_DIR}/src/breaker_detection.c
+	
+	${PROJECT_SOURCE_DIR}/modbus/modbus.c
+	${PROJECT_SOURCE_DIR}/modbus/modbus-data.c
+	${PROJECT_SOURCE_DIR}/modbus/modbus-rtu.c
+	${PROJECT_SOURCE_DIR}/modbus/modbus-tcp.c
+	
 	)
 
-add_executable(smartPDU ${SRC_LIST})
+set(NO_WARNNING_FLAGS "-Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${NO_WARNNING_FLAGS} -Werror")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${NO_WARNNING_FLAGS} -Werror")
+
+#set_target_properties(my_executable PROPERTIES LINK_FLAGS "-pthread")
+
+
+add_executable(smartPDU ${PDU_SRC_LIST})
+target_link_libraries(smartPDU  -lsqlite3 -lssl -lc -ldl -lcurl -lpthread -lnetsnmp -lnetsnmpagent -lrt)
+
+
+set(SRC_DIR ${PROJECT_BINARY_DIR})
+set(DST_DIR ${PROJECT_SOURCE_DIR}/../output)
+set(CHIP t113i)
+
+set(UPG_SRC_LIST ${PROJECT_SOURCE_DIR}/upgrade/md5.c
+                 ${PROJECT_SOURCE_DIR}/upgrade/upgrade.c)
+				
+add_executable(smartUPG ${UPG_SRC_LIST})
+target_link_libraries(smartUPG -lc -lpthread)
+
+add_custom_command(TARGET smartUPG  POST_BUILD
+                   COMMAND mkdir -p ${DST_DIR}/${CHIP}/usr/sbin
+                   COMMAND cp -upf  ${SRC_DIR}/smartUPG ${DST_DIR}/${CHIP}/usr/sbin)
 
-set_target_properties(smartPDU PROPERTIES LINK_FLAGS "-Wl,--disable-new-dtags,-rpath=${MY_PATH}/lib:${MY_PATH}/usr/lib")
-target_link_libraries (smartPDU -lappweb -lesp -lhttp -lmpr -lpcre -lc -lpthread -lnetsnmp -lnetsnmpagent -lssl -lcrypto)
+add_custom_command(TARGET  smartPDU  POST_BUILD
+                   COMMAND mkdir -p ${DST_DIR}/${CHIP}/root/run/app
+                   COMMAND cp -upf  ${SRC_DIR}/smartPDU ${DST_DIR}/${CHIP}/root/run/app)
 
 
 
+#execute_process(COMMAND ${DST_DIR}/pack.sh)
+#add_custom_target(PACK COMMAND ${DST_DIR}/pack.sh ALWAYS)

+ 0 - 1
ip/README.md

@@ -1 +0,0 @@
-Smart PDU项目

+ 0 - 304
ip/appweb/inc/appweb.h

@@ -1,304 +0,0 @@
-/*
-    appweb.h -- Embedthis Appweb HTTP Web Server header
-
-    Copyright (c) All Rights Reserved. See details at the end of the file.
- */
-
-#ifndef _h_APPWEB
-#define _h_APPWEB 1
-
-/********************************* Includes ***********************************/
-
-#include    "osdep.h"
-#include    "mpr.h"
-#include    "http.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/********************************* Tunables ***********************************/
-
-#define MA_UNLOAD_TIMEOUT       "5mins"     /**< Default module inactivity timeout */
-
-/********************************** Defines ***********************************/
-/*
-    Pack defaults
- */
-#ifndef ME_COM_CGI
-    #define ME_COM_CGI 0
-#endif
-#ifndef ME_COM_EJSCRIPT
-    #define ME_COM_EJSCRIPT 0
-#endif
-#ifndef ME_COM_ESP
-    #define ME_COM_ESP 0
-#endif
-#ifndef ME_COM_FAST
-    #define ME_COM_FAST 0
-#endif
-#ifndef ME_COM_MDB
-    #define ME_COM_MDB 0
-#endif
-#ifndef ME_COM_PHP
-    #define ME_COM_PHP 0
-#endif
-#ifndef ME_COM_PROXY
-    #define ME_COM_PROXY 0
-#endif
-#ifndef ME_COM_SDB
-    #define ME_COM_SDB 0
-#endif
-#ifndef ME_COM_SSL
-    #define ME_COM_SSL 0
-#endif
-#ifndef ME_COM_TEST
-    #define ME_COM_TEST 0
-#endif
-
-/******************************************************************************/
-/*
-    State flags
- */
-#define MA_PARSE_NON_SERVER     0x1     /**< Command file being parsed by a utility program */
-
-/**
-    Current configuration parse state
-    @stability Evolving
-    @defgroup MaState MaState
-    @see MaDirective MaState maAddDirective maArchiveLog maPopState maPushState maTokenize
-    @stability Evolving
- */
-typedef struct MaState {
-    HttpHost    *host;                  /**< Current host */
-    HttpAuth    *auth;                  /**< Quick alias for route->auth */
-    HttpRoute   *route;                 /**< Current route */
-    MprFile     *file;                  /**< Config file handle */
-    char        *key;                   /**< Current directive being parsed */
-    char        *configDir;             /**< Directory containing config file */
-    char        *filename;              /**< Config file name */
-    char        *endpoints;             /**< Virtual host endpoints */
-    char        *data;                  /**< Config data (managed) */
-    int         lineNumber;             /**< Current line number */
-    int         enabled;                /**< True if the current block is enabled */
-    int         flags;                  /**< Parsing flags */
-    struct MaState *prev;               /**< Previous (inherited) state */
-    struct MaState *top;                /**< Top level state */
-    struct MaState *current;            /**< Current state */
-} MaState;
-
-/**
-    Appweb configuration file directive parsing callback function
-    @description Directive callbacks are invoked to parse a directive. Directive callbacks are registered using
-        #maAddDirective.
-    @param state Current config parse state.
-    @param key Directive key name
-    @param value Directive key value
-    @return Zero if successful, otherwise a negative Mpr error code. See the Appweb log for diagnostics.
-    @ingroup MaState
-    @stability Evolving
- */
-typedef int (MaDirective)(MaState *state, cchar *key, cchar *value);
-
-/**
-    Define a new appweb configuration file directive
-    @description The appweb configuration file parse is extensible. New directives can be registered by this call. When
-        encountered in the config file, the given callback proc will be invoked to parse.
-    @param directive Directive name
-    @param proc Directive callback procedure of the type #MaDirective.
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC void maAddDirective(cchar *directive, MaDirective proc);
-
-/**
-    Configure a web server
-    @description This will configure a web server based on either a configuration file or using the supplied
-        IP address and port.
-    @param configFile File name of the Appweb configuration file (appweb.conf) that defines the web server configuration.
-    @param home Admin directory for the server. This overrides the value in the config file.
-    @param documents Default directory for web documents to serve. This overrides the value in the config file.
-    @param ip IP address to listen on. This overrides the value specified in the config file.
-    @param port Port address to listen on. This overrides the value specified in the config file.
-    @return Zero if successful, otherwise a negative Mpr error code. See the Appweb log for diagnostics.
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC int maConfigureServer(cchar *configFile, cchar *home, cchar *documents, cchar *ip, int port);
-
-/**
-    Get the argument in a directive
-    @description Break into arguments. Args may be quoted. An outer quoting of the entire arg is removed.
-    @param s String to examine
-    @param tok Next token reference
-    @return Reference to the next token. (Not allocate
-    @ingroup MaState
-    @stability Evolving
-*/
-PUBLIC char *maGetNextArg(char *s, char **tok);
-
-/**
-    Load an appweb module
-    @description Load an appweb module. If the module is already loaded, this call will return successfully without
-        reloading. Modules can be dynamically loaded or may also be pre-loaded using static linking.
-    @param name User name. Must be defined in the system password file.
-    @param libname Library path name
-    @return Zero if successful, otherwise a negative Mpr error code. See the Appweb log for diagnostics.
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC int maLoadModule(cchar *name, cchar *libname);
-
-/**
-    Load default modules
-    @return Zero if successful, otherwise a negative Mpr error code. See the Appweb log for diagnostics.
-    @ingroup MaState
-    @stability Prototype
- */
-PUBLIC int maLoadModules(void);
-
-/**
-    Parse an Appweb configuration file
-    @description Parse the configuration file and configure the server. This creates a default host and route
-        and then configures the server based on config file directives.
-    @param path Configuration file pathname.
-    @return Zero if successful, otherwise a negative Mpr error code. See the Appweb log for diagnostics.
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC int maParseConfig(cchar *path);
-
-/**
-    Parse a configuration file
-    @param state Current state level object
-    @param path Filename to parse
-    @return Zero if successful, otherwise a negative Mpr error code. See the Appweb log for diagnostics.
-    @ingroup MaState
-    @stability Prototype
- */
-PUBLIC int maParseFile(MaState *state, cchar *path);
-
-/**
-    Pop the state
-    @description This is used when parsing config files to handle nested include files and block level directives
-    @param state Current state
-    @return The next lower level state object
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC MaState *maPopState(MaState *state);
-
-/**
-    Push the state
-    @description This is used when parsing config files to handle nested include files and block level directives
-    @param state Current state
-    @return The state passed as a parameter which becomes the new top level state
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC MaState *maPushState(MaState *state);
-
-/**
-    Tokenize a string based on route data
-    @description This is a utility routine to parse a string into tokens given a format specifier.
-    Mandatory tokens can be specified with "%" format specifier. Optional tokens are specified with "?" format.
-    Values wrapped in quotes will have the outermost quotes trimmed.
-    @param state Current config parsing state
-    @param str String to expand
-    @param fmt Format string specifier
-    Supported tokens:
-    <ul>
-    <li>%B - Boolean. Parses: on/off, true/false, yes/no.</li>
-    <li>%N - Number. Parses numbers in base 10.</li>
-    <li>%S - String. Removes quotes.</li>
-    <li>%P - Path string. Removes quotes and expands ${PathVars}. Resolved relative to host->dir (ServerRoot).</li>
-    <li>%W - Parse words into a list</li>
-    <li>%! - Optional negate. Set value to HTTP_ROUTE_NOT present, otherwise zero.</li>
-    </ul>
-    @return True if the string can be successfully parsed.
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC bool maTokenize(MaState *state, cchar *str, cchar *fmt, ...);
-
-/**
-    Create and run a simple web server listening on a single IP address.
-    @description Create a simple web server without using a configuration file. The server is created to listen on
-        the specified IP address and port. This routine provides a one-line embedding of Appweb. If you want to
-        use a config file, try the #maRunWebServer instead.
-    @param ip IP address on which to listen. Set to "0.0.0.0" to listen on all interfaces.
-    @param port Port number to listen to
-    @param home Home directory for the web server
-    @param documents Directory containing the documents to serve.
-    @return Zero if successful, otherwise a negative Mpr error code. See the Appweb log for diagnostics.
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC int maRunSimpleWebServer(cchar *ip, int port, cchar *home, cchar *documents);
-
-/**
-    Create and run a web server based on a configuration file
-    @description Create a web server configuration based on the supplied config file. This routine provides
-        a one-line embedding of Appweb. If you don't want to use a config file, try the #maRunSimpleWebServer
-        instead.
-    @param configFile File name of the Appweb configuration file (appweb.conf) that defines the web server configuration.
-    @return Zero if successful, otherwise a negative Mpr error code. See the Appweb log for diagnostics.
-    @ingroup MaState
-    @stability Evolving
- */
-PUBLIC int maRunWebServer(cchar *configFile);
-
-/**
-    Save the authorization configuration to a file
-    AuthFile schema:
-        User name password abilities...
-        Role name abilities...
-    @param auth Auth object allocated by #httpCreateAuth.
-    @param path Path name of file
-    @return "Zero" if successful, otherwise a negative MPR error code
-    @ingroup HttpAuth
-    @stability Internal
-    @internal
- */
-PUBLIC int maWriteAuthFile(HttpAuth *auth, char *path);
-
-/*
-    Internal
- */
-#if ME_COM_CGI
-    PUBLIC int httpCgiInit(Http *http, MprModule *mp);
-#endif
-#if ME_COM_FAST
-    PUBLIC int httpFastInit(Http *http, MprModule *mp);
-#endif
-#if ME_COM_ESP
-    PUBLIC int httpEspInit(Http *http, MprModule *mp);
-#endif
-#if ME_COM_PROXY
-    PUBLIC int httpProxyInit(Http *http, MprModule *mp);
-#endif
-#if ME_COM_TEST
-    PUBLIC int httpTestInit(Http *http, MprModule *mp);
-#endif
-
-PUBLIC int maTraceDirective(MaState *state, HttpTrace *trace, cchar *key, cchar *value);
-PUBLIC int maTraceLogDirective(MaState *state, HttpTrace *trace, cchar *key, cchar *value);
-
-#ifdef __cplusplus
-} /* extern C */
-#endif
-
-/*
-    Permit overrides
- */
-#if ME_CUSTOMIZE
- #include "customize.h"
-#endif
-
-#endif /* _h_APPWEB */
-
-/*
-    Copyright (c) Embedthis Software. All Rights Reserved.
-    This software is distributed under a commercial license. Consult the LICENSE.md
-    distributed with this software for full details and copyrights.
- */

+ 0 - 16
ip/appweb/inc/customize.h

@@ -1,16 +0,0 @@
-/*
-    customize.h -- Place to override standard product defintions
- */
-
-#ifndef _h_CUSTOMIZE_h
-#define _h_CUSTOMIZE_h 1
-
-/*
-    Override definitions here. This file is included after all other headers are parsed.
-
-    If you require function name remapping in ESP, do so here. Change the "xx_" to any 
-    unique prefix you require. Then use that name in ESP pages and controllers.
-
-    #define script xx_script
- */
-#endif /* _h_CUSTOMIZE_h */

+ 0 - 193
ip/appweb/inc/embedtls.h

@@ -1,193 +0,0 @@
-/*
-    embedtls.h - MbedTLS customization Header
-
-    Override mbedtls-config.h settings
- */
-
-#ifndef _h_EMBEDTLS
-#define _h_EMBEDTLS 1
-
-#include "osdep.h"
-
-#if ME_UNIX_LIKE
-    #define MBEDTLS_DEPRECATED_WARNING
-#endif
-#define MBEDTLS_DEPRECATED_REMOVED
-#undef  MBEDTLS_SELF_TEST
-
-#if ME_COM_MPR || ME_MPR_PRODUCT || ME_MULTITHREAD
-    #define MBEDTLS_THREADING_C
-    #define MBEDTLS_THREADING_ALT
-    typedef struct MprMutex* mbedtls_threading_mutex_t;
-#endif
-
-#if ME_DEBUG
-    #define MBEDTLS_SSL_DEBUG_ALL
-    #define MBEDTLS_DEBUG_C
-#endif
-#if ME_CPU_ARCH == ME_CPU_X86 || ME_CPU_ARCH == ME_CPU_X64
-    #define MBEDTLS_HAVE_SSE2
-#endif
-
-/*
-    Map MakeMe configuration into MbedTLS defines.
-    If mbedtls.NAME is defined, then override the MbedTLS definition from config.h
-    mbedtls.compact defines an optimized general compact/embedded configuration.
- */
-#if ME_MBEDTLS_COMPACT
-    #undef MBEDTLS_ARC4_C
-    #undef MBEDTLS_AES_ROM_TABLES
-    #undef MBEDTLS_BLOWFISH_C
-    #undef MBEDTLS_CAMELLIA_C
-    #undef MBEDTLS_DES_C
-    #undef MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
-    #undef MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
-    #undef MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
-    #undef MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
-    #undef MBEDTLS_PADLOCK_C
-    #undef MBEDTLS_PEM_WRITE_C
-    #undef MBEDTLS_RIPEMD160_C
-    #undef MBEDTLS_SSL3
-    #undef MBEDTLS_SSL_PROTO_DTLS
-    #undef MBEDTLS_SSL_DTLS_ANTI_REPLAY
-    #undef MBEDTLS_SSL_DTLS_HELLO_VERIFY
-    #undef MBEDTLS_SSL_DTLS_BADMAC_LIMIT
-    #undef MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE
-    #undef MBEDTLS_TIMING_C
-    #undef MBEDTLS_VERSION_C
-    #undef MBEDTLS_VERSION_FEATURES
-    #undef MBEDTLS_XTEA_C
-    #undef MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO
-    #define MBEDTLS_REMOVE_ARC4_CIPHERSUITES
-#endif
-
-/*
-    Feature selection based on main.me settings.mbedtls configuration.
- */
-#if ME_MBEDTLS_AES_ROM_TABLES
-    #define MBEDTLS_AES_ROM_TABLES
-#elif defined(ME_MBEDTLS_AES_ROM_TABLES) && ME_MBEDTLS_AES_ROM_TABLES == 0
-    #undef MBEDTLS_AES_ROM_TABLES
-#endif
-
-#if ME_MBEDTLS_ARC4
-    #define MBEDTLS_ARC4_C
-#elif defined(ME_MBEDTLS_ARC4) && ME_MBEDTLS_ARC4 == 0
-    #undef MBEDTLS_ARC4_C
-    #define MBEDTLS_REMOVE_ARC4_CIPHERSUITES
-#endif
-
-#if ME_MBEDTLS_CAMELLIA
-    #define MBEDTLS_CAMELLIA_C
-#elif defined(ME_MBEDTLS_CAMELLIA) && ME_MBEDTLS_CAMELLIA == 0
-    #undef MBEDTLS_CAMELLIA_C
-#endif
-
-#if ME_MBEDTLS_CBC
-    #define MBEDTLS_CIPHER_MODE_CBC
-#elif defined(ME_MBEDTLS_CBC) && ME_MBEDTLS_CBC == 0
-    #undef MBEDTLS_CIPHER_MODE_CBC
-#endif
-
-#if ME_MBEDTLS_CCM
-    #define MBEDTLS_CCM_C
-#elif defined(ME_MBEDTLS_CCM) && ME_MBEDTLS_CCM == 0
-    #undef MBEDTLS_CCM_C
-#endif
-
-#if ME_MBEDTLS_DES
-    #define MBEDTLS_DES_C
-#elif defined(ME_MBEDTLS_DES) && ME_MBEDTLS_DES == 0
-    #undef MBEDTLS_DES_C
-#endif
-
-#if ME_MBEDTLS_PADLOCK
-    #define MBEDTLS_PADLOCK_C
-#elif defined(ME_MBEDTLS_PADLOCK) && ME_MBEDTLS_PADLOCK == 0
-    #undef MBEDTLS_PADLOCK_C
-#endif
-
-#if ME_MBEDTLS_PSK
-    #define MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
-    #define MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
-    #define MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
-    #define MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
-#elif defined(ME_MBEDTLS_PSK) && ME_MBEDTLS_PSK == 0
-    #undef MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
-    #undef MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
-    #undef MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
-    #undef MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
-#endif
-
-#if ME_MBEDTLS_XTEA
-    #define MBEDTLS_XTEA_C
-#elif defined(ME_MBEDTLS_XTEA) && ME_MBEDTLS_XTEA == 0
-    #undef MBEDTLS_XTEA_C
-#endif
-
-#ifndef MBEDTLS_SSL_CIPHERSUITES
-    /*
-        Modified to push down to remove obsolete SHA-1 ciphers
-     */
-    #define MBEDTLS_SSL_CIPHERSUITES \
-    \
-    /* All AES-256 ephemeral suites */ \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, \
-    MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CCM, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CCM, \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, \
-    MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CCM_8, \
-    \
-    /* All AES-128 ephemeral suites */ \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, \
-    MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CCM, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CCM, \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, \
-    MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CCM_8, \
-    \
-    /* All AES-256 suites */ \
-    MBEDTLS_TLS_RSA_WITH_AES_256_GCM_SHA384, \
-    MBEDTLS_TLS_RSA_WITH_AES_256_CCM, \
-    MBEDTLS_TLS_RSA_WITH_AES_256_CBC_SHA256, \
-    MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, \
-    MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, \
-    MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, \
-    MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, \
-    MBEDTLS_TLS_RSA_WITH_AES_256_CCM_8, \
-    \
-    /* All AES-128 suites */ \
-    MBEDTLS_TLS_RSA_WITH_AES_128_GCM_SHA256, \
-    MBEDTLS_TLS_RSA_WITH_AES_128_CCM, \
-    MBEDTLS_TLS_RSA_WITH_AES_128_CBC_SHA256, \
-    MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, \
-    MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, \
-    MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, \
-    MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, \
-    MBEDTLS_TLS_RSA_WITH_AES_128_CCM_8, \
-    \
-    /* Obsolete Compatibility suites  */ \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, \
-    MBEDTLS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_256_CBC_SHA, \
-    MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, \
-    MBEDTLS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, \
-    MBEDTLS_TLS_DHE_RSA_WITH_AES_128_CBC_SHA, \
-    MBEDTLS_TLS_RSA_WITH_AES_256_CBC_SHA, \
-    MBEDTLS_TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, \
-    MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, \
-    MBEDTLS_TLS_RSA_WITH_AES_128_CBC_SHA, \
-    MBEDTLS_TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, \
-    MBEDTLS_TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
-#endif
-
-#endif /* _h_EMBEDTLS */

File diff suppressed because it is too large
+ 0 - 4435
ip/appweb/inc/esp.h


File diff suppressed because it is too large
+ 0 - 9013
ip/appweb/inc/http.h


File diff suppressed because it is too large
+ 0 - 36842
ip/appweb/inc/mbedtls.h


+ 0 - 387
ip/appweb/inc/me.h

@@ -1,387 +0,0 @@
-/*
-    me.h -- MakeMe Configure Header for linux-x86-default
-
-    This header is created by Me during configuration. To change settings, re-run
-    configure or define variables in your Makefile to override these default values.
- */
-
-/* Settings */
-#ifndef ME_AUTHOR
-    #define ME_AUTHOR "Embedthis Software"
-#endif
-#ifndef ME_CERTS_BITS
-    #define ME_CERTS_BITS 2048
-#endif
-#ifndef ME_CERTS_DAYS
-    #define ME_CERTS_DAYS 3650
-#endif
-#ifndef ME_CERTS_GENDH
-    #define ME_CERTS_GENDH 1
-#endif
-#ifndef ME_COMPANY
-    #define ME_COMPANY "embedthis"
-#endif
-#ifndef ME_COMPAT
-    #define ME_COMPAT 1
-#endif
-#ifndef ME_COMPATIBLE
-    #define ME_COMPATIBLE "8.3"
-#endif
-#ifndef ME_COMPILER_FORTIFY
-    #define ME_COMPILER_FORTIFY 1
-#endif
-#ifndef ME_COMPILER_HAS_ATOMIC
-    #define ME_COMPILER_HAS_ATOMIC 0
-#endif
-#ifndef ME_COMPILER_HAS_ATOMIC64
-    #define ME_COMPILER_HAS_ATOMIC64 0
-#endif
-#ifndef ME_COMPILER_HAS_DOUBLE_BRACES
-    #define ME_COMPILER_HAS_DOUBLE_BRACES 0
-#endif
-#ifndef ME_COMPILER_HAS_DYN_LOAD
-    #define ME_COMPILER_HAS_DYN_LOAD 1
-#endif
-#ifndef ME_COMPILER_HAS_LIB_EDIT
-    #define ME_COMPILER_HAS_LIB_EDIT 0
-#endif
-#ifndef ME_COMPILER_HAS_LIB_RT
-    #define ME_COMPILER_HAS_LIB_RT 1
-#endif
-#ifndef ME_COMPILER_HAS_MMU
-    #define ME_COMPILER_HAS_MMU 1
-#endif
-#ifndef ME_COMPILER_HAS_MTUNE
-    #define ME_COMPILER_HAS_MTUNE 1
-#endif
-#ifndef ME_COMPILER_HAS_PAM
-    #define ME_COMPILER_HAS_PAM 0
-#endif
-#ifndef ME_COMPILER_HAS_STACK_PROTECTOR
-    #define ME_COMPILER_HAS_STACK_PROTECTOR 1
-#endif
-#ifndef ME_COMPILER_HAS_SYNC
-    #define ME_COMPILER_HAS_SYNC 1
-#endif
-#ifndef ME_COMPILER_HAS_SYNC64
-    #define ME_COMPILER_HAS_SYNC64 1
-#endif
-#ifndef ME_COMPILER_HAS_SYNC_CAS
-    #define ME_COMPILER_HAS_SYNC_CAS 0
-#endif
-#ifndef ME_COMPILER_HAS_UNNAMED_UNIONS
-    #define ME_COMPILER_HAS_UNNAMED_UNIONS 1
-#endif
-#ifndef ME_COMPILER_WARN64TO32
-    #define ME_COMPILER_WARN64TO32 0
-#endif
-#ifndef ME_COMPILER_WARN_UNUSED
-    #define ME_COMPILER_WARN_UNUSED 1
-#endif
-#ifndef ME_CONFIG_FILE
-    #define ME_CONFIG_FILE "appweb.conf"
-#endif
-#ifndef ME_DEBUG
-    #define ME_DEBUG 1
-#endif
-#ifndef ME_DEPRECATED_WARNINGS
-    #define ME_DEPRECATED_WARNINGS 0
-#endif
-#ifndef ME_DEPTH
-    #define ME_DEPTH 1
-#endif
-#ifndef ME_DESCRIPTION
-    #define ME_DESCRIPTION "Embedthis Appweb"
-#endif
-#ifndef ME_ESP_CMD
-    #define ME_ESP_CMD 1
-#endif
-#ifndef ME_ESP_LEGACY
-    #define ME_ESP_LEGACY 0
-#endif
-#ifndef ME_ESP_MODULE
-    #define ME_ESP_MODULE 0
-#endif
-#ifndef ME_ESP_NAME
-    #define ME_ESP_NAME "appweb-esp"
-#endif
-#ifndef ME_HTTP_BASIC
-    #define ME_HTTP_BASIC 1
-#endif
-#ifndef ME_HTTP_CACHE
-    #define ME_HTTP_CACHE 1
-#endif
-#ifndef ME_HTTP_CMD
-    #define ME_HTTP_CMD 1
-#endif
-#ifndef ME_HTTP_DEFENSE
-    #define ME_HTTP_DEFENSE 1
-#endif
-#ifndef ME_HTTP_DIGEST
-    #define ME_HTTP_DIGEST 1
-#endif
-#ifndef ME_HTTP_DIR
-    #define ME_HTTP_DIR 1
-#endif
-#ifndef ME_HTTP_HTTP2
-    #define ME_HTTP_HTTP2 1
-#endif
-#ifndef ME_HTTP_PAM
-    #define ME_HTTP_PAM 1
-#endif
-#ifndef ME_HTTP_SENDFILE
-    #define ME_HTTP_SENDFILE 1
-#endif
-#ifndef ME_HTTP_UPLOAD
-    #define ME_HTTP_UPLOAD 1
-#endif
-#ifndef ME_HTTP_WEB_SOCKETS
-    #define ME_HTTP_WEB_SOCKETS 1
-#endif
-#ifndef ME_INTEGRATE
-    #define ME_INTEGRATE 1
-#endif
-#ifndef ME_MANIFEST
-    #define ME_MANIFEST "installs/manifest.me"
-#endif
-#ifndef ME_MBEDTLS_COMPACT
-    #define ME_MBEDTLS_COMPACT 1
-#endif
-#ifndef ME_MPR_LOGGING
-    #define ME_MPR_LOGGING 1
-#endif
-#ifndef ME_MPR_OSLOG
-    #define ME_MPR_OSLOG 0
-#endif
-#ifndef ME_MPR_ROM_MOUNT
-    #define ME_MPR_ROM_MOUNT "/rom"
-#endif
-#ifndef ME_MPR_SSL_CACHE
-    #define ME_MPR_SSL_CACHE 512
-#endif
-#ifndef ME_MPR_SSL_HANDSHAKES
-    #define ME_MPR_SSL_HANDSHAKES 3
-#endif
-#ifndef ME_MPR_SSL_LOG_LEVEL
-    #define ME_MPR_SSL_LOG_LEVEL 6
-#endif
-#ifndef ME_MPR_SSL_TICKET
-    #define ME_MPR_SSL_TICKET 1
-#endif
-#ifndef ME_MPR_SSL_TIMEOUT
-    #define ME_MPR_SSL_TIMEOUT 86400
-#endif
-#ifndef ME_MPR_THREAD_LIMIT_BY_CORES
-    #define ME_MPR_THREAD_LIMIT_BY_CORES 1
-#endif
-#ifndef ME_MPR_THREAD_STACK
-    #define ME_MPR_THREAD_STACK 0
-#endif
-#ifndef ME_NAME
-    #define ME_NAME "appweb"
-#endif
-#ifndef ME_OPENSSL_VERSION
-    #define ME_OPENSSL_VERSION "1.0"
-#endif
-#ifndef ME_PARTS
-    #define ME_PARTS "undefined"
-#endif
-#ifndef ME_PLATFORMS
-    #define ME_PLATFORMS "local"
-#endif
-#ifndef ME_PREFIXES
-    #define ME_PREFIXES "install-prefixes"
-#endif
-#ifndef ME_PROFILE
-    #define ME_PROFILE "undefined"
-#endif
-#ifndef ME_ROM
-    #define ME_ROM 0
-#endif
-#ifndef ME_SERVER_ROOT
-    #define ME_SERVER_ROOT "."
-#endif
-#ifndef ME_TITLE
-    #define ME_TITLE "Embedthis Appweb"
-#endif
-#ifndef ME_TUNE
-    #define ME_TUNE "size"
-#endif
-#ifndef ME_VERSION
-    #define ME_VERSION "8.3.0"
-#endif
-#ifndef ME_WATCHDOG_NAME
-    #define ME_WATCHDOG_NAME "appman"
-#endif
-#ifndef ME_WEB_GROUP
-    #define ME_WEB_GROUP "nogroup"
-#endif
-#ifndef ME_WEB_USER
-    #define ME_WEB_USER "nobody"
-#endif
-
-/* Prefixes */
-#ifndef ME_ROOT_PREFIX
-    #define ME_ROOT_PREFIX "/"
-#endif
-#ifndef ME_BASE_PREFIX
-    #define ME_BASE_PREFIX "/usr/local"
-#endif
-#ifndef ME_DATA_PREFIX
-    #define ME_DATA_PREFIX "/"
-#endif
-#ifndef ME_STATE_PREFIX
-    #define ME_STATE_PREFIX "/var"
-#endif
-#ifndef ME_APP_PREFIX
-    #define ME_APP_PREFIX "/usr/local/lib/appweb"
-#endif
-#ifndef ME_VAPP_PREFIX
-    #define ME_VAPP_PREFIX "/usr/local/lib/appweb/8.3.0"
-#endif
-#ifndef ME_BIN_PREFIX
-    #define ME_BIN_PREFIX "/usr/local/bin"
-#endif
-#ifndef ME_INC_PREFIX
-    #define ME_INC_PREFIX "/usr/local/include"
-#endif
-#ifndef ME_LIB_PREFIX
-    #define ME_LIB_PREFIX "/usr/local/lib"
-#endif
-#ifndef ME_MAN_PREFIX
-    #define ME_MAN_PREFIX "/usr/local/share/man"
-#endif
-#ifndef ME_SBIN_PREFIX
-    #define ME_SBIN_PREFIX "/usr/local/sbin"
-#endif
-#ifndef ME_ETC_PREFIX
-    #define ME_ETC_PREFIX "/etc/appweb"
-#endif
-#ifndef ME_WEB_PREFIX
-    #define ME_WEB_PREFIX "/var/www/appweb"
-#endif
-#ifndef ME_LOG_PREFIX
-    #define ME_LOG_PREFIX "/var/log/appweb"
-#endif
-#ifndef ME_SPOOL_PREFIX
-    #define ME_SPOOL_PREFIX "/var/spool/appweb"
-#endif
-#ifndef ME_CACHE_PREFIX
-    #define ME_CACHE_PREFIX "/var/spool/appweb/cache"
-#endif
-#ifndef ME_SRC_PREFIX
-    #define ME_SRC_PREFIX "appweb-8.3.0"
-#endif
-
-/* Suffixes */
-#ifndef ME_EXE
-    #define ME_EXE ""
-#endif
-#ifndef ME_SHLIB
-    #define ME_SHLIB ".so"
-#endif
-#ifndef ME_SHOBJ
-    #define ME_SHOBJ ".so"
-#endif
-#ifndef ME_LIB
-    #define ME_LIB ".a"
-#endif
-#ifndef ME_OBJ
-    #define ME_OBJ ".o"
-#endif
-
-/* Profile */
-#ifndef ME_CONFIG_CMD
-    #define ME_CONFIG_CMD "me -d -q -platform linux-x86-default -configure . --with esp --with fast -with proxy -gen make"
-#endif
-#ifndef ME_APPWEB_PRODUCT
-    #define ME_APPWEB_PRODUCT 1
-#endif
-#ifndef ME_PROFILE
-    #define ME_PROFILE "default"
-#endif
-#ifndef ME_TUNE_SIZE
-    #define ME_TUNE_SIZE 1
-#endif
-
-/* Miscellaneous */
-#ifndef ME_MAJOR_VERSION
-    #define ME_MAJOR_VERSION 8
-#endif
-#ifndef ME_MINOR_VERSION
-    #define ME_MINOR_VERSION 3
-#endif
-#ifndef ME_PATCH_VERSION
-    #define ME_PATCH_VERSION 0
-#endif
-#ifndef ME_VNUM
-    #define ME_VNUM 800030000
-#endif
-
-/* Components */
-#ifndef ME_COM_CGI
-    #define ME_COM_CGI 0
-#endif
-#ifndef ME_COM_CC
-    #define ME_COM_CC 1
-#endif
-#ifndef ME_COM_DIR
-    #define ME_COM_DIR 0
-#endif
-#ifndef ME_COM_EJS
-    #define ME_COM_EJS 0
-#endif
-#ifndef ME_COM_ESP
-    #define ME_COM_ESP 1
-#endif
-#ifndef ME_COM_FAST
-    #define ME_COM_FAST 1
-#endif
-#ifndef ME_COM_HTTP
-    #define ME_COM_HTTP 1
-#endif
-#ifndef ME_COM_LIB
-    #define ME_COM_LIB 1
-#endif
-#ifndef ME_COM_MATRIXSSL
-    #define ME_COM_MATRIXSSL 0
-#endif
-#ifndef ME_COM_MBEDTLS
-    #define ME_COM_MBEDTLS 1
-#endif
-#ifndef ME_COM_MDB
-    #define ME_COM_MDB 1
-#endif
-#ifndef ME_COM_MPR
-    #define ME_COM_MPR 1
-#endif
-#ifndef ME_COM_NANOSSL
-    #define ME_COM_NANOSSL 0
-#endif
-#ifndef ME_COM_OPENSSL
-    #define ME_COM_OPENSSL 0
-#endif
-#ifndef ME_COM_OSDEP
-    #define ME_COM_OSDEP 1
-#endif
-#ifndef ME_COM_PCRE
-    #define ME_COM_PCRE 1
-#endif
-#ifndef ME_COM_PHP
-    #define ME_COM_PHP 0
-#endif
-#ifndef ME_COM_PROXY
-    #define ME_COM_PROXY 1
-#endif
-#ifndef ME_COM_SQLITE
-    #define ME_COM_SQLITE 0
-#endif
-#ifndef ME_COM_SSL
-    #define ME_COM_SSL 1
-#endif
-#ifndef ME_COM_VXWORKS
-    #define ME_COM_VXWORKS 0
-#endif
-#ifndef ME_COM_WATCHDOG
-    #define ME_COM_WATCHDOG 1
-#endif

+ 0 - 63
ip/appweb/inc/mpr-version.h

@@ -1,63 +0,0 @@
-/*
-    mpr-version.h -- Header for the Embedthis Version Library
-
-    Copyright (c) All Rights Reserved. See copyright notice at the bottom of the file.
- */
-
-#ifndef _h_VERSION
-#define _h_VERSION 1
-
-/********************************* Includes ***********************************/
-
-#include    "mpr.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/********************************** Defines ***********************************/
-/**
-    Version object
-    @description The Version class provides the ability to manage SemVer version numbers
-    @defgroup Version Version
-    @stability Prototype
- */
-typedef struct MprVersion {
-    cchar   *full;              /**< Original version string */
-    cchar   *baseVersion;       /**< Base version portion without pre-release suffix */
-    cchar   *preVersion;        /**< Pre-release version suffix */
-    uint64  numberVersion;      /**< Version string as a number (excludes prerelease suffix) */
-    int     major;
-    int     minor;
-    int     patch;
-    bool    ok;                 /**< Version is a valid a SemVer */
-} MprVersion;
-
-
-PUBLIC cchar *mprBumpVersion(cchar *version);
-MprVersion *mprCreateVersion(cchar *version);
-PUBLIC cchar *mprGetCompatibleVersion(cchar *version);
-PUBLIC int mprGetMajorVersion(cchar *version);
-PUBLIC int mprGetMinorVersion(cchar *version);
-PUBLIC int mprGetPatchVersion(cchar *version);
-PUBLIC cchar *mprGetPrereleaseVersion(cchar *version);
-PUBLIC cchar *mprGetVersionBase(cchar *version);
-PUBLIC int64 mprGetVersionNumber(cchar *version);
-PUBLIC bool mprIsVersionAcceptable(cchar *version, cchar *criteria);
-PUBLIC bool mprIsVersionSame(cchar *version, cchar *other);
-PUBLIC bool mprIsVersionValid(cchar *version);
-PUBLIC void mprSortVersions(MprVersion **versions, ssize nelt, int direction);
-
-PUBLIC bool mprIsVersionObjAcceptable(MprVersion *vp, cchar *criteria);
-
-#ifdef __cplusplus
-} /* extern C */
-#endif
-
-#endif /* _h_VERSION */
-
-/*
-    Copyright (c) Embedthis Software. All Rights Reserved.
-    This software is distributed under a commercial license. Consult the LICENSE.md
-    distributed with this software for full details and copyrights.
- */

File diff suppressed because it is too large
+ 0 - 10679
ip/appweb/inc/mpr.h


File diff suppressed because it is too large
+ 0 - 1424
ip/appweb/inc/osdep.h


+ 0 - 348
ip/appweb/inc/pcre.h

@@ -1,348 +0,0 @@
-/*************************************************
-*       Perl-Compatible Regular Expressions      *
-*************************************************/
-
-/* This is the public header file for the PCRE library, to be #included by
-applications that call the PCRE functions.
-
-           Copyright (c) 1997-2008 University of Cambridge
-
------------------------------------------------------------------------------
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-    * Redistributions of source code must retain the above copyright notice,
-      this list of conditions and the following disclaimer.
-
-    * Redistributions in binary form must reproduce the above copyright
-      notice, this list of conditions and the following disclaimer in the
-      documentation and/or other materials provided with the distribution.
-
-    * Neither the name of the University of Cambridge nor the names of its
-      contributors may be used to endorse or promote products derived from
-      this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
------------------------------------------------------------------------------
-*/
-
-#ifndef _PCRE_H
-#define _PCRE_H
-
-#ifndef ME_COM_PCRE
-    #define ME_COM_PCRE 1
-#endif
-
-/* The current PCRE version information. */
-
-#define PCRE_MAJOR          7
-#define PCRE_MINOR          7
-#define PCRE_PRERELEASE     
-#define PCRE_DATE           2008-05-07
-
-/* When an application links to a PCRE DLL in Windows, the symbols that are
-imported have to be identified as such. When building PCRE, the appropriate
-export setting is defined in pcre_internal.h, which includes this file. So we
-don't change existing definitions of PCRE_EXP_DECL and PCRECPP_EXP_DECL. */
-
-/* EMBEDTHIS */
-#ifndef _VSB_CONFIG_FILE
-    #define _VSB_CONFIG_FILE "vsbConfig.h"
-#endif
-
-#if ALL_IN_ONE || 1
-    /*
-     *  When building all-in-one, we must use internal definitions
-     */
-    #ifndef PCRE_EXP_DECL
-    #  ifdef _WIN32
-    #    ifndef PCRE_STATIC
-    #      define PCRE_EXP_DECL       extern __declspec(dllexport)
-    #      define PCRE_EXP_DEFN       __declspec(dllexport)
-    #      define PCRE_EXP_DATA_DEFN  __declspec(dllexport)
-    #    else
-    #      define PCRE_EXP_DECL       extern
-    #      define PCRE_EXP_DEFN
-    #      define PCRE_EXP_DATA_DEFN
-    #    endif
-    #  else
-    #    ifdef __cplusplus
-    #      define PCRE_EXP_DECL       extern "C"
-    #    else
-    #      define PCRE_EXP_DECL       extern
-    #    endif
-    #    ifndef PCRE_EXP_DEFN
-    #      define PCRE_EXP_DEFN       PCRE_EXP_DECL
-    #    endif
-    #    ifndef PCRE_EXP_DATA_DEFN
-    #      define PCRE_EXP_DATA_DEFN
-    #    endif
-    #  endif
-    #endif
-#else
-    #if defined(_WIN32) && !defined(PCRE_STATIC)
-    #  ifndef PCRE_EXP_DECL
-    #    define PCRE_EXP_DECL  extern __declspec(dllimport)
-    #  endif
-    #  ifdef __cplusplus
-    #    ifndef PCRECPP_EXP_DECL
-    #      define PCRECPP_EXP_DECL  extern __declspec(dllimport)
-    #    endif
-    #    ifndef PCRECPP_EXP_DEFN
-    #      define PCRECPP_EXP_DEFN  __declspec(dllimport)
-    #    endif
-    #  endif
-    #endif
-    
-    /* By default, we use the standard "extern" declarations. */
-    
-    #ifndef PCRE_EXP_DECL
-    #  ifdef __cplusplus
-    #    define PCRE_EXP_DECL  extern "C"
-    #  else
-    #    define PCRE_EXP_DECL  extern
-    #  endif
-    #endif
-    
-    #ifdef __cplusplus
-    #  ifndef PCRECPP_EXP_DECL
-    #    define PCRECPP_EXP_DECL  extern
-    #  endif
-    #  ifndef PCRECPP_EXP_DEFN
-    #    define PCRECPP_EXP_DEFN
-    #  endif
-    #endif
-#endif
-
-/* Have to include stdlib.h in order to ensure that size_t is defined;
-it is needed here for malloc. */
-
-#include <stdlib.h>
-
-/* Allow for C++ users */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Options */
-
-#define PCRE_CASELESS           0x00000001
-#define PCRE_MULTILINE          0x00000002
-#define PCRE_DOTALL             0x00000004
-#define PCRE_EXTENDED           0x00000008
-#define PCRE_ANCHORED           0x00000010
-#define PCRE_DOLLAR_ENDONLY     0x00000020
-#define PCRE_EXTRA              0x00000040
-#define PCRE_NOTBOL             0x00000080
-#define PCRE_NOTEOL             0x00000100
-#define PCRE_UNGREEDY           0x00000200
-#define PCRE_NOTEMPTY           0x00000400
-#define PCRE_UTF8               0x00000800
-#define PCRE_NO_AUTO_CAPTURE    0x00001000
-#define PCRE_NO_UTF8_CHECK      0x00002000
-#define PCRE_AUTO_CALLOUT       0x00004000
-#define PCRE_PARTIAL            0x00008000
-#define PCRE_DFA_SHORTEST       0x00010000
-#define PCRE_DFA_RESTART        0x00020000
-#define PCRE_FIRSTLINE          0x00040000
-#define PCRE_DUPNAMES           0x00080000
-#define PCRE_NEWLINE_CR         0x00100000
-#define PCRE_NEWLINE_LF         0x00200000
-#define PCRE_NEWLINE_CRLF       0x00300000
-#define PCRE_NEWLINE_ANY        0x00400000
-#define PCRE_NEWLINE_ANYCRLF    0x00500000
-#define PCRE_BSR_ANYCRLF        0x00800000
-#define PCRE_BSR_UNICODE        0x01000000
-#define PCRE_JAVASCRIPT_COMPAT  0x02000000
-
-/* Exec-time and get/set-time error codes */
-
-#define PCRE_ERROR_NOMATCH         (-1)
-#define PCRE_ERROR_NULL            (-2)
-#define PCRE_ERROR_BADOPTION       (-3)
-#define PCRE_ERROR_BADMAGIC        (-4)
-#define PCRE_ERROR_UNKNOWN_OPCODE  (-5)
-#define PCRE_ERROR_UNKNOWN_NODE    (-5)  /* For backward compatibility */
-#define PCRE_ERROR_NOMEMORY        (-6)
-#define PCRE_ERROR_NOSUBSTRING     (-7)
-#define PCRE_ERROR_MATCHLIMIT      (-8)
-#define PCRE_ERROR_CALLOUT         (-9)  /* Never used by PCRE itself */
-#define PCRE_ERROR_BADUTF8        (-10)
-#define PCRE_ERROR_BADUTF8_OFFSET (-11)
-#define PCRE_ERROR_PARTIAL        (-12)
-#define PCRE_ERROR_BADPARTIAL     (-13)
-#define PCRE_ERROR_INTERNAL       (-14)
-#define PCRE_ERROR_BADCOUNT       (-15)
-#define PCRE_ERROR_DFA_UITEM      (-16)
-#define PCRE_ERROR_DFA_UCOND      (-17)
-#define PCRE_ERROR_DFA_UMLIMIT    (-18)
-#define PCRE_ERROR_DFA_WSSIZE     (-19)
-#define PCRE_ERROR_DFA_RECURSE    (-20)
-#define PCRE_ERROR_RECURSIONLIMIT (-21)
-#define PCRE_ERROR_NULLWSLIMIT    (-22)  /* No longer actually used */
-#define PCRE_ERROR_BADNEWLINE     (-23)
-
-/* Request types for pcre_fullinfo() */
-
-#define PCRE_INFO_OPTIONS            0
-#define PCRE_INFO_SIZE               1
-#define PCRE_INFO_CAPTURECOUNT       2
-#define PCRE_INFO_BACKREFMAX         3
-#define PCRE_INFO_FIRSTBYTE          4
-#define PCRE_INFO_FIRSTCHAR          4  /* For backwards compatibility */
-#define PCRE_INFO_FIRSTTABLE         5
-#define PCRE_INFO_LASTLITERAL        6
-#define PCRE_INFO_NAMEENTRYSIZE      7
-#define PCRE_INFO_NAMECOUNT          8
-#define PCRE_INFO_NAMETABLE          9
-#define PCRE_INFO_STUDYSIZE         10
-#define PCRE_INFO_DEFAULT_TABLES    11
-#define PCRE_INFO_OKPARTIAL         12
-#define PCRE_INFO_JCHANGED          13
-#define PCRE_INFO_HASCRORLF         14
-
-/* Request types for pcre_config(). Do not re-arrange, in order to remain
-compatible. */
-
-#define PCRE_CONFIG_UTF8                    0
-#define PCRE_CONFIG_NEWLINE                 1
-#define PCRE_CONFIG_LINK_SIZE               2
-#define PCRE_CONFIG_POSIX_MALLOC_THRESHOLD  3
-#define PCRE_CONFIG_MATCH_LIMIT             4
-#define PCRE_CONFIG_STACKRECURSE            5
-#define PCRE_CONFIG_UNICODE_PROPERTIES      6
-#define PCRE_CONFIG_MATCH_LIMIT_RECURSION   7
-#define PCRE_CONFIG_BSR                     8
-
-/* Bit flags for the pcre_extra structure. Do not re-arrange or redefine
-these bits, just add new ones on the end, in order to remain compatible. */
-
-#define PCRE_EXTRA_STUDY_DATA             0x0001
-#define PCRE_EXTRA_MATCH_LIMIT            0x0002
-#define PCRE_EXTRA_CALLOUT_DATA           0x0004
-#define PCRE_EXTRA_TABLES                 0x0008
-#define PCRE_EXTRA_MATCH_LIMIT_RECURSION  0x0010
-
-/* Types */
-
-struct real_pcre;                 /* declaration; the definition is private  */
-typedef struct real_pcre pcre;
-
-/* When PCRE is compiled as a C++ library, the subject pointer type can be
-replaced with a custom type. For conventional use, the public interface is a
-const char *. */
-
-#ifdef ME_CHAR
-#define PCRE_SPTR const ME_CHAR *
-#else
-#ifndef PCRE_SPTR
-#define PCRE_SPTR const char *
-#endif
-#endif
-
-/* The structure for passing additional data to pcre_exec(). This is defined in
-such as way as to be extensible. Always add new fields at the end, in order to
-remain compatible. */
-
-typedef struct pcre_extra {
-  unsigned long int flags;        /* Bits for which fields are set */
-  void *study_data;               /* Opaque data from pcre_study() */
-  unsigned long int match_limit;  /* Maximum number of calls to match() */
-  void *callout_data;             /* Data passed back in callouts */
-  const unsigned char *tables;    /* Pointer to character tables */
-  unsigned long int match_limit_recursion; /* Max recursive calls to match() */
-} pcre_extra;
-
-/* The structure for passing out data via the pcre_callout_function. We use a
-structure so that new fields can be added on the end in future versions,
-without changing the API of the function, thereby allowing old clients to work
-without modification. */
-
-typedef struct pcre_callout_block {
-  int          version;           /* Identifies version of block */
-  /* ------------------------ Version 0 ------------------------------- */
-  int          callout_number;    /* Number compiled into pattern */
-  int         *offset_vector;     /* The offset vector */
-  PCRE_SPTR    subject;           /* The subject being matched */
-  int          subject_length;    /* The length of the subject */
-  int          start_match;       /* Offset to start of this match attempt */
-  int          current_position;  /* Where we currently are in the subject */
-  int          capture_top;       /* Max current capture */
-  int          capture_last;      /* Most recently closed capture */
-  void        *callout_data;      /* Data passed in with the call */
-  /* ------------------- Added for Version 1 -------------------------- */
-  int          pattern_position;  /* Offset to next item in the pattern */
-  int          next_item_length;  /* Length of next item in the pattern */
-  /* ------------------------------------------------------------------ */
-} pcre_callout_block;
-
-/* Indirection for store get and free functions. These can be set to
-alternative malloc/free functions if required. Special ones are used in the
-non-recursive case for "frames". There is also an optional callout function
-that is triggered by the (?) regex item. For Virtual Pascal, these definitions
-have to take another form. */
-
-#ifndef VPCOMPAT
-PCRE_EXP_DECL void *(*pcre_malloc)(size_t);
-PCRE_EXP_DECL void  (*pcre_free)(void *);
-PCRE_EXP_DECL void *(*pcre_stack_malloc)(size_t);
-PCRE_EXP_DECL void  (*pcre_stack_free)(void *);
-PCRE_EXP_DECL int   (*pcre_callout)(pcre_callout_block *);
-#else   /* VPCOMPAT */
-PCRE_EXP_DECL void *pcre_malloc(size_t);
-PCRE_EXP_DECL void  pcre_free(void *);
-PCRE_EXP_DECL void *pcre_stack_malloc(size_t);
-PCRE_EXP_DECL void  pcre_stack_free(void *);
-PCRE_EXP_DECL int   pcre_callout(pcre_callout_block *);
-#endif  /* VPCOMPAT */
-
-/* Exported PCRE functions */
-
-PCRE_EXP_DECL pcre *pcre_compile(const char *, int, const char **, int *,
-                  const unsigned char *);
-PCRE_EXP_DECL pcre *pcre_compile2(const char *, int, int *, const char **,
-                  int *, const unsigned char *);
-PCRE_EXP_DECL int  pcre_config(int, void *);
-PCRE_EXP_DECL int  pcre_copy_named_substring(const pcre *, const char *,
-                  int *, int, const char *, char *, int);
-PCRE_EXP_DECL int  pcre_copy_substring(const char *, int *, int, int, char *,
-                  int);
-PCRE_EXP_DECL int  pcre_dfa_exec(const pcre *, const pcre_extra *,
-                  const char *, int, int, int, int *, int , int *, int);
-PCRE_EXP_DECL int  pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR,
-                   int, int, int, int *, int);
-PCRE_EXP_DECL void pcre_free_substring(const char *);
-PCRE_EXP_DECL void pcre_free_substring_list(const char **);
-PCRE_EXP_DECL int  pcre_fullinfo(const pcre *, const pcre_extra *, int,
-                  void *);
-PCRE_EXP_DECL int  pcre_get_named_substring(const pcre *, const char *,
-                  int *, int, const char *, const char **);
-PCRE_EXP_DECL int  pcre_get_stringnumber(const pcre *, const char *);
-PCRE_EXP_DECL int  pcre_get_stringtable_entries(const pcre *, const char *,
-                  char **, char **);
-PCRE_EXP_DECL int  pcre_get_substring(const char *, int *, int, int,
-                  const char **);
-PCRE_EXP_DECL int  pcre_get_substring_list(const char *, int *, int,
-                  const char ***);
-PCRE_EXP_DECL int  pcre_info(const pcre *, int *, int *);
-PCRE_EXP_DECL const unsigned char *pcre_maketables(void);
-PCRE_EXP_DECL int  pcre_refcount(pcre *, int);
-PCRE_EXP_DECL pcre_extra *pcre_study(const pcre *, int, const char **);
-PCRE_EXP_DECL const char *pcre_version(void);
-
-#ifdef __cplusplus
-}  /* extern "C" */
-#endif
-
-#endif /* End of pcre.h */

BIN
ip/appweb/lib/libappweb.so


BIN
ip/appweb/lib/libesp.so


BIN
ip/appweb/lib/libhttp.so


BIN
ip/appweb/lib/libmpr.so


BIN
ip/appweb/lib/libpcre.so


+ 0 - 319
ip/build/CMakeCache.txt

@@ -1,319 +0,0 @@
-# This is the CMakeCache file.
-# For build in directory: /home/liyi/hello_smart/smart_pdu/build
-# It was generated by CMake: /usr/bin/cmake
-# You can edit this file to change values found and used by cmake.
-# If you do not want to change any of the values, simply exit the editor.
-# If you do want to change a value, simply edit, save, and exit the editor.
-# The syntax for the file is as follows:
-# KEY:TYPE=VALUE
-# KEY is the name of a variable in the cache.
-# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
-# VALUE is the current value for the KEY.
-
-########################
-# EXTERNAL cache entries
-########################
-
-//Path to a program.
-CMAKE_AR:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-ar
-
-//No help, variable specified on the command line.
-CMAKE_BUILD_TYPE:STRING=Debug
-
-//Enable/Disable color output during build.
-CMAKE_COLOR_MAKEFILE:BOOL=ON
-
-//A wrapper around 'ar' adding the appropriate '--plugin' option
-// for the GCC compiler
-CMAKE_CXX_COMPILER_AR:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc-ar
-
-//A wrapper around 'ranlib' adding the appropriate '--plugin' option
-// for the GCC compiler
-CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc-ranlib
-
-//Flags used by the compiler during all build types.
-CMAKE_CXX_FLAGS:STRING=
-
-//Flags used by the compiler during debug builds.
-CMAKE_CXX_FLAGS_DEBUG:STRING=-g
-
-//Flags used by the compiler during release builds for minimum
-// size.
-CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
-
-//Flags used by the compiler during release builds.
-CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
-
-//Flags used by the compiler during release builds with debug info.
-CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
-
-//A wrapper around 'ar' adding the appropriate '--plugin' option
-// for the GCC compiler
-CMAKE_C_COMPILER_AR:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc-ar
-
-//A wrapper around 'ranlib' adding the appropriate '--plugin' option
-// for the GCC compiler
-CMAKE_C_COMPILER_RANLIB:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc-ranlib
-
-//Flags used by the compiler during all build types.
-CMAKE_C_FLAGS:STRING=
-
-//Flags used by the compiler during debug builds.
-CMAKE_C_FLAGS_DEBUG:STRING=-g
-
-//Flags used by the compiler during release builds for minimum
-// size.
-CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
-
-//Flags used by the compiler during release builds.
-CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
-
-//Flags used by the compiler during release builds with debug info.
-CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
-
-//Flags used by the linker.
-CMAKE_EXE_LINKER_FLAGS:STRING=
-
-//Flags used by the linker during debug builds.
-CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
-
-//Flags used by the linker during release minsize builds.
-CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
-
-//Flags used by the linker during release builds.
-CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
-
-//Flags used by the linker during Release with Debug Info builds.
-CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
-
-//No help, variable specified on the command line.
-CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE
-
-//Install path prefix, prepended onto install directories.
-CMAKE_INSTALL_PREFIX:PATH=/usr/local
-
-//Path to a program.
-CMAKE_LINKER:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-ld
-
-//Path to a program.
-CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
-
-//Flags used by the linker during the creation of modules.
-CMAKE_MODULE_LINKER_FLAGS:STRING=
-
-//Flags used by the linker during debug builds.
-CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
-
-//Flags used by the linker during release minsize builds.
-CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
-
-//Flags used by the linker during release builds.
-CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
-
-//Flags used by the linker during Release with Debug Info builds.
-CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
-
-//Path to a program.
-CMAKE_NM:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-nm
-
-//Path to a program.
-CMAKE_OBJCOPY:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-objcopy
-
-//Path to a program.
-CMAKE_OBJDUMP:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-objdump
-
-//Value Computed by CMake
-CMAKE_PROJECT_NAME:STATIC=pdu_ctrl_app
-
-//Path to a program.
-CMAKE_RANLIB:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-ranlib
-
-//Flags used by the linker during the creation of dll's.
-CMAKE_SHARED_LINKER_FLAGS:STRING=
-
-//Flags used by the linker during debug builds.
-CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
-
-//Flags used by the linker during release minsize builds.
-CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
-
-//Flags used by the linker during release builds.
-CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
-
-//Flags used by the linker during Release with Debug Info builds.
-CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
-
-//If set, runtime paths are not added when installing shared libraries,
-// but are added when building.
-CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
-
-//If set, runtime paths are not added when using shared libraries.
-CMAKE_SKIP_RPATH:BOOL=NO
-
-//Flags used by the linker during the creation of static libraries.
-CMAKE_STATIC_LINKER_FLAGS:STRING=
-
-//Flags used by the linker during debug builds.
-CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
-
-//Flags used by the linker during release minsize builds.
-CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
-
-//Flags used by the linker during release builds.
-CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
-
-//Flags used by the linker during Release with Debug Info builds.
-CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
-
-//Path to a program.
-CMAKE_STRIP:FILEPATH=/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-strip
-
-//If this value is on, makefiles will be generated without the
-// .SILENT directive, and all commands will be echoed to the console
-// during the make.  This is useful for debugging only. With Visual
-// Studio IDE projects all commands are done without /nologo.
-CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
-
-//Value Computed by CMake
-pdu_ctrl_app_BINARY_DIR:STATIC=/home/liyi/hello_smart/smart_pdu/build
-
-//Value Computed by CMake
-pdu_ctrl_app_SOURCE_DIR:STATIC=/home/liyi/hello_smart/smart_pdu
-
-
-########################
-# INTERNAL cache entries
-########################
-
-//ADVANCED property for variable: CMAKE_AR
-CMAKE_AR-ADVANCED:INTERNAL=1
-//This is the directory where this CMakeCache.txt was created
-CMAKE_CACHEFILE_DIR:INTERNAL=/home/liyi/hello_smart/smart_pdu/build
-//Major version of cmake used to create the current loaded cache
-CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
-//Minor version of cmake used to create the current loaded cache
-CMAKE_CACHE_MINOR_VERSION:INTERNAL=10
-//Patch version of cmake used to create the current loaded cache
-CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
-//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
-CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
-//Path to CMake executable.
-CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
-//Path to cpack program executable.
-CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
-//Path to ctest program executable.
-CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
-//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
-CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
-CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_CXX_FLAGS
-CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
-CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
-CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
-CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
-CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_C_COMPILER_AR
-CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
-CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_C_FLAGS
-CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
-CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
-CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
-CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
-CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//Executable file format
-CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
-//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
-CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
-CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
-CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
-CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
-CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
-CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
-//Name of external makefile project generator.
-CMAKE_EXTRA_GENERATOR:INTERNAL=
-//Name of generator.
-CMAKE_GENERATOR:INTERNAL=Unix Makefiles
-//Name of generator platform.
-CMAKE_GENERATOR_PLATFORM:INTERNAL=
-//Name of generator toolset.
-CMAKE_GENERATOR_TOOLSET:INTERNAL=
-//Source directory with the top level CMakeLists.txt file for this
-// project
-CMAKE_HOME_DIRECTORY:INTERNAL=/home/liyi/hello_smart/smart_pdu
-//Install .so files without execute permission.
-CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
-//ADVANCED property for variable: CMAKE_LINKER
-CMAKE_LINKER-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
-CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
-CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
-CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
-CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
-CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
-CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_NM
-CMAKE_NM-ADVANCED:INTERNAL=1
-//number of local generators
-CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
-//ADVANCED property for variable: CMAKE_OBJCOPY
-CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_OBJDUMP
-CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
-//Platform information initialized
-CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_RANLIB
-CMAKE_RANLIB-ADVANCED:INTERNAL=1
-//Path to CMake installation.
-CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.10
-//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
-CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
-CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
-CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
-CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
-CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
-CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_SKIP_RPATH
-CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
-CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
-CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
-CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
-CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
-CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_STRIP
-CMAKE_STRIP-ADVANCED:INTERNAL=1
-//uname command
-CMAKE_UNAME:INTERNAL=/bin/uname
-//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
-CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
-

+ 0 - 73
ip/build/CMakeFiles/3.10.2/CMakeCCompiler.cmake

@@ -1,73 +0,0 @@
-set(CMAKE_C_COMPILER "/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc")
-set(CMAKE_C_COMPILER_ARG1 "")
-set(CMAKE_C_COMPILER_ID "GNU")
-set(CMAKE_C_COMPILER_VERSION "6.4.1")
-set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
-set(CMAKE_C_COMPILER_WRAPPER "")
-set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
-set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
-set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
-set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
-set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
-
-set(CMAKE_C_PLATFORM_ID "Linux")
-set(CMAKE_C_SIMULATE_ID "")
-set(CMAKE_C_SIMULATE_VERSION "")
-
-
-
-set(CMAKE_AR "/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-ar")
-set(CMAKE_C_COMPILER_AR "/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc-ar")
-set(CMAKE_RANLIB "/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-ranlib")
-set(CMAKE_C_COMPILER_RANLIB "/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-gcc-ranlib")
-set(CMAKE_LINKER "/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-ld")
-set(CMAKE_COMPILER_IS_GNUCC 1)
-set(CMAKE_C_COMPILER_LOADED 1)
-set(CMAKE_C_COMPILER_WORKS TRUE)
-set(CMAKE_C_ABI_COMPILED TRUE)
-set(CMAKE_COMPILER_IS_MINGW )
-set(CMAKE_COMPILER_IS_CYGWIN )
-if(CMAKE_COMPILER_IS_CYGWIN)
-  set(CYGWIN 1)
-  set(UNIX 1)
-endif()
-
-set(CMAKE_C_COMPILER_ENV_VAR "CC")
-
-if(CMAKE_COMPILER_IS_MINGW)
-  set(MINGW 1)
-endif()
-set(CMAKE_C_COMPILER_ID_RUN 1)
-set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
-set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
-set(CMAKE_C_LINKER_PREFERENCE 10)
-
-# Save compiler ABI information.
-set(CMAKE_C_SIZEOF_DATA_PTR "4")
-set(CMAKE_C_COMPILER_ABI "ELF")
-set(CMAKE_C_LIBRARY_ARCHITECTURE "")
-
-if(CMAKE_C_SIZEOF_DATA_PTR)
-  set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
-endif()
-
-if(CMAKE_C_COMPILER_ABI)
-  set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
-endif()
-
-if(CMAKE_C_LIBRARY_ARCHITECTURE)
-  set(CMAKE_LIBRARY_ARCHITECTURE "")
-endif()
-
-set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
-if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
-  set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
-endif()
-
-
-
-
-
-set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "ssp_nonshared;gcc_s;c;gcc_s")
-set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/home/liyi/tina/out/t113-bingpi_m2/staging_dir/usr/lib;/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/lib/gcc/arm-openwrt-linux-muslgnueabi/6.4.1;/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/lib/gcc;/home/liyi/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/arm-openwrt-linux-muslgnueabi/lib")
-set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

File diff suppressed because it is too large
+ 0 - 75
ip/build/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake


BIN
ip/build/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin


BIN
ip/build/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin


+ 0 - 15
ip/build/CMakeFiles/3.10.2/CMakeSystem.cmake

@@ -1,15 +0,0 @@
-set(CMAKE_HOST_SYSTEM "Linux-5.4.0-150-generic")
-set(CMAKE_HOST_SYSTEM_NAME "Linux")
-set(CMAKE_HOST_SYSTEM_VERSION "5.4.0-150-generic")
-set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
-
-
-
-set(CMAKE_SYSTEM "Linux")
-set(CMAKE_SYSTEM_NAME "Linux")
-set(CMAKE_SYSTEM_VERSION "")
-set(CMAKE_SYSTEM_PROCESSOR "arm")
-
-set(CMAKE_CROSSCOMPILING "TRUE")
-
-set(CMAKE_SYSTEM_LOADED 1)

+ 0 - 598
ip/build/CMakeFiles/3.10.2/CompilerIdC/CMakeCCompilerId.c

@@ -1,598 +0,0 @@
-#ifdef __cplusplus
-# error "A C++ compiler has been selected for C."
-#endif
-
-#if defined(__18CXX)
-# define ID_VOID_MAIN
-#endif
-#if defined(__CLASSIC_C__)
-/* cv-qualifiers did not exist in K&R C */
-# define const
-# define volatile
-#endif
-
-
-/* Version number components: V=Version, R=Revision, P=Patch
-   Version date components:   YYYY=Year, MM=Month,   DD=Day  */
-
-#if defined(__INTEL_COMPILER) || defined(__ICC)
-# define COMPILER_ID "Intel"
-# if defined(_MSC_VER)
-#  define SIMULATE_ID "MSVC"
-# endif
-  /* __INTEL_COMPILER = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-# if defined(__INTEL_COMPILER_UPDATE)
-#  define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-# else
-#  define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER   % 10)
-# endif
-# if defined(__INTEL_COMPILER_BUILD_DATE)
-  /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-#  define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-# endif
-# if defined(_MSC_VER)
-   /* _MSC_VER = VVRR */
-#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-
-#elif defined(__PATHCC__)
-# define COMPILER_ID "PathScale"
-# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-# if defined(__PATHCC_PATCHLEVEL__)
-#  define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-# endif
-
-#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-# define COMPILER_ID "Embarcadero"
-# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__     & 0xFFFF)
-
-#elif defined(__BORLANDC__)
-# define COMPILER_ID "Borland"
-  /* __BORLANDC__ = 0xVRR */
-# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
-#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-# define COMPILER_ID "Watcom"
-   /* __WATCOMC__ = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-#  define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__WATCOMC__)
-# define COMPILER_ID "OpenWatcom"
-   /* __WATCOMC__ = VVRP + 1100 */
-# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-#  define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__SUNPRO_C)
-# define COMPILER_ID "SunPro"
-# if __SUNPRO_C >= 0x5100
-   /* __SUNPRO_C = 0xVRRP */
-#  define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
-#  define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
-#  define COMPILER_VERSION_PATCH HEX(__SUNPRO_C    & 0xF)
-# else
-   /* __SUNPRO_CC = 0xVRP */
-#  define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
-#  define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
-#  define COMPILER_VERSION_PATCH HEX(__SUNPRO_C    & 0xF)
-# endif
-
-#elif defined(__HP_cc)
-# define COMPILER_ID "HP"
-  /* __HP_cc = VVRRPP */
-# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
-# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
-# define COMPILER_VERSION_PATCH DEC(__HP_cc     % 100)
-
-#elif defined(__DECC)
-# define COMPILER_ID "Compaq"
-  /* __DECC_VER = VVRRTPPPP */
-# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
-# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000  % 100)
-# define COMPILER_VERSION_PATCH DEC(__DECC_VER         % 10000)
-
-#elif defined(__IBMC__) && defined(__COMPILER_VER__)
-# define COMPILER_ID "zOS"
-  /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__    % 10)
-
-#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
-# define COMPILER_ID "XL"
-  /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__    % 10)
-
-#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
-# define COMPILER_ID "VisualAge"
-  /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__    % 10)
-
-#elif defined(__PGI)
-# define COMPILER_ID "PGI"
-# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-# if defined(__PGIC_PATCHLEVEL__)
-#  define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-# endif
-
-#elif defined(_CRAYC)
-# define COMPILER_ID "Cray"
-# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
-#elif defined(__TI_COMPILER_VERSION__)
-# define COMPILER_ID "TI"
-  /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000   % 1000)
-# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__        % 1000)
-
-#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
-# define COMPILER_ID "Fujitsu"
-
-#elif defined(__TINYC__)
-# define COMPILER_ID "TinyCC"
-
-#elif defined(__BCC__)
-# define COMPILER_ID "Bruce"
-
-#elif defined(__SCO_VERSION__)
-# define COMPILER_ID "SCO"
-
-#elif defined(__clang__) && defined(__apple_build_version__)
-# define COMPILER_ID "AppleClang"
-# if defined(_MSC_VER)
-#  define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
-   /* _MSC_VER = VVRR */
-#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
-#elif defined(__clang__)
-# define COMPILER_ID "Clang"
-# if defined(_MSC_VER)
-#  define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
-   /* _MSC_VER = VVRR */
-#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-
-#elif defined(__GNUC__)
-# define COMPILER_ID "GNU"
-# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-# if defined(__GNUC_MINOR__)
-#  define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-# endif
-# if defined(__GNUC_PATCHLEVEL__)
-#  define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-
-#elif defined(_MSC_VER)
-# define COMPILER_ID "MSVC"
-  /* _MSC_VER = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-# if defined(_MSC_FULL_VER)
-#  if _MSC_VER >= 1400
-    /* _MSC_FULL_VER = VVRRPPPPP */
-#   define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-#  else
-    /* _MSC_FULL_VER = VVRRPPPP */
-#   define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-#  endif
-# endif
-# if defined(_MSC_BUILD)
-#  define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-# endif
-
-#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
-# define COMPILER_ID "ADSP"
-#if defined(__VISUALDSPVERSION__)
-  /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
-# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
-# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
-# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8  & 0xFF)
-#endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# define COMPILER_ID "IAR"
-# if defined(__VER__)
-#  define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-#  define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-#  define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-#  define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# endif
-
-#elif defined(__ARMCC_VERSION)
-# define COMPILER_ID "ARMCC"
-#if __ARMCC_VERSION >= 1000000
-  /* __ARMCC_VERSION = VRRPPPP */
-  # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
-  # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
-  # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION     % 10000)
-#else
-  /* __ARMCC_VERSION = VRPPPP */
-  # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
-  # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
-  # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION    % 10000)
-#endif
-
-
-#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
-# define COMPILER_ID "SDCC"
-# if defined(__SDCC_VERSION_MAJOR)
-#  define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
-#  define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
-#  define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
-# else
-  /* SDCC = VRP */
-#  define COMPILER_VERSION_MAJOR DEC(SDCC/100)
-#  define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
-#  define COMPILER_VERSION_PATCH DEC(SDCC    % 10)
-# endif
-
-#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
-# define COMPILER_ID "MIPSpro"
-# if defined(_SGI_COMPILER_VERSION)
-  /* _SGI_COMPILER_VERSION = VRP */
-#  define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
-#  define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
-#  define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION    % 10)
-# else
-  /* _COMPILER_VERSION = VRP */
-#  define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
-#  define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
-#  define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION    % 10)
-# endif
-
-
-/* These compilers are either not known or too old to define an
-  identification macro.  Try to identify the platform and guess that
-  it is the native compiler.  */
-#elif defined(__sgi)
-# define COMPILER_ID "MIPSpro"
-
-#elif defined(__hpux) || defined(__hpua)
-# define COMPILER_ID "HP"
-
-#else /* unknown compiler */
-# define COMPILER_ID ""
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
-   getting matched.  Store it in a pointer rather than an array
-   because some compilers will just produce instructions to fill the
-   array rather than assigning a pointer to a static array.  */
-char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-#ifdef SIMULATE_ID
-char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-#endif
-
-#ifdef __QNXNTO__
-char const* qnxnto = "INFO" ":" "qnxnto[]";
-#endif
-
-#if defined(__CRAYXE) || defined(__CRAYXC)
-char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-#endif
-
-#define STRINGIFY_HELPER(X) #X
-#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
-/* Identify known platforms by name.  */
-#if defined(__linux) || defined(__linux__) || defined(linux)
-# define PLATFORM_ID "Linux"
-
-#elif defined(__CYGWIN__)
-# define PLATFORM_ID "Cygwin"
-
-#elif defined(__MINGW32__)
-# define PLATFORM_ID "MinGW"
-
-#elif defined(__APPLE__)
-# define PLATFORM_ID "Darwin"
-
-#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-# define PLATFORM_ID "Windows"
-
-#elif defined(__FreeBSD__) || defined(__FreeBSD)
-# define PLATFORM_ID "FreeBSD"
-
-#elif defined(__NetBSD__) || defined(__NetBSD)
-# define PLATFORM_ID "NetBSD"
-
-#elif defined(__OpenBSD__) || defined(__OPENBSD)
-# define PLATFORM_ID "OpenBSD"
-
-#elif defined(__sun) || defined(sun)
-# define PLATFORM_ID "SunOS"
-
-#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-# define PLATFORM_ID "AIX"
-
-#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
-# define PLATFORM_ID "IRIX"
-
-#elif defined(__hpux) || defined(__hpux__)
-# define PLATFORM_ID "HP-UX"
-
-#elif defined(__HAIKU__)
-# define PLATFORM_ID "Haiku"
-
-#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-# define PLATFORM_ID "BeOS"
-
-#elif defined(__QNX__) || defined(__QNXNTO__)
-# define PLATFORM_ID "QNX"
-
-#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-# define PLATFORM_ID "Tru64"
-
-#elif defined(__riscos) || defined(__riscos__)
-# define PLATFORM_ID "RISCos"
-
-#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-# define PLATFORM_ID "SINIX"
-
-#elif defined(__UNIX_SV__)
-# define PLATFORM_ID "UNIX_SV"
-
-#elif defined(__bsdos__)
-# define PLATFORM_ID "BSDOS"
-
-#elif defined(_MPRAS) || defined(MPRAS)
-# define PLATFORM_ID "MP-RAS"
-
-#elif defined(__osf) || defined(__osf__)
-# define PLATFORM_ID "OSF1"
-
-#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-# define PLATFORM_ID "SCO_SV"
-
-#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-# define PLATFORM_ID "ULTRIX"
-
-#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-# define PLATFORM_ID "Xenix"
-
-#elif defined(__WATCOMC__)
-# if defined(__LINUX__)
-#  define PLATFORM_ID "Linux"
-
-# elif defined(__DOS__)
-#  define PLATFORM_ID "DOS"
-
-# elif defined(__OS2__)
-#  define PLATFORM_ID "OS2"
-
-# elif defined(__WINDOWS__)
-#  define PLATFORM_ID "Windows3x"
-
-# else /* unknown platform */
-#  define PLATFORM_ID
-# endif
-
-#else /* unknown platform */
-# define PLATFORM_ID
-
-#endif
-
-/* For windows compilers MSVC and Intel we can determine
-   the architecture of the compiler being used.  This is because
-   the compilers do not have flags that can change the architecture,
-   but rather depend on which compiler is being used
-*/
-#if defined(_WIN32) && defined(_MSC_VER)
-# if defined(_M_IA64)
-#  define ARCHITECTURE_ID "IA64"
-
-# elif defined(_M_X64) || defined(_M_AMD64)
-#  define ARCHITECTURE_ID "x64"
-
-# elif defined(_M_IX86)
-#  define ARCHITECTURE_ID "X86"
-
-# elif defined(_M_ARM64)
-#  define ARCHITECTURE_ID "ARM64"
-
-# elif defined(_M_ARM)
-#  if _M_ARM == 4
-#   define ARCHITECTURE_ID "ARMV4I"
-#  elif _M_ARM == 5
-#   define ARCHITECTURE_ID "ARMV5I"
-#  else
-#   define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-#  endif
-
-# elif defined(_M_MIPS)
-#  define ARCHITECTURE_ID "MIPS"
-
-# elif defined(_M_SH)
-#  define ARCHITECTURE_ID "SHx"
-
-# else /* unknown architecture */
-#  define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__WATCOMC__)
-# if defined(_M_I86)
-#  define ARCHITECTURE_ID "I86"
-
-# elif defined(_M_IX86)
-#  define ARCHITECTURE_ID "X86"
-
-# else /* unknown architecture */
-#  define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# if defined(__ICCARM__)
-#  define ARCHITECTURE_ID "ARM"
-
-# elif defined(__ICCAVR__)
-#  define ARCHITECTURE_ID "AVR"
-
-# else /* unknown architecture */
-#  define ARCHITECTURE_ID ""
-# endif
-#else
-#  define ARCHITECTURE_ID
-#endif
-
-/* Convert integer to decimal digit literals.  */
-#define DEC(n)                   \
-  ('0' + (((n) / 10000000)%10)), \
-  ('0' + (((n) / 1000000)%10)),  \
-  ('0' + (((n) / 100000)%10)),   \
-  ('0' + (((n) / 10000)%10)),    \
-  ('0' + (((n) / 1000)%10)),     \
-  ('0' + (((n) / 100)%10)),      \
-  ('0' + (((n) / 10)%10)),       \
-  ('0' +  ((n) % 10))
-
-/* Convert integer to hex digit literals.  */
-#define HEX(n)             \
-  ('0' + ((n)>>28 & 0xF)), \
-  ('0' + ((n)>>24 & 0xF)), \
-  ('0' + ((n)>>20 & 0xF)), \
-  ('0' + ((n)>>16 & 0xF)), \
-  ('0' + ((n)>>12 & 0xF)), \
-  ('0' + ((n)>>8  & 0xF)), \
-  ('0' + ((n)>>4  & 0xF)), \
-  ('0' + ((n)     & 0xF))
-
-/* Construct a string literal encoding the version number components. */
-#ifdef COMPILER_VERSION_MAJOR
-char const info_version[] = {
-  'I', 'N', 'F', 'O', ':',
-  'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
-  COMPILER_VERSION_MAJOR,
-# ifdef COMPILER_VERSION_MINOR
-  '.', COMPILER_VERSION_MINOR,
-#  ifdef COMPILER_VERSION_PATCH
-   '.', COMPILER_VERSION_PATCH,
-#   ifdef COMPILER_VERSION_TWEAK
-    '.', COMPILER_VERSION_TWEAK,
-#   endif
-#  endif
-# endif
-  ']','\0'};
-#endif
-
-/* Construct a string literal encoding the internal version number. */
-#ifdef COMPILER_VERSION_INTERNAL
-char const info_version_internal[] = {
-  'I', 'N', 'F', 'O', ':',
-  'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
-  'i','n','t','e','r','n','a','l','[',
-  COMPILER_VERSION_INTERNAL,']','\0'};
-#endif
-
-/* Construct a string literal encoding the version number components. */
-#ifdef SIMULATE_VERSION_MAJOR
-char const info_simulate_version[] = {
-  'I', 'N', 'F', 'O', ':',
-  's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
-  SIMULATE_VERSION_MAJOR,
-# ifdef SIMULATE_VERSION_MINOR
-  '.', SIMULATE_VERSION_MINOR,
-#  ifdef SIMULATE_VERSION_PATCH
-   '.', SIMULATE_VERSION_PATCH,
-#   ifdef SIMULATE_VERSION_TWEAK
-    '.', SIMULATE_VERSION_TWEAK,
-#   endif
-#  endif
-# endif
-  ']','\0'};
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
-   getting matched.  Store it in a pointer rather than an array
-   because some compilers will just produce instructions to fill the
-   array rather than assigning a pointer to a static array.  */
-char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
-
-
-
-#if !defined(__STDC__)
-# if defined(_MSC_VER) && !defined(__clang__)
-#  define C_DIALECT "90"
-# else
-#  define C_DIALECT
-# endif
-#elif __STDC_VERSION__ >= 201000L
-# define C_DIALECT "11"
-#elif __STDC_VERSION__ >= 199901L
-# define C_DIALECT "99"
-#else
-# define C_DIALECT "90"
-#endif
-const char* info_language_dialect_default =
-  "INFO" ":" "dialect_default[" C_DIALECT "]";
-
-/*--------------------------------------------------------------------------*/
-
-#ifdef ID_VOID_MAIN
-void main() {}
-#else
-# if defined(__CLASSIC_C__)
-int main(argc, argv) int argc; char *argv[];
-# else
-int main(int argc, char* argv[])
-# endif
-{
-  int require = 0;
-  require += info_compiler[argc];
-  require += info_platform[argc];
-  require += info_arch[argc];
-#ifdef COMPILER_VERSION_MAJOR
-  require += info_version[argc];
-#endif
-#ifdef COMPILER_VERSION_INTERNAL
-  require += info_version_internal[argc];
-#endif
-#ifdef SIMULATE_ID
-  require += info_simulate[argc];
-#endif
-#ifdef SIMULATE_VERSION_MAJOR
-  require += info_simulate_version[argc];
-#endif
-#if defined(__CRAYXE) || defined(__CRAYXC)
-  require += info_cray[argc];
-#endif
-  require += info_language_dialect_default[argc];
-  (void)argv;
-  return require;
-}
-#endif

BIN
ip/build/CMakeFiles/3.10.2/CompilerIdC/a.out


+ 0 - 576
ip/build/CMakeFiles/3.10.2/CompilerIdCXX/CMakeCXXCompilerId.cpp

@@ -1,576 +0,0 @@
-/* This source file must have a .cpp extension so that all C++ compilers
-   recognize the extension without flags.  Borland does not know .cxx for
-   example.  */
-#ifndef __cplusplus
-# error "A C compiler has been selected for C++."
-#endif
-
-
-/* Version number components: V=Version, R=Revision, P=Patch
-   Version date components:   YYYY=Year, MM=Month,   DD=Day  */
-
-#if defined(__COMO__)
-# define COMPILER_ID "Comeau"
-  /* __COMO_VERSION__ = VRR */
-# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
-# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
-
-#elif defined(__INTEL_COMPILER) || defined(__ICC)
-# define COMPILER_ID "Intel"
-# if defined(_MSC_VER)
-#  define SIMULATE_ID "MSVC"
-# endif
-  /* __INTEL_COMPILER = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-# if defined(__INTEL_COMPILER_UPDATE)
-#  define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-# else
-#  define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER   % 10)
-# endif
-# if defined(__INTEL_COMPILER_BUILD_DATE)
-  /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-#  define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-# endif
-# if defined(_MSC_VER)
-   /* _MSC_VER = VVRR */
-#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-
-#elif defined(__PATHCC__)
-# define COMPILER_ID "PathScale"
-# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-# if defined(__PATHCC_PATCHLEVEL__)
-#  define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-# endif
-
-#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-# define COMPILER_ID "Embarcadero"
-# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__     & 0xFFFF)
-
-#elif defined(__BORLANDC__)
-# define COMPILER_ID "Borland"
-  /* __BORLANDC__ = 0xVRR */
-# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
-#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-# define COMPILER_ID "Watcom"
-   /* __WATCOMC__ = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-#  define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__WATCOMC__)
-# define COMPILER_ID "OpenWatcom"
-   /* __WATCOMC__ = VVRP + 1100 */
-# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-#  define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__SUNPRO_CC)
-# define COMPILER_ID "SunPro"
-# if __SUNPRO_CC >= 0x5100
-   /* __SUNPRO_CC = 0xVRRP */
-#  define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
-#  define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
-#  define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC    & 0xF)
-# else
-   /* __SUNPRO_CC = 0xVRP */
-#  define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
-#  define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
-#  define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC    & 0xF)
-# endif
-
-#elif defined(__HP_aCC)
-# define COMPILER_ID "HP"
-  /* __HP_aCC = VVRRPP */
-# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
-# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
-# define COMPILER_VERSION_PATCH DEC(__HP_aCC     % 100)
-
-#elif defined(__DECCXX)
-# define COMPILER_ID "Compaq"
-  /* __DECCXX_VER = VVRRTPPPP */
-# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
-# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000  % 100)
-# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER         % 10000)
-
-#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
-# define COMPILER_ID "zOS"
-  /* __IBMCPP__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMCPP__    % 10)
-
-#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
-# define COMPILER_ID "XL"
-  /* __IBMCPP__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMCPP__    % 10)
-
-#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
-# define COMPILER_ID "VisualAge"
-  /* __IBMCPP__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMCPP__    % 10)
-
-#elif defined(__PGI)
-# define COMPILER_ID "PGI"
-# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-# if defined(__PGIC_PATCHLEVEL__)
-#  define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-# endif
-
-#elif defined(_CRAYC)
-# define COMPILER_ID "Cray"
-# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
-#elif defined(__TI_COMPILER_VERSION__)
-# define COMPILER_ID "TI"
-  /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000   % 1000)
-# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__        % 1000)
-
-#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
-# define COMPILER_ID "Fujitsu"
-
-#elif defined(__SCO_VERSION__)
-# define COMPILER_ID "SCO"
-
-#elif defined(__clang__) && defined(__apple_build_version__)
-# define COMPILER_ID "AppleClang"
-# if defined(_MSC_VER)
-#  define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
-   /* _MSC_VER = VVRR */
-#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
-#elif defined(__clang__)
-# define COMPILER_ID "Clang"
-# if defined(_MSC_VER)
-#  define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
-   /* _MSC_VER = VVRR */
-#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-
-#elif defined(__GNUC__) || defined(__GNUG__)
-# define COMPILER_ID "GNU"
-# if defined(__GNUC__)
-#  define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-# else
-#  define COMPILER_VERSION_MAJOR DEC(__GNUG__)
-# endif
-# if defined(__GNUC_MINOR__)
-#  define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-# endif
-# if defined(__GNUC_PATCHLEVEL__)
-#  define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-
-#elif defined(_MSC_VER)
-# define COMPILER_ID "MSVC"
-  /* _MSC_VER = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-# if defined(_MSC_FULL_VER)
-#  if _MSC_VER >= 1400
-    /* _MSC_FULL_VER = VVRRPPPPP */
-#   define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-#  else
-    /* _MSC_FULL_VER = VVRRPPPP */
-#   define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-#  endif
-# endif
-# if defined(_MSC_BUILD)
-#  define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-# endif
-
-#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
-# define COMPILER_ID "ADSP"
-#if defined(__VISUALDSPVERSION__)
-  /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
-# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
-# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
-# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8  & 0xFF)
-#endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# define COMPILER_ID "IAR"
-# if defined(__VER__)
-#  define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-#  define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-#  define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-#  define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# endif
-
-#elif defined(__ARMCC_VERSION)
-# define COMPILER_ID "ARMCC"
-#if __ARMCC_VERSION >= 1000000
-  /* __ARMCC_VERSION = VRRPPPP */
-  # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
-  # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
-  # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION     % 10000)
-#else
-  /* __ARMCC_VERSION = VRPPPP */
-  # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
-  # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
-  # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION    % 10000)
-#endif
-
-
-#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
-# define COMPILER_ID "MIPSpro"
-# if defined(_SGI_COMPILER_VERSION)
-  /* _SGI_COMPILER_VERSION = VRP */
-#  define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
-#  define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
-#  define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION    % 10)
-# else
-  /* _COMPILER_VERSION = VRP */
-#  define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
-#  define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
-#  define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION    % 10)
-# endif
-
-
-/* These compilers are either not known or too old to define an
-  identification macro.  Try to identify the platform and guess that
-  it is the native compiler.  */
-#elif defined(__sgi)
-# define COMPILER_ID "MIPSpro"
-
-#elif defined(__hpux) || defined(__hpua)
-# define COMPILER_ID "HP"
-
-#else /* unknown compiler */
-# define COMPILER_ID ""
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
-   getting matched.  Store it in a pointer rather than an array
-   because some compilers will just produce instructions to fill the
-   array rather than assigning a pointer to a static array.  */
-char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-#ifdef SIMULATE_ID
-char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-#endif
-
-#ifdef __QNXNTO__
-char const* qnxnto = "INFO" ":" "qnxnto[]";
-#endif
-
-#if defined(__CRAYXE) || defined(__CRAYXC)
-char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-#endif
-
-#define STRINGIFY_HELPER(X) #X
-#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
-/* Identify known platforms by name.  */
-#if defined(__linux) || defined(__linux__) || defined(linux)
-# define PLATFORM_ID "Linux"
-
-#elif defined(__CYGWIN__)
-# define PLATFORM_ID "Cygwin"
-
-#elif defined(__MINGW32__)
-# define PLATFORM_ID "MinGW"
-
-#elif defined(__APPLE__)
-# define PLATFORM_ID "Darwin"
-
-#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-# define PLATFORM_ID "Windows"
-
-#elif defined(__FreeBSD__) || defined(__FreeBSD)
-# define PLATFORM_ID "FreeBSD"
-
-#elif defined(__NetBSD__) || defined(__NetBSD)
-# define PLATFORM_ID "NetBSD"
-
-#elif defined(__OpenBSD__) || defined(__OPENBSD)
-# define PLATFORM_ID "OpenBSD"
-
-#elif defined(__sun) || defined(sun)
-# define PLATFORM_ID "SunOS"
-
-#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-# define PLATFORM_ID "AIX"
-
-#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
-# define PLATFORM_ID "IRIX"
-
-#elif defined(__hpux) || defined(__hpux__)
-# define PLATFORM_ID "HP-UX"
-
-#elif defined(__HAIKU__)
-# define PLATFORM_ID "Haiku"
-
-#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-# define PLATFORM_ID "BeOS"
-
-#elif defined(__QNX__) || defined(__QNXNTO__)
-# define PLATFORM_ID "QNX"
-
-#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-# define PLATFORM_ID "Tru64"
-
-#elif defined(__riscos) || defined(__riscos__)
-# define PLATFORM_ID "RISCos"
-
-#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-# define PLATFORM_ID "SINIX"
-
-#elif defined(__UNIX_SV__)
-# define PLATFORM_ID "UNIX_SV"
-
-#elif defined(__bsdos__)
-# define PLATFORM_ID "BSDOS"
-
-#elif defined(_MPRAS) || defined(MPRAS)
-# define PLATFORM_ID "MP-RAS"
-
-#elif defined(__osf) || defined(__osf__)
-# define PLATFORM_ID "OSF1"
-
-#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-# define PLATFORM_ID "SCO_SV"
-
-#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-# define PLATFORM_ID "ULTRIX"
-
-#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-# define PLATFORM_ID "Xenix"
-
-#elif defined(__WATCOMC__)
-# if defined(__LINUX__)
-#  define PLATFORM_ID "Linux"
-
-# elif defined(__DOS__)
-#  define PLATFORM_ID "DOS"
-
-# elif defined(__OS2__)
-#  define PLATFORM_ID "OS2"
-
-# elif defined(__WINDOWS__)
-#  define PLATFORM_ID "Windows3x"
-
-# else /* unknown platform */
-#  define PLATFORM_ID
-# endif
-
-#else /* unknown platform */
-# define PLATFORM_ID
-
-#endif
-
-/* For windows compilers MSVC and Intel we can determine
-   the architecture of the compiler being used.  This is because
-   the compilers do not have flags that can change the architecture,
-   but rather depend on which compiler is being used
-*/
-#if defined(_WIN32) && defined(_MSC_VER)
-# if defined(_M_IA64)
-#  define ARCHITECTURE_ID "IA64"
-
-# elif defined(_M_X64) || defined(_M_AMD64)
-#  define ARCHITECTURE_ID "x64"
-
-# elif defined(_M_IX86)
-#  define ARCHITECTURE_ID "X86"
-
-# elif defined(_M_ARM64)
-#  define ARCHITECTURE_ID "ARM64"
-
-# elif defined(_M_ARM)
-#  if _M_ARM == 4
-#   define ARCHITECTURE_ID "ARMV4I"
-#  elif _M_ARM == 5
-#   define ARCHITECTURE_ID "ARMV5I"
-#  else
-#   define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-#  endif
-
-# elif defined(_M_MIPS)
-#  define ARCHITECTURE_ID "MIPS"
-
-# elif defined(_M_SH)
-#  define ARCHITECTURE_ID "SHx"
-
-# else /* unknown architecture */
-#  define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__WATCOMC__)
-# if defined(_M_I86)
-#  define ARCHITECTURE_ID "I86"
-
-# elif defined(_M_IX86)
-#  define ARCHITECTURE_ID "X86"
-
-# else /* unknown architecture */
-#  define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# if defined(__ICCARM__)
-#  define ARCHITECTURE_ID "ARM"
-
-# elif defined(__ICCAVR__)
-#  define ARCHITECTURE_ID "AVR"
-
-# else /* unknown architecture */
-#  define ARCHITECTURE_ID ""
-# endif
-#else
-#  define ARCHITECTURE_ID
-#endif
-
-/* Convert integer to decimal digit literals.  */
-#define DEC(n)                   \
-  ('0' + (((n) / 10000000)%10)), \
-  ('0' + (((n) / 1000000)%10)),  \
-  ('0' + (((n) / 100000)%10)),   \
-  ('0' + (((n) / 10000)%10)),    \
-  ('0' + (((n) / 1000)%10)),     \
-  ('0' + (((n) / 100)%10)),      \
-  ('0' + (((n) / 10)%10)),       \
-  ('0' +  ((n) % 10))
-
-/* Convert integer to hex digit literals.  */
-#define HEX(n)             \
-  ('0' + ((n)>>28 & 0xF)), \
-  ('0' + ((n)>>24 & 0xF)), \
-  ('0' + ((n)>>20 & 0xF)), \
-  ('0' + ((n)>>16 & 0xF)), \
-  ('0' + ((n)>>12 & 0xF)), \
-  ('0' + ((n)>>8  & 0xF)), \
-  ('0' + ((n)>>4  & 0xF)), \
-  ('0' + ((n)     & 0xF))
-
-/* Construct a string literal encoding the version number components. */
-#ifdef COMPILER_VERSION_MAJOR
-char const info_version[] = {
-  'I', 'N', 'F', 'O', ':',
-  'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
-  COMPILER_VERSION_MAJOR,
-# ifdef COMPILER_VERSION_MINOR
-  '.', COMPILER_VERSION_MINOR,
-#  ifdef COMPILER_VERSION_PATCH
-   '.', COMPILER_VERSION_PATCH,
-#   ifdef COMPILER_VERSION_TWEAK
-    '.', COMPILER_VERSION_TWEAK,
-#   endif
-#  endif
-# endif
-  ']','\0'};
-#endif
-
-/* Construct a string literal encoding the internal version number. */
-#ifdef COMPILER_VERSION_INTERNAL
-char const info_version_internal[] = {
-  'I', 'N', 'F', 'O', ':',
-  'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
-  'i','n','t','e','r','n','a','l','[',
-  COMPILER_VERSION_INTERNAL,']','\0'};
-#endif
-
-/* Construct a string literal encoding the version number components. */
-#ifdef SIMULATE_VERSION_MAJOR
-char const info_simulate_version[] = {
-  'I', 'N', 'F', 'O', ':',
-  's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
-  SIMULATE_VERSION_MAJOR,
-# ifdef SIMULATE_VERSION_MINOR
-  '.', SIMULATE_VERSION_MINOR,
-#  ifdef SIMULATE_VERSION_PATCH
-   '.', SIMULATE_VERSION_PATCH,
-#   ifdef SIMULATE_VERSION_TWEAK
-    '.', SIMULATE_VERSION_TWEAK,
-#   endif
-#  endif
-# endif
-  ']','\0'};
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
-   getting matched.  Store it in a pointer rather than an array
-   because some compilers will just produce instructions to fill the
-   array rather than assigning a pointer to a static array.  */
-char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
-
-
-
-#if defined(_MSC_VER) && defined(_MSVC_LANG)
-#define CXX_STD _MSVC_LANG
-#else
-#define CXX_STD __cplusplus
-#endif
-
-const char* info_language_dialect_default = "INFO" ":" "dialect_default["
-#if CXX_STD > 201402L
-  "17"
-#elif CXX_STD >= 201402L
-  "14"
-#elif CXX_STD >= 201103L
-  "11"
-#else
-  "98"
-#endif
-"]";
-
-/*--------------------------------------------------------------------------*/
-
-int main(int argc, char* argv[])
-{
-  int require = 0;
-  require += info_compiler[argc];
-  require += info_platform[argc];
-#ifdef COMPILER_VERSION_MAJOR
-  require += info_version[argc];
-#endif
-#ifdef COMPILER_VERSION_INTERNAL
-  require += info_version_internal[argc];
-#endif
-#ifdef SIMULATE_ID
-  require += info_simulate[argc];
-#endif
-#ifdef SIMULATE_VERSION_MAJOR
-  require += info_simulate_version[argc];
-#endif
-#if defined(__CRAYXE) || defined(__CRAYXC)
-  require += info_cray[argc];
-#endif
-  require += info_language_dialect_default[argc];
-  (void)argv;
-  return require;
-}

BIN
ip/build/CMakeFiles/3.10.2/CompilerIdCXX/a.out


+ 0 - 16
ip/build/CMakeFiles/CMakeDirectoryInformation.cmake

@@ -1,16 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.10
-
-# Relative path conversion top directories.
-set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/liyi/hello_smart/smart_pdu")
-set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/liyi/hello_smart/smart_pdu/build")
-
-# Force unix paths in dependencies.
-set(CMAKE_FORCE_UNIX_PATHS 1)
-
-
-# The C and CXX include file regular expressions for this directory.
-set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

File diff suppressed because it is too large
+ 0 - 592
ip/build/CMakeFiles/CMakeOutput.log


+ 0 - 46
ip/build/CMakeFiles/Makefile.cmake

@@ -1,46 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.10
-
-# The generator used is:
-set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
-
-# The top level Makefile was generated from the following files:
-set(CMAKE_MAKEFILE_DEPENDS
-  "CMakeCache.txt"
-  "../CMakeLists.txt"
-  "CMakeFiles/3.10.2/CMakeCCompiler.cmake"
-  "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake"
-  "CMakeFiles/3.10.2/CMakeSystem.cmake"
-  "/usr/share/cmake-3.10/Modules/CMakeCInformation.cmake"
-  "/usr/share/cmake-3.10/Modules/CMakeCXXInformation.cmake"
-  "/usr/share/cmake-3.10/Modules/CMakeCommonLanguageInclude.cmake"
-  "/usr/share/cmake-3.10/Modules/CMakeGenericSystem.cmake"
-  "/usr/share/cmake-3.10/Modules/CMakeLanguageInformation.cmake"
-  "/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInformation.cmake"
-  "/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInitialize.cmake"
-  "/usr/share/cmake-3.10/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
-  "/usr/share/cmake-3.10/Modules/Compiler/GNU-C.cmake"
-  "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX.cmake"
-  "/usr/share/cmake-3.10/Modules/Compiler/GNU.cmake"
-  "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-C.cmake"
-  "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-CXX.cmake"
-  "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU.cmake"
-  "/usr/share/cmake-3.10/Modules/Platform/Linux.cmake"
-  "/usr/share/cmake-3.10/Modules/Platform/UnixPaths.cmake"
-  )
-
-# The corresponding makefile is:
-set(CMAKE_MAKEFILE_OUTPUTS
-  "Makefile"
-  "CMakeFiles/cmake.check_cache"
-  )
-
-# Byproducts of CMake generate step:
-set(CMAKE_MAKEFILE_PRODUCTS
-  "CMakeFiles/CMakeDirectoryInformation.cmake"
-  )
-
-# Dependency information for all targets:
-set(CMAKE_DEPEND_INFO_FILES
-  "CMakeFiles/smartPDU.dir/DependInfo.cmake"
-  )

+ 0 - 108
ip/build/CMakeFiles/Makefile2

@@ -1,108 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 3.10
-
-# Default target executed when no arguments are given to make.
-default_target: all
-
-.PHONY : default_target
-
-# The main recursive all target
-all:
-
-.PHONY : all
-
-# The main recursive preinstall target
-preinstall:
-
-.PHONY : preinstall
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canonical targets will work.
-.SUFFIXES:
-
-
-# Remove some rules from gmake that .SUFFIXES does not remove.
-SUFFIXES =
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-
-# A target that is always out of date.
-cmake_force:
-
-.PHONY : cmake_force
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /usr/bin/cmake
-
-# The command to remove a file.
-RM = /usr/bin/cmake -E remove -f
-
-# Escaping for special characters.
-EQUALS = =
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/liyi/hello_smart/smart_pdu
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /home/liyi/hello_smart/smart_pdu/build
-
-#=============================================================================
-# Target rules for target CMakeFiles/smartPDU.dir
-
-# All Build rule for target.
-CMakeFiles/smartPDU.dir/all:
-	$(MAKE) -f CMakeFiles/smartPDU.dir/build.make CMakeFiles/smartPDU.dir/depend
-	$(MAKE) -f CMakeFiles/smartPDU.dir/build.make CMakeFiles/smartPDU.dir/build
-	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/liyi/hello_smart/smart_pdu/build/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45 "Built target smartPDU"
-.PHONY : CMakeFiles/smartPDU.dir/all
-
-# Include target in all.
-all: CMakeFiles/smartPDU.dir/all
-
-.PHONY : all
-
-# Build rule for subdir invocation for target.
-CMakeFiles/smartPDU.dir/rule: cmake_check_build_system
-	$(CMAKE_COMMAND) -E cmake_progress_start /home/liyi/hello_smart/smart_pdu/build/CMakeFiles 45
-	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/smartPDU.dir/all
-	$(CMAKE_COMMAND) -E cmake_progress_start /home/liyi/hello_smart/smart_pdu/build/CMakeFiles 0
-.PHONY : CMakeFiles/smartPDU.dir/rule
-
-# Convenience name for target.
-smartPDU: CMakeFiles/smartPDU.dir/rule
-
-.PHONY : smartPDU
-
-# clean rule for target.
-CMakeFiles/smartPDU.dir/clean:
-	$(MAKE) -f CMakeFiles/smartPDU.dir/build.make CMakeFiles/smartPDU.dir/clean
-.PHONY : CMakeFiles/smartPDU.dir/clean
-
-# clean rule for target.
-clean: CMakeFiles/smartPDU.dir/clean
-
-.PHONY : clean
-
-#=============================================================================
-# Special targets to cleanup operation of make.
-
-# Special rule to run CMake to check the build system integrity.
-# No rule that depends on this can have commands that come from listfiles
-# because they might be regenerated.
-cmake_check_build_system:
-	$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
-.PHONY : cmake_check_build_system
-

+ 0 - 3
ip/build/CMakeFiles/TargetDirectories.txt

@@ -1,3 +0,0 @@
-/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/rebuild_cache.dir
-/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir
-/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/edit_cache.dir

+ 0 - 1
ip/build/CMakeFiles/cmake.check_cache

@@ -1 +0,0 @@
-# This file is generated by cmake for dependency checking of the CMakeCache.txt file

BIN
ip/build/CMakeFiles/feature_tests.bin


+ 0 - 34
ip/build/CMakeFiles/feature_tests.c

@@ -1,34 +0,0 @@
-
-  const char features[] = {"\n"
-"C_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
-"1"
-#else
-"0"
-#endif
-"c_function_prototypes\n"
-"C_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-"1"
-#else
-"0"
-#endif
-"c_restrict\n"
-"C_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
-"1"
-#else
-"0"
-#endif
-"c_static_assert\n"
-"C_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-"1"
-#else
-"0"
-#endif
-"c_variadic_macros\n"
-
-};
-
-int main(int argc, char** argv) { (void)argv; return features[argc]; }

+ 0 - 405
ip/build/CMakeFiles/feature_tests.cxx

@@ -1,405 +0,0 @@
-
-  const char features[] = {"\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
-"1"
-#else
-"0"
-#endif
-"cxx_aggregate_default_initializers\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_alias_templates\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_alignas\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_alignof\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_attributes\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_attribute_deprecated\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_auto_type\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_binary_literals\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_constexpr\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_contextual_conversions\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_decltype\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_decltype_auto\n"
-"CXX_FEATURE:"
-#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_decltype_incomplete_return_types\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_default_function_template_args\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_defaulted_functions\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_defaulted_move_initializers\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_delegating_constructors\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_deleted_functions\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_digit_separators\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_enum_forward_declarations\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_explicit_conversions\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_extended_friend_declarations\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_extern_templates\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_final\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_func_identifier\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_generalized_initializers\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_generic_lambdas\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_inheriting_constructors\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_inline_namespaces\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_lambdas\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_lambda_init_captures\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_local_type_template_args\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_long_long_type\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_noexcept\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_nonstatic_member_init\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_nullptr\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_override\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_range_for\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_raw_string_literals\n"
-"CXX_FEATURE:"
-#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_reference_qualified_functions\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
-"1"
-#else
-"0"
-#endif
-"cxx_relaxed_constexpr\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_return_type_deduction\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_right_angle_brackets\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_rvalue_references\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_sizeof_member\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_static_assert\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_strong_enums\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus
-"1"
-#else
-"0"
-#endif
-"cxx_template_template_parameters\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_thread_local\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_trailing_return_types\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_unicode_literals\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_uniform_initialization\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_unrestricted_unions\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
-"1"
-#else
-"0"
-#endif
-"cxx_user_literals\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
-"1"
-#else
-"0"
-#endif
-"cxx_variable_templates\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_variadic_macros\n"
-"CXX_FEATURE:"
-#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
-"1"
-#else
-"0"
-#endif
-"cxx_variadic_templates\n"
-
-};
-
-int main(int argc, char** argv) { (void)argv; return features[argc]; }

+ 0 - 1
ip/build/CMakeFiles/progress.marks

@@ -1 +0,0 @@
-45

File diff suppressed because it is too large
+ 0 - 3252
ip/build/CMakeFiles/smartPDU.dir/C.includecache


+ 0 - 85
ip/build/CMakeFiles/smartPDU.dir/DependInfo.cmake

@@ -1,85 +0,0 @@
-# The set of languages for which implicit dependencies are needed:
-set(CMAKE_DEPENDS_LANGUAGES
-  "C"
-  )
-# The set of files for implicit dependencies of each language:
-set(CMAKE_DEPENDS_CHECK_C
-  "/home/liyi/hello_smart/smart_pdu/easylogger/os/port/elog_file_port.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/easylogger/os/port/elog_file_port.c.o"
-  "/home/liyi/hello_smart/smart_pdu/easylogger/os/port/elog_port.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/easylogger/os/port/elog_port.c.o"
-  "/home/liyi/hello_smart/smart_pdu/easylogger/plugins/file/elog_file.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/easylogger/plugins/file/elog_file.c.o"
-  "/home/liyi/hello_smart/smart_pdu/easylogger/src/elog.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/easylogger/src/elog.c.o"
-  "/home/liyi/hello_smart/smart_pdu/easylogger/src/elog_async.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_async.c.o"
-  "/home/liyi/hello_smart/smart_pdu/easylogger/src/elog_buf.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_buf.c.o"
-  "/home/liyi/hello_smart/smart_pdu/easylogger/src/elog_utils.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_utils.c.o"
-  "/home/liyi/hello_smart/smart_pdu/letter/os/shell_port.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/letter/os/shell_port.c.o"
-  "/home/liyi/hello_smart/smart_pdu/letter/src/shell.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/letter/src/shell.c.o"
-  "/home/liyi/hello_smart/smart_pdu/letter/src/shell_cmd_list.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/letter/src/shell_cmd_list.c.o"
-  "/home/liyi/hello_smart/smart_pdu/letter/src/shell_companion.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/letter/src/shell_companion.c.o"
-  "/home/liyi/hello_smart/smart_pdu/letter/src/shell_ext.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/letter/src/shell_ext.c.o"
-  "/home/liyi/hello_smart/smart_pdu/modbus/modbus-data.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/modbus/modbus-data.c.o"
-  "/home/liyi/hello_smart/smart_pdu/modbus/modbus-rtu.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/modbus/modbus-rtu.c.o"
-  "/home/liyi/hello_smart/smart_pdu/modbus/modbus-tcp.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/modbus/modbus-tcp.c.o"
-  "/home/liyi/hello_smart/smart_pdu/modbus/modbus.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/modbus/modbus.c.o"
-  "/home/liyi/hello_smart/smart_pdu/mongoose/mongoose.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/mongoose/mongoose.c.o"
-  "/home/liyi/hello_smart/smart_pdu/sqlite/sqlite3.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/sqlite/sqlite3.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/app.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/app.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/appweb_handle.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/appweb_handle.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/cJSON.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/cJSON.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/cascade.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/cascade.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/cascade_slave.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/cascade_slave.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/common.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/common.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/dflt.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/dflt.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/hlw8110_handle.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/hlw8110_handle.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/io.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/io.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/json_handle.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/json_handle.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/language_hashmap.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/language_hashmap.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/lcd_app.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/lcd_app.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/lcd_drv.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/lcd_drv.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/main.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/main.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/modbus_handle.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/modbus_handle.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/ntpclient.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/ntpclient.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/paras.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/paras.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/pduMIB_form.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/pduMIB_form.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/pduMIB_scalar.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/pduMIB_scalar.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/pduMIB_trap.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/pduMIB_trap.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/sensor_handle.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/sensor_handle.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/sqlite_handle.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/sqlite_handle.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/switch_ctrl.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/switch_ctrl.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/sys.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/sys.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/websocket_handle.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/websocket_handle.c.o"
-  "/home/liyi/hello_smart/smart_pdu/src/xlist.c" "/home/liyi/hello_smart/smart_pdu/build/CMakeFiles/smartPDU.dir/src/xlist.c.o"
-  )
-set(CMAKE_C_COMPILER_ID "GNU")
-
-# Preprocessor definitions for this target.
-set(CMAKE_TARGET_DEFINITIONS_C
-  "SHELL_CFG_USER=\"shell_cfg_user.h\""
-  )
-
-# The include file search paths:
-set(CMAKE_C_TARGET_INCLUDE_PATH
-  "/home/liyi/tina/out/t113-bingpi_m2/staging_dir/target/usr/include"
-  "../modbus/inc"
-  "../sqlite/inc"
-  "../appweb/inc"
-  "../easylogger/os/inc"
-  "../easylogger/inc"
-  "../easylogger/plugins/file"
-  "../letter/src"
-  "../letter/os"
-  "../mongoose"
-  "../sqlite"
-  "../modbus"
-  "../snmp/include"
-  "../src"
-  "../openssl/include"
-  "../upgrade"
-  "../config"
-  )
-
-# Targets to which this target links.
-set(CMAKE_TARGET_LINKED_INFO_FILES
-  )
-
-# Fortran module output directory.
-set(CMAKE_Fortran_TARGET_MODULE_DIR "")

File diff suppressed because it is too large
+ 0 - 1274
ip/build/CMakeFiles/smartPDU.dir/build.make


+ 0 - 53
ip/build/CMakeFiles/smartPDU.dir/cmake_clean.cmake

@@ -1,53 +0,0 @@
-file(REMOVE_RECURSE
-  "CMakeFiles/smartPDU.dir/letter/src/shell_cmd_list.c.o"
-  "CMakeFiles/smartPDU.dir/letter/src/shell_companion.c.o"
-  "CMakeFiles/smartPDU.dir/letter/src/shell_ext.c.o"
-  "CMakeFiles/smartPDU.dir/letter/src/shell.c.o"
-  "CMakeFiles/smartPDU.dir/letter/os/shell_port.c.o"
-  "CMakeFiles/smartPDU.dir/easylogger/os/port/elog_file_port.c.o"
-  "CMakeFiles/smartPDU.dir/easylogger/os/port/elog_port.c.o"
-  "CMakeFiles/smartPDU.dir/easylogger/plugins/file/elog_file.c.o"
-  "CMakeFiles/smartPDU.dir/easylogger/src/elog.c.o"
-  "CMakeFiles/smartPDU.dir/easylogger/src/elog_async.c.o"
-  "CMakeFiles/smartPDU.dir/easylogger/src/elog_buf.c.o"
-  "CMakeFiles/smartPDU.dir/easylogger/src/elog_utils.c.o"
-  "CMakeFiles/smartPDU.dir/mongoose/mongoose.c.o"
-  "CMakeFiles/smartPDU.dir/src/websocket_handle.c.o"
-  "CMakeFiles/smartPDU.dir/src/io.c.o"
-  "CMakeFiles/smartPDU.dir/src/lcd_app.c.o"
-  "CMakeFiles/smartPDU.dir/src/lcd_drv.c.o"
-  "CMakeFiles/smartPDU.dir/src/sensor_handle.c.o"
-  "CMakeFiles/smartPDU.dir/src/cJSON.c.o"
-  "CMakeFiles/smartPDU.dir/src/common.c.o"
-  "CMakeFiles/smartPDU.dir/src/app.c.o"
-  "CMakeFiles/smartPDU.dir/src/appweb_handle.c.o"
-  "CMakeFiles/smartPDU.dir/src/modbus_handle.c.o"
-  "CMakeFiles/smartPDU.dir/src/sqlite_handle.c.o"
-  "CMakeFiles/smartPDU.dir/src/switch_ctrl.c.o"
-  "CMakeFiles/smartPDU.dir/src/json_handle.c.o"
-  "CMakeFiles/smartPDU.dir/src/sys.c.o"
-  "CMakeFiles/smartPDU.dir/src/dflt.c.o"
-  "CMakeFiles/smartPDU.dir/src/paras.c.o"
-  "CMakeFiles/smartPDU.dir/src/xlist.c.o"
-  "CMakeFiles/smartPDU.dir/src/cascade.c.o"
-  "CMakeFiles/smartPDU.dir/src/main.c.o"
-  "CMakeFiles/smartPDU.dir/src/cascade_slave.c.o"
-  "CMakeFiles/smartPDU.dir/modbus/modbus.c.o"
-  "CMakeFiles/smartPDU.dir/modbus/modbus-data.c.o"
-  "CMakeFiles/smartPDU.dir/modbus/modbus-rtu.c.o"
-  "CMakeFiles/smartPDU.dir/modbus/modbus-tcp.c.o"
-  "CMakeFiles/smartPDU.dir/sqlite/sqlite3.c.o"
-  "CMakeFiles/smartPDU.dir/src/language_hashmap.c.o"
-  "CMakeFiles/smartPDU.dir/src/ntpclient.c.o"
-  "CMakeFiles/smartPDU.dir/src/pduMIB_form.c.o"
-  "CMakeFiles/smartPDU.dir/src/pduMIB_scalar.c.o"
-  "CMakeFiles/smartPDU.dir/src/pduMIB_trap.c.o"
-  "CMakeFiles/smartPDU.dir/src/hlw8110_handle.c.o"
-  "smartPDU.pdb"
-  "smartPDU"
-)
-
-# Per-language clean rules from dependency scanning.
-foreach(lang C)
-  include(CMakeFiles/smartPDU.dir/cmake_clean_${lang}.cmake OPTIONAL)
-endforeach()

File diff suppressed because it is too large
+ 0 - 2955
ip/build/CMakeFiles/smartPDU.dir/depend.internal


File diff suppressed because it is too large
+ 0 - 2955
ip/build/CMakeFiles/smartPDU.dir/depend.make


BIN
ip/build/CMakeFiles/smartPDU.dir/easylogger/os/port/elog_file_port.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/easylogger/os/port/elog_port.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/easylogger/plugins/file/elog_file.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/easylogger/src/elog.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_async.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_buf.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/easylogger/src/elog_utils.c.o


File diff suppressed because it is too large
+ 0 - 10
ip/build/CMakeFiles/smartPDU.dir/flags.make


BIN
ip/build/CMakeFiles/smartPDU.dir/letter/os/shell_port.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/letter/src/shell.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/letter/src/shell_cmd_list.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/letter/src/shell_companion.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/letter/src/shell_ext.c.o


File diff suppressed because it is too large
+ 0 - 1
ip/build/CMakeFiles/smartPDU.dir/link.txt


BIN
ip/build/CMakeFiles/smartPDU.dir/modbus/modbus-data.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/modbus/modbus-rtu.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/modbus/modbus-tcp.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/modbus/modbus.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/mongoose/mongoose.c.o


+ 0 - 46
ip/build/CMakeFiles/smartPDU.dir/progress.make

@@ -1,46 +0,0 @@
-CMAKE_PROGRESS_1 = 1
-CMAKE_PROGRESS_2 = 2
-CMAKE_PROGRESS_3 = 3
-CMAKE_PROGRESS_4 = 4
-CMAKE_PROGRESS_5 = 5
-CMAKE_PROGRESS_6 = 6
-CMAKE_PROGRESS_7 = 7
-CMAKE_PROGRESS_8 = 8
-CMAKE_PROGRESS_9 = 9
-CMAKE_PROGRESS_10 = 10
-CMAKE_PROGRESS_11 = 11
-CMAKE_PROGRESS_12 = 12
-CMAKE_PROGRESS_13 = 13
-CMAKE_PROGRESS_14 = 14
-CMAKE_PROGRESS_15 = 15
-CMAKE_PROGRESS_16 = 16
-CMAKE_PROGRESS_17 = 17
-CMAKE_PROGRESS_18 = 18
-CMAKE_PROGRESS_19 = 19
-CMAKE_PROGRESS_20 = 20
-CMAKE_PROGRESS_21 = 21
-CMAKE_PROGRESS_22 = 22
-CMAKE_PROGRESS_23 = 23
-CMAKE_PROGRESS_24 = 24
-CMAKE_PROGRESS_25 = 25
-CMAKE_PROGRESS_26 = 26
-CMAKE_PROGRESS_27 = 27
-CMAKE_PROGRESS_28 = 28
-CMAKE_PROGRESS_29 = 29
-CMAKE_PROGRESS_30 = 30
-CMAKE_PROGRESS_31 = 31
-CMAKE_PROGRESS_32 = 32
-CMAKE_PROGRESS_33 = 33
-CMAKE_PROGRESS_34 = 34
-CMAKE_PROGRESS_35 = 35
-CMAKE_PROGRESS_36 = 36
-CMAKE_PROGRESS_37 = 37
-CMAKE_PROGRESS_38 = 38
-CMAKE_PROGRESS_39 = 39
-CMAKE_PROGRESS_40 = 40
-CMAKE_PROGRESS_41 = 41
-CMAKE_PROGRESS_42 = 42
-CMAKE_PROGRESS_43 = 43
-CMAKE_PROGRESS_44 = 44
-CMAKE_PROGRESS_45 = 45
-

BIN
ip/build/CMakeFiles/smartPDU.dir/sqlite/sqlite3.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/app.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/appweb_handle.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/cJSON.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/cascade.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/cascade_slave.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/common.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/dflt.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/hlw8110_handle.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/io.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/json_handle.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/language_hashmap.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/lcd_app.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/lcd_drv.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/main.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/modbus_handle.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/ntpclient.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/paras.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/pduMIB_form.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/pduMIB_scalar.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/pduMIB_trap.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/sensor_handle.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/sqlite_handle.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/switch_ctrl.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/sys.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/websocket_handle.c.o


BIN
ip/build/CMakeFiles/smartPDU.dir/src/xlist.c.o


File diff suppressed because it is too large
+ 0 - 1468
ip/build/Makefile


+ 0 - 49
ip/build/cmake_install.cmake

@@ -1,49 +0,0 @@
-# Install script for directory: /home/liyi/hello_smart/smart_pdu
-
-# Set the install prefix
-if(NOT DEFINED CMAKE_INSTALL_PREFIX)
-  set(CMAKE_INSTALL_PREFIX "/usr/local")
-endif()
-string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
-  if(BUILD_TYPE)
-    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
-           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
-  else()
-    set(CMAKE_INSTALL_CONFIG_NAME "Debug")
-  endif()
-  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-endif()
-
-# Set the component getting installed.
-if(NOT CMAKE_INSTALL_COMPONENT)
-  if(COMPONENT)
-    message(STATUS "Install component: \"${COMPONENT}\"")
-    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
-  else()
-    set(CMAKE_INSTALL_COMPONENT)
-  endif()
-endif()
-
-# Install shared libraries without execute permission?
-if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
-  set(CMAKE_INSTALL_SO_NO_EXE "1")
-endif()
-
-# Is this installation the result of a crosscompile?
-if(NOT DEFINED CMAKE_CROSSCOMPILING)
-  set(CMAKE_CROSSCOMPILING "TRUE")
-endif()
-
-if(CMAKE_INSTALL_COMPONENT)
-  set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
-else()
-  set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
-endif()
-
-string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
-       "${CMAKE_INSTALL_MANIFEST_FILES}")
-file(WRITE "/home/liyi/hello_smart/smart_pdu/build/${CMAKE_INSTALL_MANIFEST}"
-     "${CMAKE_INSTALL_MANIFEST_CONTENT}")

File diff suppressed because it is too large
+ 0 - 222
ip/build/compile_commands.json


BIN
ip/build/smartPDU


+ 71 - 11
ip/config/cfg.h

@@ -2,25 +2,85 @@
 #define __CONFIG_Hx__
 
 
-#define VERSION             "V0.0.1"
+#define VERSION                         "V0.0.1"
 
 
-#define PROD_ID             1
-#define PROD_TYPE           1
-#define PROD_POWER_TYPE     1
+#define PROD_ID                         1
+#define PROD_TYPE                       1
+#define PROD_POWER_TYPE                 1
 
 
-#define LANGUAGE            0
-#define SMPLE_TIME          100         //ms
-#define SAVE_TIME           1000        //ms
-#define CASCADE_CNT         5
+#define LANGUAGE                        0
+#define SMPLE_TIME                      100         //ms
+#define SAVE_TIME                       1000        //ms
+#define CASCADE_CNT                     5
 
+#define MAX_CHN_COUNT                   16
+#define PHASE_GROUP_CNT                 8
+#define CHANNEL_DELAY_SEC               8
 
-//define KEY_PARAS_IN_FILE		//mask it mean store paras in database
-#define USE_WEBAPP
 
-#define USER_MAX            50
+/////////////customer demannd//////////////////////
+//#define CUST_GOM037     //xian
+//#define CUST_USASL
+//#define CUST_ANDERSON
+//#define CUST_HYPERTEC
+#define CUST_CGANGJIANG_RIVER
 
+#ifdef CUST_GOM037      //xian
+    //#define GOM037_PDU_GC10_08K_80H        //ac_in1_out1_40a_p8_5ch_nologo_cn
+    //#define GOM037PDU_GC20_04K_125H        //ac_in1_out1_40a_p4_5ch_nologo_cn
+  
+
+    #ifdef GOM037PDU_GC20_04K_125H
+        #undef CHANNEL_DELAY_SEC
+        #define CHANNEL_DELAY_SEC        5
+    #endif
+#endif
+
+#ifdef CUST_USASL
+    #define PDU_GC40_03K_125H           //ac_in3_out3_40a_p8_12ch_nologo_en
+
+    //#define PDU_GC60_04K_125H         //ac_in3_out1_40a_p4_24ch_nologo_en
+#endif
+
+
+#ifdef CUST_ANDERSON
+    #define USE_SMTP
+    #define USE_NETSWITCH
+
+    #define SW_STATIC_PORT_START
+    #define SW_PORT_INDEX_START         0
+    #define SW_PORT_INDEX_END           21
+
+    //#define SW_STATIC_IP
+    #ifdef SW_STATIC_IP
+        #define SW_HOST_IP              "192.168.234.1"
+        #define SW_PDU_IP               "192.168.234.132"
+    #endif
+    
+    #undef MAX_CHN_COUNT
+    #define MAX_CHN_COUNT               24
+#endif
+
+
+#ifdef CUST_HYPERTEC
+    //ac_in3_out1_36ch_nologo_en_hypertec
+    
+    #undef PHASE_GROUP_CNT
+    #undef CHANNEL_DELAY_SEC
+
+    #define PHASE_GROUP_CNT             6
+    #define CHANNEL_DELAY_SEC           6
+#endif
+
+#ifdef CUST_CGANGJIANG_RIVER
+    #define __USE_CURL_SMTP
+
+#endif
+
+
+////////////////////////////////////////////////////
 
 
 

+ 1 - 1
ip/easylogger/os/port/elog_port.c

@@ -141,7 +141,7 @@ const char *elog_port_get_p_info(void) {
 const char *elog_port_get_t_info(void) {
     static char cur_thread_info[10] = { 0 };
 
-    snprintf(cur_thread_info, 10, "tid:%04d", syscall(SYS_gettid));
+    snprintf(cur_thread_info, 10, "tid:%04ld", syscall(SYS_gettid));
 
     return cur_thread_info;
 }

+ 0 - 0
ip/ini/dictionary.c


Some files were not shown because too many files changed in this diff