xref: /haiku/src/servers/app/drawing/Painter/Jamfile (revision 16c83730262f1e4f0fc69d80744bb36dcfbbe3af)
1SubDir HAIKU_TOP src servers app drawing Painter ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UseLibraryHeaders agg ;
7UsePrivateHeaders app graphics interface kernel shared ;
8UseHeaders [ FDirName $(HAIKU_TOP) src servers app ] ;
9UseHeaders [ FDirName $(HAIKU_TOP) src servers app font ] ;
10UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing ] ;
11UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter drawing_modes ] ;
12UseBuildFeatureHeaders freetype ;
13
14SEARCH_SOURCE += [ FDirName $(SUBDIR) drawing_modes ] ;
15
16local PAINTER_ARCH_SOURCES ;
17if $(TARGET_ARCH) = x86 {
18	PAINTER_ARCH_SOURCES = painter_bilinear_scale.nasm ;
19}
20
21Includes [ FGristFiles AGGTextRenderer.cpp Painter.cpp ]
22	: [ BuildFeatureAttribute freetype : headers ] ;
23
24StaticLibrary libpainter.a :
25	GlobalSubpixelSettings.cpp
26	Painter.cpp
27	Transformable.cpp
28
29	# drawing_modes
30	PixelFormat.cpp
31
32	AGGTextRenderer.cpp
33
34	$(PAINTER_ARCH_SOURCES)
35;
36