now this Jamfile actually builds the BMPTranslator and stores it in its proper location

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@550 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber 2002-08-01 16:15:35 +00:00
parent 5004ee27f8
commit 430ea6f8f2

View File

@ -1,14 +1,17 @@
SubDir OBOS_TOP src add-ons translators bmptranslator ;
SimpleTest BMPTranslator
: BMPMain.cpp
BMPTranslator.cpp
BMPView.cpp
BMPWindow.cpp
: be translation
;
rule Translator
{
# Translator <name> : <sources> ;
SetupObjectsDir ;
Main $(1) : $(2) ;
# Tell Jam where to find these sources
SEARCH on [ FGristFiles BMPMain.cpp ]
= [ FDirName $(OBOS_TOP) src add-ons translators ] ;
# Create output dir path for translator
local targetdir;
targetdir = [ FDirName $(OBOS_ADDON_DIR) translators ] ;
MakeLocate $(1) : $(targetdir) ;
}
Translator BMPTranslator : BMPMain.cpp BMPTranslator.cpp BMPView.cpp BMPWindow.cpp ;
LinkSharedOSLibs BMPTranslator : be translation ;