xref: /haiku/src/libs/icon/Jamfile (revision c6c2c0428420c1a7a9b16a843b41ab26903bc5fb)
1fb07ece0SStephan AßmusSubDir HAIKU_TOP src libs icon ;
2fb07ece0SStephan Aßmus
3fb07ece0SStephan AßmusAddSubDirSupportedPlatforms libbe_test ;
4fb07ece0SStephan Aßmus
5fb07ece0SStephan Aßmus# source directories
6fb07ece0SStephan Aßmuslocal sourceDirs =
7fb07ece0SStephan Aßmus	flat_icon
864279352SZardshard	generic
98b8d44bfSMichael Lotz	message
10fb07ece0SStephan Aßmus	shape
11fb07ece0SStephan Aßmus	style
12fb07ece0SStephan Aßmus	transformable
13fb07ece0SStephan Aßmus	transformer
14fb07ece0SStephan Aßmus;
15fb07ece0SStephan Aßmus
16fb07ece0SStephan Aßmus# system headers
175fc2ff88SStephan AßmusUseLibraryHeaders agg icon ;
18fb07ece0SStephan Aßmus
19fb07ece0SStephan AßmusUsePrivateHeaders shared ;
20fb07ece0SStephan Aßmus
217bd562abSIngo Weinholdlocal architectureObject ;
227bd562abSIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup ] {
237bd562abSIngo Weinhold	on $(architectureObject) {
2437ea891aSAugustin Cavalier		local architecture = $(TARGET_PACKAGING_ARCH) ;
2537ea891aSAugustin Cavalier
267bd562abSIngo Weinhold		local sourceDir ;
277bd562abSIngo Weinhold		for sourceDir in $(sourceDirs) {
287bd562abSIngo Weinhold			SEARCH_SOURCE
297bd562abSIngo Weinhold				+= [ FDirName $(HAIKU_TOP) src libs icon $(sourceDir) ] ;
307bd562abSIngo Weinhold		}
317bd562abSIngo Weinhold
3237ea891aSAugustin Cavalier		# Too many applications depend on libicon APIs being visible in libbe;
3337ea891aSAugustin Cavalier		# so for now, prevent -fvisiblity=hidden from being set.
3437ea891aSAugustin Cavalier		NO_HIDDEN_VISIBILITY on [ MultiArchDefaultGristFiles libicon.a ] = 1 ;
3537ea891aSAugustin Cavalier
367bd562abSIngo Weinhold		StaticLibrary [ MultiArchDefaultGristFiles libicon.a ] :
37fb07ece0SStephan Aßmus			# flat_icon
38fb07ece0SStephan Aßmus			FlatIconFormat.cpp
39fb07ece0SStephan Aßmus			FlatIconImporter.cpp
40fb07ece0SStephan Aßmus			LittleEndianBuffer.cpp
41fb07ece0SStephan Aßmus			PathCommandQueue.cpp
42fb07ece0SStephan Aßmus
438b8d44bfSMichael Lotz			# message
448b8d44bfSMichael Lotz			Defines.cpp
458b8d44bfSMichael Lotz			MessageImporter.cpp
468b8d44bfSMichael Lotz
47fb07ece0SStephan Aßmus			# shape
48098eaec6SZardshard			PathSourceShape.cpp
49098eaec6SZardshard			ReferenceImage.cpp
50fb07ece0SStephan Aßmus			Shape.cpp
51fb07ece0SStephan Aßmus			VectorPath.cpp
52fb07ece0SStephan Aßmus
53fb07ece0SStephan Aßmus			# style
54991547efSStephan Aßmus			GradientTransformable.cpp
55fb07ece0SStephan Aßmus			Style.cpp
56fb07ece0SStephan Aßmus
57fb07ece0SStephan Aßmus			# transformable
58fb07ece0SStephan Aßmus			Transformable.cpp
59fb07ece0SStephan Aßmus
60fb07ece0SStephan Aßmus			# transformer
61fb07ece0SStephan Aßmus			AffineTransformer.cpp
62*c6c2c042SZardshard			CompoundStyleTransformer.cpp
63fb07ece0SStephan Aßmus			ContourTransformer.cpp
64fb07ece0SStephan Aßmus			PathSource.cpp
65fb07ece0SStephan Aßmus			PerspectiveTransformer.cpp
66fb07ece0SStephan Aßmus			StrokeTransformer.cpp
67*c6c2c042SZardshard			StyleTransformer.cpp
68fb07ece0SStephan Aßmus			TransformerFactory.cpp
69fb07ece0SStephan Aßmus
70fb07ece0SStephan Aßmus			Icon.cpp
71fb07ece0SStephan Aßmus			IconRenderer.cpp
7270f4b8c0SStephan Aßmus			IconUtils.cpp
73fb07ece0SStephan Aßmus			;
747bd562abSIngo Weinhold	}
757bd562abSIngo Weinhold}
76