xref: /haiku/src/servers/app/drawing/Painter/Jamfile (revision 44d19f4d32b8f7e9c01f00294c87ca5cc2e057f7)
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 ] ;
15SEARCH_SOURCE += [ FDirName $(SUBDIR) bitmap_painter ] ;
16
17local PAINTER_ARCH_SOURCES ;
18if $(TARGET_ARCH) = x86 {
19	PAINTER_ARCH_SOURCES = painter_bilinear_scale.nasm ;
20}
21
22Includes [ FGristFiles AGGTextRenderer.cpp BitmapPainter.cpp Painter.cpp ]
23	: [ BuildFeatureAttribute freetype : headers ] ;
24
25StaticLibrary libpainter.a :
26	GlobalSubpixelSettings.cpp
27	Painter.cpp
28	Transformable.cpp
29
30	# drawing_modes
31	PixelFormat.cpp
32
33	# bitmap_painter
34	BitmapPainter.cpp
35
36	AGGTextRenderer.cpp
37
38	$(PAINTER_ARCH_SOURCES)
39;
40