1 SET (this_target osp-net)
4 ${CMAKE_SOURCE_DIR}/inc
9 /usr/lib/glib-2.0/include
11 /usr/include/wifi-direct
17 /usr/include/osp/security
18 /usr/include/osp/system
22 SET (${this_target}_SOURCE_FILES
23 http/FNetHttp_HttpCommon.cpp
24 http/FNetHttpHttpAuthentication.cpp
25 http/FNetHttp_HttpAuthenticationImpl.cpp
26 http/FNetHttpHttpCookie.cpp
27 http/FNetHttp_HttpCookieImpl.cpp
28 http/FNetHttpHttpCookieStorageManager.cpp
29 http/FNetHttp_HttpCookieStorageManagerImpl.cpp
30 http/FNetHttpHttpCredentials.cpp
31 http/FNetHttpHttpHeader.cpp
32 http/FNetHttp_HttpHeaderImpl.cpp
33 http/FNetHttpHttpMessage.cpp
34 http/FNetHttpHttpRequest.cpp
35 http/FNetHttp_HttpRequestImpl.cpp
36 http/FNetHttpHttpResponse.cpp
37 http/FNetHttp_HttpResponseImpl.cpp
38 http/FNetHttpHttpSession.cpp
39 http/FNetHttp_HttpSessionImpl.cpp
40 http/FNetHttp_HttpMultipleConnectionInfo.cpp
41 http/FNetHttp_HttpTransactionEvent.cpp
42 http/FNetHttp_HttpTransactionEventArg.cpp
43 http/FNetHttpHttpTransaction.cpp
44 http/FNetHttp_HttpTransactionImpl.cpp
45 http/FNetHttp_HttpTransactionUserData.cpp
46 http/FNetHttp_HttpCurl.cpp
47 http/FNetHttp_HttpSocketInfo.cpp
48 http/FNetHttpHttpMultipartEntity.cpp
49 http/FNetHttp_HttpMultipartConverter.cpp
50 http/FNetHttp_HttpMultipartEntityImpl.cpp
51 http/FNetHttp_HttpStringPart.cpp
52 http/FNetHttp_HttpFilePart.cpp
53 http/FNetHttpHttpStringEntity.cpp
54 http/FNetHttp_HttpStringEntityImpl.cpp
55 http/FNetHttpHttpUrlEncodedEntity.cpp
56 http/FNetHttp_HttpUrlEncodedEntityImpl.cpp
57 http/FNetHttpHttpXmlDomEntity.cpp
58 http/FNetHttp_HttpXmlDomEntityImpl.cpp
59 http/FNetHttp_HttpManagedNetConnectionEventListenerImpl.cpp
60 http/FNetHttp_HttpNetConnectionEventListenerImpl.cpp
63 FNet_DnsManagedNetConnectionEventListener.cpp
64 FNet_DnsRequestHandler.cpp
68 FNet_Ip4AddressImpl.cpp
71 FNet_IpHostEntryImpl.cpp
72 FNetManagedNetConnection.cpp
73 FNet_ManagedNetConnectionImpl.cpp
74 FNetNetAccountInfo.cpp
75 FNet_NetAccountInfoImpl.cpp
76 FNetNetAccountManager.cpp
77 FNetNetAccountManagerPartner.cpp
78 FNet_NetAccountManagerImpl.cpp
80 FNet_NetConnectionImpl.cpp
81 FNetNetConnectionInfo.cpp
82 FNet_NetConnectionInfoImpl.cpp
83 FNetNetConnectionManager.cpp
84 FNet_NetConnectionManagerImpl.cpp
86 FNet_NetEndPointImpl.cpp
88 FNet_NetStatisticsImpl.cpp
89 FNet_LocalDhcpServerEvent.cpp
90 FNet_LocalDhcpServerEventArg.cpp
91 FNetLocalDhcpServer.cpp
92 FNet_LocalDhcpServerImpl.cpp
93 FNetDhcpClientInfo.cpp
94 FNet_DhcpClientInfoImpl.cpp
95 FNet_NetAccountDatabase.cpp
96 FNet_NetConnectionEvent.cpp
97 FNet_NetConnectionEventArg.cpp
100 FNet_SystemNetConnection.cpp
101 FNet_DefaultSystemNetConnection.cpp
102 FNet_PsSystemNetConnection.cpp
103 FNet_WifiSystemNetConnection.cpp
104 FNet_WifiDirectSystemNetConnection.cpp
105 FNet_UsbSystemNetConnection.cpp
107 FNet_NetIpcMessages.cpp
108 sockets/FNetSockSocket.cpp
109 sockets/FNetSock_SocketImpl.cpp
110 sockets/FNetSockSecureSocket.cpp
111 sockets/FNetSock_SecureSocketImpl.cpp
112 sockets/FNetSockSocketIpMulticastRequestOption.cpp
113 sockets/FNetSock_IpMulticastRequestOptionImpl.cpp
114 sockets/FNetSockSocketLingerOption.cpp
115 sockets/FNetSock_LingerOptionImpl.cpp
116 sockets/FNetSockSocketUtility.cpp
117 sockets/FNetSock_SocketUtilityImpl.cpp
118 sockets/FNetSock_SocketEvent.cpp
119 sockets/FNetSock_SocketEventArg.cpp
120 sockets/FNetSock_SecureSocketEvent.cpp
121 sockets/FNetSock_SecureSocketEventArg.cpp
122 sockets/FNetSock_SocketInternalHelp.cpp
123 sockets/FNetSock_SocketManagedNetConnectionEventListenerImpl.cpp
124 sockets/FNetSock_SocketCustomNetConnectionEventListenerImpl.cpp
125 sockets/FNetSock_SecureSocketCustomNetConnectionEventListenerImpl.cpp
126 sockets/FNetSock_SecureSocketManagedNetConnectionEventListenerImpl.cpp
130 SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -Wall" )
132 ## SET C COMPILER FLAGS
133 SET(CMAKE_C_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}")
135 ## SET CPP COMPILER FLAGS
136 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
137 SET(CMAKE_CXX_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}")
140 ADD_LIBRARY (${this_target} SHARED ${${this_target}_SOURCE_FILES})
143 SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -Wl,--as-needed")
145 TARGET_LINK_LIBRARIES(${this_target} "-lchromium" )
146 TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw" )
147 TARGET_LINK_LIBRARIES(${this_target} "-lcapi-network-connection" )
148 TARGET_LINK_LIBRARIES(${this_target} "-lcapi-network-tethering" )
149 TARGET_LINK_LIBRARIES(${this_target} "-lcapi-network-wifi" )
150 TARGET_LINK_LIBRARIES(${this_target} "-lssl" )
151 TARGET_LINK_LIBRARIES(${this_target} "-lcurl" )
152 TARGET_LINK_LIBRARIES(${this_target} "-lwifi-direct" )
153 TARGET_LINK_LIBRARIES(${this_target} "-lglib-2.0" )
154 TARGET_LINK_LIBRARIES(${this_target} "-lpthread" )
155 TARGET_LINK_LIBRARIES(${this_target} "-ldl" )
156 TARGET_LINK_LIBRARIES(${this_target} "-lvconf" )
157 TARGET_LINK_LIBRARIES(${this_target} "-lxml2" )
158 TARGET_LINK_LIBRARIES(${this_target} "-lcrypto" )
160 SET_TARGET_PROPERTIES(${this_target}
163 SOVERSION ${MAJORVER}
164 CLEAN_DIRECT_OUTPUT 1