xref: /haiku/src/kits/network/Jamfile (revision 4b7e219688450694efc9d1890f83f816758c16d3)
1SubDir HAIKU_TOP src kits network ;
2
3UsePrivateHeaders app 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			notifications.cpp
20			socket.cpp
21			r5_compatibility.cpp
22			:
23			be
24			<libbind!$(architecture)>libbind.o
25			$(TARGET_LIBSUPC++)
26			;
27
28		AddFileDataAttribute $(libnetwork) : services : string : $(services) ;
29	}
30}
31
32SubInclude HAIKU_TOP src kits network libbind ;
33SubInclude HAIKU_TOP src kits network libnetapi ;
34