SubDir HAIKU_TOP src tools ; UseHeaders [ FDirName $(HAIKU_TOP) headers build private app ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers build private storage ] : true ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src/bin ] ; local tools = catattr copyattr listattr mimeset mkindex rmattr settype setversion xres ; USES_BE_API on $(tools) = true ; BuildPlatformMain catattr : catattr.cpp : $(HOST_LIBBE) ; BuildPlatformMain copyattr : copyattr.cpp : $(HOST_LIBBE) $(HOST_LIBSTDC++) ; BuildPlatformMain listattr : listattr.cpp : $(HOST_LIBBE) ; if $(HOST_PLATFORM_BEOS_COMPATIBLE) { AddResources mimeset : mimeset.rdef ; } BuildPlatformMain mimeset : mimeset.cpp Mime.cpp database_support.cpp UpdateMimeInfoThread.cpp MimeUpdateThread.cpp : $(HOST_LIBBE) ; BuildPlatformMain mkindex : mkindex.cpp : $(HOST_LIBBE) ; BuildPlatformMain rmattr : rmattr.cpp : $(HOST_LIBBE) ; BuildPlatformMain set_haiku_revision : set_haiku_revision.cpp : $(HOST_LIBSTDC++) ; BuildPlatformMain settype : settype.cpp : $(HOST_LIBBE) ; BuildPlatformMain setversion : setversion.cpp : $(HOST_LIBBE) ; BuildPlatformMain xres : xres.cpp : $(HOST_LIBBE) $(HOST_LIBSTDC++) ; SEARCH on [ FGristFiles Mime.cpp ] = [ FDirName $(HAIKU_TOP) src build libbe storage ] ; SEARCH on [ FGristFiles UpdateMimeInfoThread.cpp MimeUpdateThread.cpp database_support.cpp ] = [ FDirName $(HAIKU_TOP) src build libbe storage mime ] ; SubInclude HAIKU_TOP src tools copy_to_bfs_image ; SubInclude HAIKU_TOP src tools cppunit ; SubInclude HAIKU_TOP src tools docbook ; SubInclude HAIKU_TOP src tools elfsymbolpatcher ; SubInclude HAIKU_TOP src tools gensyscalls ; SubInclude HAIKU_TOP src tools keymap ; SubInclude HAIKU_TOP src tools makebootable ; SubInclude HAIKU_TOP src tools rc ; SubInclude HAIKU_TOP src tools remote_disk_server ; SubInclude HAIKU_TOP src tools resattr ; SubInclude HAIKU_TOP src tools rman ; SubInclude HAIKU_TOP src tools translation ; SubInclude HAIKU_TOP src tools vmdkheader ; SubInclude HAIKU_TOP src tools unflatten ;