added the Translator rule for building Translators

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@597 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber 2002-08-06 00:48:49 +00:00
parent 24462625e1
commit 4fb5add07a
1 changed files with 12 additions and 0 deletions

View File

@ -533,6 +533,18 @@ rule R5KernelAddon
LinkSharedOSLibs $(1) : /boot/develop/lib/x86/_KERNEL_ ;
}
rule Translator
{
# Translator <name> : <sources> ;
SetupObjectsDir ;
Main $(1) : $(2) ;
# Create output dir path for translator
local targetdir;
targetdir = [ FDirName $(OBOS_ADDON_DIR) translators ] ;
MakeLocate $(1) : $(targetdir) ;
}
rule MakeLocateObjects
{
# MakeLocateObjects <gristed_sources_or_objects> ;