BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / translators / jpeg2000 / Jamfile
blobab1873741bf2e050fac6efb8c62446414415706a
1 SubDir HAIKU_TOP src add-ons translators jpeg2000 ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
5 SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
6         #for BaseTranslator.h and friends
7         
8 # Exclude unwanted formats
9 CCFLAGS += -DEXCLUDE_MIF_SUPPORT
10         -DEXCLUDE_PNM_SUPPORT
11         -DEXCLUDE_BMP_SUPPORT
12         -DEXCLUDE_RAS_SUPPORT
13         -DEXCLUDE_JPG_SUPPORT 
14         -DEXCLUDE_PGX_SUPPORT ;
16 SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ;
18 AddResources JPEG2000Translator : JPEG2000Translator.rdef ;
20 local architectureObject ;
21 for architectureObject in [ MultiArchSubDirSetup ] {
22         on $(architectureObject) {
23                 UseBuildFeatureHeaders jasper ;
25                 Translator [ MultiArchDefaultGristFiles JPEG2000Translator ] :
27                         # JPEG2000Translator
28                         JPEG2000Translator.cpp
30                         : be translation 
31                         [ MultiArchDefaultGristFiles libtranslatorsutils.a ]
32                         [ BuildFeatureAttribute jasper : library ]
33                         [ TargetLibsupc++ ] localestub
34                         : true
35                 ;
37                 Includes [ FGristFiles JPEG2000Translator.cpp ]
38                         : [ BuildFeatureAttribute jasper : headers ] ;
39         }
42 DoCatalogs JPEG2000Translator :
43         x-vnd.Haiku-JPEG2000Translator
44         :
45         JPEG2000Translator.h
46         JPEG2000Translator.cpp