libnetservices.a: create new static library for the network services
These will be added to the _devel packages so that other applications can link to them. Change-Id: If3fd231869823b42d6d896c6c9eb7a95c5fe715d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3666 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -41,8 +41,8 @@ for lib in [ HaikuImageGetSystemLibs ] $(developmentLibs) {
|
|||||||
AddFilesToPackage develop lib :
|
AddFilesToPackage develop lib :
|
||||||
libc.a libcolumnlistview.a
|
libc.a libcolumnlistview.a
|
||||||
<$(architecture)>liblocalestub.a
|
<$(architecture)>liblocalestub.a
|
||||||
libm.a libpthread.a
|
libm.a libnetservices.a
|
||||||
libprint.a libprintutils.a
|
libpthread.a libprint.a libprintutils.a
|
||||||
<$(architecture)>libshared.a ;
|
<$(architecture)>libshared.a ;
|
||||||
|
|
||||||
# the POSIX error code mapper library
|
# the POSIX error code mapper library
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ AddFilesToPackage develop lib $(architecture) :
|
|||||||
<$(architecture)>libcolumnlistview.a
|
<$(architecture)>libcolumnlistview.a
|
||||||
<$(architecture)>liblocalestub.a
|
<$(architecture)>liblocalestub.a
|
||||||
<$(architecture)>libm.a
|
<$(architecture)>libm.a
|
||||||
|
<$(architecture)>libnetservices.a
|
||||||
<$(architecture)>libpthread.a
|
<$(architecture)>libpthread.a
|
||||||
<$(architecture)>libshared.a ;
|
<$(architecture)>libshared.a ;
|
||||||
|
|
||||||
|
|||||||
@@ -2,42 +2,50 @@ SubDir HAIKU_TOP src kits network libnetservices ;
|
|||||||
|
|
||||||
UsePrivateHeaders net netservices shared support ;
|
UsePrivateHeaders net netservices shared support ;
|
||||||
|
|
||||||
|
local sources =
|
||||||
|
# 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
|
||||||
|
;
|
||||||
|
|
||||||
local architectureObject ;
|
local architectureObject ;
|
||||||
for architectureObject in [ MultiArchSubDirSetup ] {
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
||||||
on $(architectureObject) {
|
on $(architectureObject) {
|
||||||
local architecture = $(TARGET_PACKAGING_ARCH) ;
|
local architecture = $(TARGET_PACKAGING_ARCH) ;
|
||||||
|
|
||||||
MergeObject <libnetapi!$(architecture)>netservices.o :
|
MergeObject <libnetapi!$(architecture)>netservices.o :
|
||||||
# FUTURE: The HTTP stuff should all go into an add-on. It needs
|
$(sources)
|
||||||
# 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
|
: <$(architecture)>libshared.a
|
||||||
;
|
;
|
||||||
|
|
||||||
|
StaticLibrary <$(architecture)>libnetservices.a :
|
||||||
|
$(sources)
|
||||||
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user