xref: /haiku/src/libs/icon/Jamfile (revision 991dadd6324f7b7a68e94743a39ebae789823228)
1SubDir HAIKU_TOP src libs icon ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6# source directories
7local sourceDirs =
8	flat_icon
9	message
10	shape
11	style
12	transformable
13	transformer
14;
15
16# system headers
17UseLibraryHeaders agg icon ;
18
19UsePrivateHeaders shared ;
20
21local architectureObject ;
22for architectureObject in [ MultiArchSubDirSetup ] {
23	on $(architectureObject) {
24		local sourceDir ;
25		for sourceDir in $(sourceDirs) {
26			SEARCH_SOURCE
27				+= [ FDirName $(HAIKU_TOP) src libs icon $(sourceDir) ] ;
28		}
29
30		StaticLibrary [ MultiArchDefaultGristFiles libicon.a ] :
31			# flat_icon
32			FlatIconFormat.cpp
33			FlatIconImporter.cpp
34			LittleEndianBuffer.cpp
35			PathCommandQueue.cpp
36
37			# message
38			Defines.cpp
39			MessageImporter.cpp
40
41			# shape
42			PathContainer.cpp
43			Shape.cpp
44			ShapeContainer.cpp
45			VectorPath.cpp
46
47			# style
48			GradientTransformable.cpp
49			Style.cpp
50			StyleContainer.cpp
51
52			# transformable
53			Transformable.cpp
54
55			# transformer
56			AffineTransformer.cpp
57			ContourTransformer.cpp
58			PathSource.cpp
59			PerspectiveTransformer.cpp
60			StrokeTransformer.cpp
61			Transformer.cpp
62			TransformerFactory.cpp
63
64			Icon.cpp
65			IconRenderer.cpp
66			IconUtils.cpp
67			;
68	}
69}
70