xref: /haiku/src/add-ons/translators/jpeg/Jamfile (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
1SubDir HAIKU_TOP src add-ons translators jpeg ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) raw ] ;
6	# for TIFF.h and ReadHelper.h
7
8SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
9	#for BaseTranslator.h and friends
10
11AddResources JPEGTranslator : JPEGTranslator.rdef ;
12
13local architectureObject ;
14for architectureObject in [ MultiArchSubDirSetup ] {
15	on $(architectureObject) {
16		UseBuildFeatureHeaders jpeg ;
17
18		Translator [ MultiArchDefaultGristFiles JPEGTranslator ] :
19			be_jdatadst.cpp
20			be_jdatasrc.cpp
21			be_jerror.cpp
22			exif_parser.cpp
23			JPEGTranslator.cpp
24			: be translation
25			[ MultiArchDefaultGristFiles libtranslatorsutils.a ]
26			[ BuildFeatureAttribute jpeg : library ]
27			[ TargetLibstdc++ ] localestub
28			: true
29			;
30
31		Includes [ FGristFiles be_jdatadst.cpp be_jdatasrc.cpp be_jerror.cpp
32				JPEGTranslator.cpp ]
33			: [ BuildFeatureAttribute jpeg : headers ] ;
34	}
35}
36
37DoCatalogs JPEGTranslator :
38	x-vnd.Haiku-JPEGTranslator
39	:
40	JPEGTranslator.h
41	JPEGTranslator.cpp
42	exif_parser.cpp
43	be_jerror.cpp
44;
45
46
47