1SubDir HAIKU_TOP src tests system libroot posix math ;
2
3UsePrivateHeaders libroot ;
4SubDirHdrs [ FDirName $(HAIKU_TOP) src system libroot posix glibc ] ;
5SubDirCcFlags -Dnational ;
6
7MATH_SOURCES = 	
8	acosh.c	asincos.c	asinh.c	atan.c
9	atan2.c	atanh.c	cabs.c	cbrt.c
10	ceilf.c	cosh.c	erf.c	exp.c
11	exp__E.c	expm1.c	floatmath.c	floor.c
12	floorf.c	fmod.c	gamma.c	ieee.c
13	j0.c	j1.c	jn.c	lgamma.c
14	log.c	log10.c	log1p.c	log__L.c
15	math_globals.c	pow.c
16	sincos.c	sinh.c	tan.c 	tanh.c
17	;
18
19SimpleTest math_test
20	: math_test.cpp $(MATH_SOURCES)
21	;
22
23
24# Tell Jam where to find these sources
25SEARCH on [ FGristFiles
26		$(MATH_SOURCES)
27	] = [ FDirName $(HAIKU_TOP) src system libroot posix math ] ;
28