libnetwork: Move from src/kits to src/system.

Properly speaking, this is part of POSIX and not of the Be-style
"kits", and so it should live in system/ alongside libroot.
No functional change intended.

Change-Id: I0fcf78a09c76e220ad4f1719d147978ef4a3bc52
Reviewed-on: https://review.haiku-os.org/726
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Augustin Cavalier 2018-11-23 15:01:32 -05:00 committed by waddlesplash
parent 3d34cef833
commit aa6411e23e
132 changed files with 38 additions and 35 deletions

View File

@ -1,37 +1,3 @@
SubDir HAIKU_TOP src kits network ;
UsePrivateHeaders libroot net shared ;
UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
local services = [ FGristFiles services ] ;
SEARCH on $(services) = [ FDirName $(SUBDIR) netresolv defaults ] ;
SubDirC++Flags [ FDefines _BSD_SOURCE=1 ] ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
local architecture = $(TARGET_PACKAGING_ARCH) ;
UsePrivateSystemHeaders ;
local libnetwork = [ MultiArchDefaultGristFiles libnetwork.so ] ;
SharedLibrary $(libnetwork) :
init.cpp
interfaces.cpp
gethostbyname.c
getifaddrs.cpp
socket.cpp
r5_compatibility.cpp
:
<netresolv!$(architecture)>netresolv.o
[ MultiArchDefaultGristFiles libutil.a libbsd.so ]
[ TargetLibsupc++ ]
;
AddFileDataAttribute $(libnetwork) : services : string : $(services) ;
}
}
SubInclude HAIKU_TOP src kits network netresolv ;
SubInclude HAIKU_TOP src kits network libnetapi ;

View File

@ -4,4 +4,5 @@ SubInclude HAIKU_TOP src system boot ;
SubInclude HAIKU_TOP src system kernel ;
SubInclude HAIKU_TOP src system glue ;
SubInclude HAIKU_TOP src system libroot ;
SubInclude HAIKU_TOP src system libnetwork ;
SubInclude HAIKU_TOP src system runtime_loader ;

View File

@ -0,0 +1,36 @@
SubDir HAIKU_TOP src system libnetwork ;
UsePrivateHeaders libroot net shared ;
UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
local services = [ FGristFiles services ] ;
SEARCH on $(services) = [ FDirName $(SUBDIR) netresolv defaults ] ;
SubDirC++Flags [ FDefines _BSD_SOURCE=1 ] ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
local architecture = $(TARGET_PACKAGING_ARCH) ;
UsePrivateSystemHeaders ;
local libnetwork = [ MultiArchDefaultGristFiles libnetwork.so ] ;
SharedLibrary $(libnetwork) :
init.cpp
interfaces.cpp
gethostbyname.c
getifaddrs.cpp
socket.cpp
r5_compatibility.cpp
:
<netresolv!$(architecture)>netresolv.o
[ MultiArchDefaultGristFiles libutil.a libbsd.so ]
[ TargetLibsupc++ ]
;
AddFileDataAttribute $(libnetwork) : services : string : $(services) ;
}
}
SubInclude HAIKU_TOP src system libnetwork netresolv ;

View File

@ -1,4 +1,4 @@
SubDir HAIKU_TOP src kits network netresolv ;
SubDir HAIKU_TOP src system libnetwork netresolv ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {

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