xref: /haiku/src/kits/network/Jamfile (revision 991dadd6324f7b7a68e94743a39ebae789823228)
1SubDir HAIKU_TOP src kits network ;
2
3UsePrivateHeaders libroot net shared ;
4
5local services = [ FGristFiles services ] ;
6SEARCH on $(services) = [ FDirName $(SUBDIR) libbind defaults ] ;
7
8local architectureObject ;
9for architectureObject in [ MultiArchSubDirSetup ] {
10	on $(architectureObject) {
11		local architecture = $(TARGET_PACKAGING_ARCH) ;
12
13		UsePrivateSystemHeaders ;
14
15		local libnetwork = [ MultiArchDefaultGristFiles libnetwork.so ] ;
16		SharedLibrary $(libnetwork) :
17			init.cpp
18			interfaces.cpp
19			socket.cpp
20			r5_compatibility.cpp
21			:
22			<libbind!$(architecture)>libbind.o
23			$(TARGET_LIBSUPC++)
24			;
25
26		AddFileDataAttribute $(libnetwork) : services : string : $(services) ;
27	}
28}
29
30SubInclude HAIKU_TOP src kits network libbind ;
31SubInclude HAIKU_TOP src kits network libnetapi ;
32