xref: /haiku/src/add-ons/translators/wonderbrush/Jamfile (revision 95c9effd68127df2dce202d5e254a7c86560010a)
1SubDir HAIKU_TOP src add-ons translators wonderbrush ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
6
7AddResources WonderBrushTranslator : WonderBrushTranslator.rdef ;
8
9
10local architectureObject ;
11for architectureObject in [ MultiArchSubDirSetup ] {
12	on $(architectureObject) {
13		# Include support sub folder
14		SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons translators wonderbrush support ] ;
15
16		UseBuildFeatureHeaders zlib ;
17
18		Includes [ FGristFiles bitmap_compression.cpp ]
19			: [ BuildFeatureAttribute zlib : headers ] ;
20
21		Translator [ MultiArchDefaultGristFiles WonderBrushTranslator ] :
22			Canvas.cpp
23			Layer.cpp
24			WonderBrushImage.cpp
25			WonderBrushMain.cpp
26			WonderBrushTranslator.cpp
27			WonderBrushView.cpp
28
29			# support
30			bitmap_compression.cpp
31			blending.cpp
32			lab_convert.cpp
33
34			: be translation
35			[ BuildFeatureAttribute zlib : library ]
36			[ MultiArchDefaultGristFiles libtranslatorsutils.a ]
37			[ TargetLibsupc++ ] localestub
38			: true
39		;
40	}
41}
42
43DoCatalogs WonderBrushTranslator :
44	x-vnd.Haiku-WonderBrushTranslator
45	:
46	Layer.cpp
47	WonderBrushMain.cpp
48	WonderBrushTranslator.cpp
49	WonderBrushView.cpp
50;
51