xref: /haiku/src/add-ons/translators/icns/Jamfile (revision bf57c148f7787f0df15980976997c6dfb70ee067)
1SubDir HAIKU_TOP src add-ons translators icns ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
6	#for BaseTranslator.h and friends
7
8SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ;
9
10
11AddResources ICNSTranslator : ICNSTranslator.rdef ;
12
13local architectureObject ;
14for architectureObject in [ MultiArchSubDirSetup ] {
15	on $(architectureObject) {
16		UseBuildFeatureHeaders libicns ;
17
18		Translator [ MultiArchDefaultGristFiles ICNSTranslator ] :
19
20			# ICNSTranslator
21			ICNSTranslator.cpp
22			ICNSLoader.cpp
23			ConfigView.cpp
24			main.cpp
25
26			: be translation
27			[ MultiArchDefaultGristFiles libtranslatorsutils.a ]
28			[ TargetLibsupc++ ]
29			[ BuildFeatureAttribute libicns : library ]
30			[ BuildFeatureAttribute jasper : library ]
31			[ BuildFeatureAttribute libpng : library ]
32			localestub
33			: true
34		;
35
36		Includes [ FGristFiles ICNSTranslator.cpp ICNSLoader.cpp ]
37			: [ BuildFeatureAttribute libicns : headers ] ;
38	}
39}
40
41DoCatalogs ICNSTranslator :
42	x-vnd.Haiku-ICNSTranslator
43	:
44	ConfigView.cpp
45	ICNSTranslator.h
46	ICNSTranslator.cpp
47;
48