1 SubDir HAIKU_TOP src kits network ;
3 UsePrivateHeaders libroot net shared ;
4 UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
6 local services = [ FGristFiles services ] ;
7 SEARCH on $(services) = [ FDirName $(SUBDIR) netresolv defaults ] ;
9 SubDirC++Flags [ FDefines _BSD_SOURCE=1 ] ;
11 local architectureObject ;
12 for architectureObject in [ MultiArchSubDirSetup ] {
13 on $(architectureObject) {
14 local architecture = $(TARGET_PACKAGING_ARCH) ;
16 UsePrivateSystemHeaders ;
18 local libnetwork = [ MultiArchDefaultGristFiles libnetwork.so ] ;
19 SharedLibrary $(libnetwork) :
26 <netresolv!$(architecture)>netresolv.o libutil.a libbsd.so
30 AddFileDataAttribute $(libnetwork) : services : string : $(services) ;
34 SubInclude HAIKU_TOP src kits network netresolv ;
35 SubInclude HAIKU_TOP src kits network libnetapi ;