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