xref: /haiku/src/tests/system/boot/heap/Jamfile (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1SubDir HAIKU_TOP src tests system boot heap ;
2
3UsePublicHeaders support ;
4UsePrivateHeaders kernel ;
5
6SubDirHdrs $(HAIKU_TOP) headers private kernel arch $(TARGET_ARCH) ;
7SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform $(TARGET_BOOT_PLATFORM) ;
8
9ObjectDefines heap.cpp : malloc=heap_malloc free=heap_free realloc=heap_realloc HEAP_TEST=1 ;
10
11# This lets the correct stdio.h header be available
12# on the build platform.
13# This will be fixed with the move to GNU's stdio header
14if $(OS) = "LINUX" {
15	SubDirC++Flags -include /usr/include/stdio.h ;
16} else {
17	SubDirC++Flags -include /boot/develop/headers/posix/stdio.h ;
18}
19
20BuildPlatformTest heapTest :
21	heapTest.cpp
22
23	heap.cpp
24	:
25	;
26
27# Tell Jam where to find the utility sources
28SEARCH on [ FGristFiles
29		heap.cpp
30	] = [ FDirName $(HAIKU_TOP) src system boot loader ] ;
31
32