projects
/
platform
/
core
/
connectivity
/
net-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Multipath TCP
[platform/core/connectivity/net-config.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
c7b4f54
..
331c979
100755
(executable)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-14,6
+14,8
@@
SET(SRCS
src/neterror.c
src/wifi-eap.c
src/wifi-wps.c
src/neterror.c
src/wifi-eap.c
src/wifi-wps.c
+ src/wifi-bssid-scan.c
+ src/wifi-netlink-scan.c
src/wifi-agent.c
src/wifi-power.c
src/wifi-state.c
src/wifi-agent.c
src/wifi-power.c
src/wifi-state.c
@@
-23,6
+25,8
@@
SET(SRCS
src/utils/util.c
src/vpnsvc.c
src/vpnsvc-internal.c
src/utils/util.c
src/vpnsvc.c
src/vpnsvc-internal.c
+ src/mptcp.c
+ src/mptcp-internal.c
src/dbus/netdbus.c
src/network-clock.c
src/network-state.c
src/dbus/netdbus.c
src/network-clock.c
src/network-state.c
@@
-30,14
+34,16
@@
SET(SRCS
src/network-monitor.c
src/wifi-firmware.c
src/wifi-indicator.c
src/network-monitor.c
src/wifi-firmware.c
src/wifi-indicator.c
+ src/wifi-key-encryption.c
src/signal-handler.c
src/signal-handler.c
- src/wifi-ssid-scan.c
src/utils/emulator.c
src/wifi-eap-config.c
src/network-statistics.c
src/dbus/netsupplicant.c
src/wifi-background-scan.c
src/wifi-config.c
src/utils/emulator.c
src/wifi-eap-config.c
src/network-statistics.c
src/dbus/netsupplicant.c
src/wifi-background-scan.c
src/wifi-config.c
+ src/wifi-extension.c
+ src/ip-conflict-detect.c
)
IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
)
IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
@@
-53,14
+59,6
@@
IF(TIZEN_WLAN_USE_P2P_INTERFACE)
ADD_DEFINITIONS(-DTIZEN_WLAN_USE_P2P_INTERFACE)
ENDIF(TIZEN_WLAN_USE_P2P_INTERFACE)
ADD_DEFINITIONS(-DTIZEN_WLAN_USE_P2P_INTERFACE)
ENDIF(TIZEN_WLAN_USE_P2P_INTERFACE)
-IF(TIZEN_P2P_ENABLE)
- ADD_DEFINITIONS(-DTIZEN_P2P_ENABLE)
-ENDIF(TIZEN_P2P_ENABLE)
-
-IF(TIZEN_TETHERING_ENABLE)
- ADD_DEFINITIONS(-DTIZEN_TETHERING_ENABLE)
-ENDIF(TIZEN_TETHERING_ENABLE)
-
IF(TIZEN_CAPTIVE_PORTAL)
ADD_DEFINITIONS(-DTIZEN_CAPTIVE_PORTAL)
SET(SRCS ${SRCS} src/utils/network-accessibility.c)
IF(TIZEN_CAPTIVE_PORTAL)
ADD_DEFINITIONS(-DTIZEN_CAPTIVE_PORTAL)
SET(SRCS ${SRCS} src/utils/network-accessibility.c)
@@
-70,6
+68,11
@@
IF(TIZEN_WEARABLE)
ADD_DEFINITIONS(-DTIZEN_WEARABLE)
ENDIF(TIZEN_WEARABLE)
ADD_DEFINITIONS(-DTIZEN_WEARABLE)
ENDIF(TIZEN_WEARABLE)
+IF(TIZEN_DEBUG_ENABLE)
+ ADD_DEFINITIONS(-DTIZEN_DEBUG_ENABLE)
+ SET(SRCS ${SRCS} src/network-dump.c)
+ENDIF(TIZEN_DEBUG_ENABLE)
+
INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(pkgs REQUIRED
dlog
INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(pkgs REQUIRED
dlog
@@
-78,7
+81,9
@@
PKG_CHECK_MODULES(pkgs REQUIRED
glib-2.0
gio-unix-2.0
capi-system-info
glib-2.0
gio-unix-2.0
capi-system-info
+ key-manager
libtzplatform-config
libtzplatform-config
+ libnl-2.0
${P2P_REQUIRED_PKGS}
${WEARABLE_REQUIRED_PKGS}
)
${P2P_REQUIRED_PKGS}
${WEARABLE_REQUIRED_PKGS}
)
@@
-93,10
+98,6
@@
SET(CMAKE_C_FLAGS "-I${CMAKE_SOURCE_DIR} -I${CMAKE_SOURCE_DIR}/include ${CMAKE_C
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -fPIE")
SET(CMAKE_C_FLAGS_RELEASE "-O2 -fPIE")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -fPIE")
SET(CMAKE_C_FLAGS_RELEASE "-O2 -fPIE")
-IF(WLAN_CONCURRENT_MODE)
- ADD_DEFINITIONS(-DWLAN_CONCURRENT_MODE)
-ENDIF(WLAN_CONCURRENT_MODE)
-
FIND_PROGRAM(UNAME NAMES uname)
EXEC_PROGRAM("${UNAME}" ARGS "-m"
OUTPUT_VARIABLE "ARCH")
FIND_PROGRAM(UNAME NAMES uname)
EXEC_PROGRAM("${UNAME}" ARGS "-m"
OUTPUT_VARIABLE "ARCH")
@@
-117,7
+118,7
@@
ADD_CUSTOM_COMMAND(
--generate-c-code generated-code
--c-generate-object-manager
--generate-docbook generated-code-docs
--generate-c-code generated-code
--c-generate-object-manager
--generate-docbook generated-code-docs
- ${INTERFACES}/netconfig-iface-network-state.xml ${INTERFACES}/netconfig-iface-network-statistics.xml ${INTERFACES}/netconfig-iface-wifi.xml ${INTERFACES}/netconfig-iface-vpnsvc.xml
+ ${INTERFACES}/netconfig-iface-network-state.xml ${INTERFACES}/netconfig-iface-network-statistics.xml ${INTERFACES}/netconfig-iface-wifi.xml ${INTERFACES}/netconfig-iface-vpnsvc.xml
${INTERFACES}/netconfig-iface-mptcp.xml
COMMENT "Generating GDBus .c/.h")
ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS} ${CMAKE_SOURCE_DIR}/generated-code.c)
COMMENT "Generating GDBus .c/.h")
ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS} ${CMAKE_SOURCE_DIR}/generated-code.c)