xref: /haiku/src/system/libnetwork/musl/Jamfile (revision cbf71a819fd6ceaa0d813b5956060516cf0d842a)
1*cbf71a81SAugustin CavalierSubDir HAIKU_TOP src system libnetwork musl ;
2*cbf71a81SAugustin Cavalier
3*cbf71a81SAugustin CavalierSubDirSysHdrs [ FDirName $(SUBDIR) .. .. libroot posix musl include ] ;
4*cbf71a81SAugustin CavalierUseHeaders [ FDirName $(SUBDIR) .. .. libroot posix musl internal ] ;
5*cbf71a81SAugustin Cavalier
6*cbf71a81SAugustin Cavalierlocal architectureObject ;
7*cbf71a81SAugustin Cavalierfor architectureObject in [ MultiArchSubDirSetup ] {
8*cbf71a81SAugustin Cavalier	on $(architectureObject) {
9*cbf71a81SAugustin Cavalier		local architecture = $(TARGET_PACKAGING_ARCH) ;
10*cbf71a81SAugustin Cavalier
11*cbf71a81SAugustin Cavalier		SEARCH_SOURCE += [ FDirName $(SUBDIR) network ] ;
12*cbf71a81SAugustin Cavalier
13*cbf71a81SAugustin Cavalier		MergeObject <$(architecture)>posix_musl_network.o :
14*cbf71a81SAugustin Cavalier			inet_addr.c
15*cbf71a81SAugustin Cavalier			inet_aton.c
16*cbf71a81SAugustin Cavalier			inet_legacy.c
17*cbf71a81SAugustin Cavalier			inet_ntoa.c
18*cbf71a81SAugustin Cavalier			inet_ntop.c
19*cbf71a81SAugustin Cavalier			inet_pton.c
20*cbf71a81SAugustin Cavalier			;
21*cbf71a81SAugustin Cavalier	}
22*cbf71a81SAugustin Cavalier}
23