xref: /haiku/src/system/libroot/posix/glibc/math/Jamfile (revision a83446983dea89a78ca52fa34243ac80772c03a0)
1*a8344698SJérôme DuvalSubDir HAIKU_TOP src system libroot posix glibc math ;
2*a8344698SJérôme Duval
3*a8344698SJérôme DuvalSubDirCcFlags -D_GNU_SOURCE -DUSE_IN_LIBIO ;
4*a8344698SJérôme Duval
5*a8344698SJérôme Duvallocal architectureObject ;
6*a8344698SJérôme Duvalfor architectureObject in [ MultiArchSubDirSetup ] {
7*a8344698SJérôme Duval	on $(architectureObject) {
8*a8344698SJérôme Duval		local architecture = $(TARGET_PACKAGING_ARCH) ;
9*a8344698SJérôme Duval
10*a8344698SJérôme Duval		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
11*a8344698SJérôme Duval			$(TARGET_ARCH) ;
12*a8344698SJérôme Duval		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include arch
13*a8344698SJérôme Duval			generic ;
14*a8344698SJérôme Duval		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc include ;
15*a8344698SJérôme Duval		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc math ;
16*a8344698SJérôme Duval		SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
17*a8344698SJérôme Duval
18*a8344698SJérôme Duval		UsePrivateHeaders libroot ;
19*a8344698SJérôme Duval
20*a8344698SJérôme Duval		MergeObject <$(architecture)>posix_gnu_math.o :
21*a8344698SJérôme Duval			cabs.c cabsf.c cabsl.c
22*a8344698SJérôme Duval			carg.c cargf.c cargl.c
23*a8344698SJérôme Duval			cimag.c cimagf.c cimagl.c
24*a8344698SJérôme Duval			conj.c conjf.c conjl.c
25*a8344698SJérôme Duval			creal.c crealf.c creall.c
26*a8344698SJérôme Duval
27*a8344698SJérôme Duval			k_casinh.c k_casinhf.c k_casinhl.c
28*a8344698SJérôme Duval			;
29*a8344698SJérôme Duval	}
30*a8344698SJérôme Duval}
31