1SubDir HAIKU_TOP src tools rc ; 2 3SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin rc ] ; 4 5USES_BE_API on <build>librdef.a <build>rc = true ; 6 7GENERATE_C++ on [ FGristFiles lexer.l parser.y ] = true ; 8 9SubDirC++Flags -Wno-sign-compare -Wno-unused ; 10 11local r5Compatibility = [ FDirName $(HAIKU_TOP) src bin rc R5Compatibility.h ] ; 12SubDirCcFlags -include $(r5Compatibility) ; 13SubDirC++Flags -include $(r5Compatibility) ; 14 15BuildPlatformStaticLibrary <build>librdef.a : 16 compile.cpp decompile.cpp lexer.l parser.y rdef.cpp ; 17 18BuildPlatformMain <build>rc : 19 rc.cpp 20 21 : <build>librdef.a $(HOST_LIBSTDC++) $(HOST_LIBBE) $(HOST_LIBSUPC++) 22; 23 24SEARCH on [ FGristFiles $(strlSources) ] 25 = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ; 26