xref: /haiku/src/add-ons/translators/png/Jamfile (revision 220d04022750f40f8bac8f01fa551211e28d04f2)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src add-ons translators png ;
2338b8dc3SIngo Weinhold
3338b8dc3SIngo WeinholdSetSubDirSupportedPlatformsBeOSCompatible ;
49949213aSStephan Aßmus
5a9c0a648SJérôme DuvalSubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
69949213aSStephan Aßmus
770d59669SSiarzhuk ZharskiAddResources PNGTranslator : PNGTranslator.rdef ;
870d59669SSiarzhuk Zharski
9b0944c78SIngo Weinholdif $(TARGET_GCC_VERSION_$(TARGET_PACKAGING_ARCH)[1]) = 2 {
10d8c9110cSJérôme Duval	SubDirCcFlags -DPNG_NO_PEDANTIC_WARNINGS ;
11d8c9110cSJérôme Duval}
12d8c9110cSJérôme Duval
136d9f0064SAdrien Destugueslocal architectureObject ;
146d9f0064SAdrien Destuguesfor architectureObject in [ MultiArchSubDirSetup ] {
156d9f0064SAdrien Destugues	on $(architectureObject) {
166d9f0064SAdrien Destugues		UseBuildFeatureHeaders libpng ;
176d9f0064SAdrien Destugues		UseBuildFeatureHeaders zlib ;
186d9f0064SAdrien Destugues
1961cb4d8cSJérôme Duval		Includes [ FGristFiles PNGTranslator.cpp PNGView.cpp ]
20e9f440fdSIngo Weinhold			: [ BuildFeatureAttribute libpng : headers ] ;
2161cb4d8cSJérôme Duval
226d9f0064SAdrien Destugues		Translator [ MultiArchDefaultGristFiles PNGTranslator ] :
239949213aSStephan Aßmus			PNGMain.cpp
249949213aSStephan Aßmus			PNGTranslator.cpp
25338b8dc3SIngo Weinhold			PNGView.cpp
269949213aSStephan Aßmus
27e9f440fdSIngo Weinhold		: be translation
28e9f440fdSIngo Weinhold			[ BuildFeatureAttribute libpng : library ]
297c6bff17SIngo Weinhold			[ BuildFeatureAttribute zlib : library ]
30*220d0402SOliver Tappe			[ TargetLibsupc++ ]
316d9f0064SAdrien Destugues			[ MultiArchDefaultGristFiles libtranslatorsutils.a ]
32b0944c78SIngo Weinhold			localestub
33ea3f7d3dSIngo Weinhold		: true
34338b8dc3SIngo Weinhold		;
356d9f0064SAdrien Destugues	}
366d9f0064SAdrien Destugues}
379949213aSStephan Aßmus
388dca2efdSJérôme DuvalDoCatalogs PNGTranslator :
398dca2efdSJérôme Duval	x-vnd.Haiku-PNGTranslator
408dca2efdSJérôme Duval	:
418dca2efdSJérôme Duval	PNGMain.cpp
428dca2efdSJérôme Duval	PNGTranslator.cpp
438dca2efdSJérôme Duval	PNGView.cpp
448dca2efdSJérôme Duval;
45