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