1SubDir HAIKU_TOP src system libnetwork ; 2 3UsePrivateHeaders libroot net shared ; 4UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; 5 6local architectureObject ; 7for architectureObject in [ MultiArchSubDirSetup ] { 8 on $(architectureObject) { 9 local architecture = $(TARGET_PACKAGING_ARCH) ; 10 11 UsePrivateSystemHeaders ; 12 13 local libnetwork = [ MultiArchDefaultGristFiles libnetwork.so ] ; 14 SharedLibrary $(libnetwork) : 15 init.cpp 16 interfaces.cpp 17 getifaddrs.cpp 18 socket.cpp 19 r5_compatibility.cpp 20 : 21 <netresolv!$(architecture)>netresolv.o 22 <$(architecture)>posix_musl_network.o 23 [ MultiArchDefaultGristFiles libutil.a libbsd.so ] 24 [ TargetLibsupc++ ] 25 ; 26 } 27} 28 29SubInclude HAIKU_TOP src system libnetwork musl ; 30SubInclude HAIKU_TOP src system libnetwork netresolv ; 31