1SubDir HAIKU_TOP src servers app ; 2 3UseLibraryHeaders agg ; 4UsePrivateHeaders app graphics input interface kernel shared storage support ; 5 6UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing ] ; 7UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter ] ; 8UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface local ] ; 9UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface remote ] ; 10UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface html5 ] ; 11UseHeaders [ FDirName $(HAIKU_TOP) src servers app stackandtile ] ; 12 13UseHeaders [ FDirName $(HAIKU_TOP) src servers app decorator ] ; 14local decorator_src = 15 DecorManager.cpp 16 Decorator.cpp 17 DefaultDecorator.cpp 18 DefaultWindowBehaviour.cpp 19 MagneticBorder.cpp 20 TabDecorator.cpp 21 WindowBehaviour.cpp 22 ; 23 24UseHeaders [ FDirName $(HAIKU_TOP) src servers app font ] ; 25local font_src = 26 FontCache.cpp 27 FontCacheEntry.cpp 28 FontEngine.cpp 29 FontFamily.cpp 30 FontManager.cpp 31 FontStyle.cpp 32 ; 33 34UseBuildFeatureHeaders freetype ; 35if [ FIsBuildFeatureEnabled fontconfig ] { 36 SubDirC++Flags -DFONTCONFIG_ENABLED ; 37 UseBuildFeatureHeaders fontconfig ; 38 Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp 39 ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp 40 DrawState.cpp DrawingEngine.cpp Layer.cpp PictureBoundingBoxPlayer.cpp 41 ServerApp.cpp ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp 42 ServerPicture.cpp ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp 43 $(decorator_src) $(font_src) ] 44 : [ BuildFeatureAttribute freetype : headers ] 45 [ BuildFeatureAttribute fontconfig : headers ] ; 46} else { 47 Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp 48 ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp 49 DrawState.cpp DrawingEngine.cpp Layer.cpp PictureBoundingBoxPlayer.cpp 50 ServerApp.cpp ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp 51 ServerPicture.cpp ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp 52 $(decorator_src) $(font_src) ] 53 : [ BuildFeatureAttribute freetype : headers ] ; 54} 55 56local BROKEN_64 = ; 57if $(TARGET_ARCH) != x86_64 { 58 BROKEN_64 = "" ; 59} 60 61Server app_server : 62 Angle.cpp 63 AppServer.cpp 64 #BitfieldRegion.cpp 65 BitmapManager.cpp 66 Canvas.cpp 67 ClientMemoryAllocator.cpp 68 CursorData.cpp 69 CursorManager.cpp 70 CursorSet.cpp 71 DelayedMessage.cpp 72 Desktop.cpp 73 DesktopListener.cpp 74 DesktopSettings.cpp 75 DirectWindowInfo.cpp 76 DrawState.cpp 77 EventDispatcher.cpp 78 EventStream.cpp 79 HashTable.cpp 80 InputManager.cpp 81 IntPoint.cpp 82 IntRect.cpp 83 Layer.cpp 84 MessageLooper.cpp 85 MultiLocker.cpp 86 OffscreenServerWindow.cpp 87 OffscreenWindow.cpp 88 PictureBoundingBoxPlayer.cpp 89 ProfileMessageSupport.cpp 90 RGBColor.cpp 91 RegionPool.cpp 92 Screen.cpp 93 ScreenConfigurations.cpp 94 ScreenManager.cpp 95 ServerApp.cpp 96 ServerBitmap.cpp 97 ServerCursor.cpp 98 ServerFont.cpp 99 ServerPicture.cpp 100 ServerWindow.cpp 101 SystemPalette.cpp 102 View.cpp 103 VirtualScreen.cpp 104 Window.cpp 105 WindowList.cpp 106 Workspace.cpp 107 WorkspacesView.cpp 108 109 $(decorator_src) 110 $(font_src) 111 112 # libraries 113 : 114 libtranslation.so libbe.so libbnetapi.so 115 libaslocal.a $(BROKEN_64)libasremote.a $(BROKEN_64)libashtml5.a 116 libasdrawing.a libpainter.a libagg.a 117 [ BuildFeatureAttribute freetype : library ] 118 [ BuildFeatureAttribute fontconfig : library ] 119 libstackandtile.a liblinprog.a libtextencoding.so shared 120 [ TargetLibstdc++ ] 121 122 : app_server.rdef 123; 124 125SEARCH on [ FGristFiles $(decorator_src) ] = [ FDirName $(HAIKU_TOP) src servers app decorator ] ; 126SEARCH on [ FGristFiles $(font_src) ] = [ FDirName $(HAIKU_TOP) src servers app font ] ; 127 128 129SubInclude HAIKU_TOP src servers app drawing ; 130SubInclude HAIKU_TOP src servers app stackandtile ; 131