1SubDir HAIKU_TOP src add-ons translators raw ; 2 3SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ; 4 5AddResources RAWTranslator : RAWTranslator.rdef ; 6 7local architectureObject ; 8for architectureObject in [ MultiArchSubDirSetup ] { 9 on $(architectureObject) { 10 11 local backend = RAW.cpp ; 12 local libs = ; 13 local defines = ; 14 15 if [ FIsBuildFeatureEnabled libraw ] { 16 UseBuildFeatureHeaders libraw ; 17 backend = LibRAW.cpp ; 18 libs = [ BuildFeatureAttribute libraw : libraries ] ; 19 defines = [ FDefines USES_LIBRAW ] ; 20 Includes [ FGristFiles ConfigView.cpp LibRAW.cpp 21 RAWTranslator.cpp ] 22 : [ BuildFeatureAttribute libraw : headers ] ; 23 } 24 SubDirC++Flags $(defines) ; 25 26 Translator [ MultiArchDefaultGristFiles RAWTranslator ] : 27 # RawTranslator classes 28 main.cpp 29 RAWTranslator.cpp 30 ConfigView.cpp 31 $(backend) 32 : 33 be translation 34 [ MultiArchDefaultGristFiles libtranslatorsutils.a ] 35 [ TargetLibsupc++ ] $(libs) localestub 36 : 37 true 38 ; 39 } 40} 41 42DoCatalogs RAWTranslator : 43 x-vnd.Haiku-RAWTranslator 44 : 45 RAWTranslator.cpp 46 ConfigView.cpp 47 main.cpp 48; 49