libnetapi.so: move deprecated classes out into a libnetservices directory
These classes have been moved to the public API too soon, and they need some more time to mature before they can be declared stable. In this first step the classes that are involved, are moved to a separate folder. They will still be linked to libnetapi.so, so that binaries that depend on them currently will not break. Change-Id: I6c16f17573d819314a27936f065ebe675846f763 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3664 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
SubDir HAIKU_TOP src kits network ;
|
||||
|
||||
SubInclude HAIKU_TOP src kits network libnetapi ;
|
||||
SubInclude HAIKU_TOP src kits network libnetservices ;
|
||||
|
||||
@@ -11,6 +11,7 @@ UseHeaders [ FDirName $(HAIKU_TOP) headers os add-ons network_settings ]
|
||||
local architectureObject ;
|
||||
for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
on $(architectureObject) {
|
||||
local architecture = $(TARGET_PACKAGING_ARCH) ;
|
||||
local sslSources ;
|
||||
|
||||
UsePrivateSystemHeaders ;
|
||||
@@ -41,8 +42,6 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
|
||||
NetworkAddress.cpp
|
||||
NetworkAddressResolver.cpp
|
||||
NetworkCookie.cpp
|
||||
NetworkCookieJar.cpp
|
||||
NetworkDevice.cpp
|
||||
NetworkInterface.cpp
|
||||
NetworkRoster.cpp
|
||||
@@ -56,36 +55,10 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
Socket.cpp
|
||||
SocketMessenger.cpp
|
||||
|
||||
# TODO: another add-on for file:// (a much simpler one)
|
||||
FileRequest.cpp
|
||||
|
||||
# TODO: another add-on for gopher://
|
||||
GopherRequest.cpp
|
||||
|
||||
# TODO: The HTTP stuff should all go into an add-on. It needs
|
||||
# linking against libcrypto.so and only the add-on should link
|
||||
# against it.
|
||||
DataRequest.cpp
|
||||
HttpAuthentication.cpp
|
||||
HttpHeaders.cpp
|
||||
HttpForm.cpp
|
||||
HttpRequest.cpp
|
||||
HttpResult.cpp
|
||||
HttpTime.cpp
|
||||
|
||||
notifications.cpp
|
||||
|
||||
NetworkRequest.cpp
|
||||
UrlContext.cpp
|
||||
UrlProtocolAsynchronousListener.cpp
|
||||
UrlProtocolDispatchingListener.cpp
|
||||
UrlProtocolListener.cpp
|
||||
UrlProtocolRoster.cpp
|
||||
UrlRequest.cpp
|
||||
UrlResult.cpp
|
||||
UrlSynchronousRequest.cpp
|
||||
|
||||
:
|
||||
<libnetapi!$(architecture)>netservices.o
|
||||
be shared $(TARGET_NETWORK_LIBS) [ TargetLibstdc++ ]
|
||||
[ TargetLibsupc++ ] [ BuildFeatureAttribute openssl : libraries ]
|
||||
[ BuildFeatureAttribute icu : libraries ]
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
SubDir HAIKU_TOP src kits network libnetservices ;
|
||||
|
||||
UsePrivateHeaders net shared support ;
|
||||
|
||||
local architectureObject ;
|
||||
for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
on $(architectureObject) {
|
||||
local architecture = $(TARGET_PACKAGING_ARCH) ;
|
||||
|
||||
MergeObject <libnetapi!$(architecture)>netservices.o :
|
||||
# FUTURE: The HTTP stuff should all go into an add-on. It needs
|
||||
# linking against libcrypto.so and only the add-on should link
|
||||
# against it.
|
||||
DataRequest.cpp
|
||||
HttpAuthentication.cpp
|
||||
HttpHeaders.cpp
|
||||
HttpForm.cpp
|
||||
HttpRequest.cpp
|
||||
HttpResult.cpp
|
||||
|
||||
# FUTURE: another add-on for file:// (a much simpler one)
|
||||
FileRequest.cpp
|
||||
|
||||
# FUTURE: another add-on for gopher://
|
||||
GopherRequest.cpp
|
||||
|
||||
HttpTime.cpp
|
||||
NetworkCookie.cpp
|
||||
NetworkCookieJar.cpp
|
||||
|
||||
NetworkRequest.cpp
|
||||
UrlContext.cpp
|
||||
UrlProtocolAsynchronousListener.cpp
|
||||
UrlProtocolDispatchingListener.cpp
|
||||
UrlProtocolListener.cpp
|
||||
UrlProtocolRoster.cpp
|
||||
UrlRequest.cpp
|
||||
UrlResult.cpp
|
||||
UrlSynchronousRequest.cpp
|
||||
: <$(architecture)>libshared.a
|
||||
;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user