1SubDir HAIKU_TOP src build libroot ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) headers build ] : true ; 4UseHeaders [ FDirName $(HAIKU_TOP) headers build os ] : true ; 5UseHeaders [ FDirName $(HAIKU_TOP) headers build os app ] : true ; 6UseHeaders [ FDirName $(HAIKU_TOP) headers build os kernel ] : true ; 7UseHeaders [ FDirName $(HAIKU_TOP) headers build os interface ] : true ; 8UseHeaders [ FDirName $(HAIKU_TOP) headers build os storage ] : true ; 9UseHeaders [ FDirName $(HAIKU_TOP) headers build os support ] : true ; 10 11UseHeaders [ FDirName $(HAIKU_TOP) headers build private kernel ] : true ; 12 13{ 14 local defines = [ FDefines 15 HAIKU_BUILD_ATTRIBUTES_DIR="\\\"$(HAIKU_BUILD_ATTRIBUTES_DIR)\\\"" 16 ] ; 17 SubDirCcFlags $(defines) ; 18 SubDirC++Flags $(defines) ; 19} 20 21# locate the library 22MakeLocate libroot_build.so : $(HOST_BUILD_COMPATIBILITY_LIB_DIR) ; 23 24BuildPlatformSharedLibrary libroot_build.so : 25 byteorder.cpp 26 errors.cpp 27 fs.cpp 28 fs_attr.cpp 29 misc.cpp 30 sem.cpp 31 thread.cpp 32 33 strlcpy.c 34 strlcat.c 35 strnlen.c 36 37 : 38 $(HOST_LIBSTDC++) 39; 40 41SEARCH on [ FGristFiles strlcat.c strlcpy.c strnlen.c ] 42 = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ; 43