xref: /haiku/src/servers/app/drawing/Painter/Jamfile (revision e688bf23d48bfd1216a0cacbdbda5e35a1bcd779)
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 ] ;
12UseHeaders $(HAIKU_FREETYPE_HEADERS) : true ;
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	: $(HAIKU_FREETYPE_HEADERS_DEPENDENCY) ;
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