1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src tests servers app ; 2338b8dc3SIngo Weinhold 31d219b3aSAxel DörflerUsePrivateHeaders app graphics input interface shared storage ; 41d219b3aSAxel Dörfler 51d219b3aSAxel DörflerSimpleTest app_server_debug : 61d219b3aSAxel Dörfler app_server_debug.cpp 71d219b3aSAxel Dörfler : be 81d219b3aSAxel Dörfler; 91d219b3aSAxel Dörfler 10ca9e5772SIngo WeinholdSetSubDirSupportedPlatforms libbe_test ; 11338b8dc3SIngo Weinhold 12ca9e5772SIngo Weinhold# No need to define any of those targets, when not building for libbe_test 13ca9e5772SIngo Weinholdif $(TARGET_PLATFORM) = libbe_test { 14ee5f6d23SStephan Aßmus 157c6bff17SIngo WeinholdUseLibraryHeaders agg png ; 167c6bff17SIngo WeinholdUseBuildFeatureHeaders zlib ; 173ee83016SIngo WeinholdUsePrivateHeaders [ FDirName graphics common ] ; 183111f163SIngo Weinhold 193111f163SIngo Weinhold# headers/build/private/kernel is needed for safemode.h and syscalls.h. 203111f163SIngo Weinhold# headers/private/kernel for the util/* stuff. 213111f163SIngo WeinholdUseHeaders [ FDirName $(HAIKU_TOP) headers build private kernel ] : true ; 2212776185SAxel DörflerUsePrivateHeaders kernel support ; 232826a379SIngo Weinhold 24338b8dc3SIngo Weinholdlocal appServerDir = [ FDirName $(HAIKU_TOP) src servers app ] ; 252826a379SIngo Weinhold 2612776185SAxel DörflerUseHeaders [ FDirName $(appServerDir) decorator ] ; 272826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing ] ; 288e7d9c72SAdrien DestuguesUseHeaders [ FDirName $(appServerDir) drawing interface html5 ] ; 298e7d9c72SAdrien DestuguesUseHeaders [ FDirName $(appServerDir) drawing interface remote ] ; 302826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter ] ; 312826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter drawing_modes ] ; 322826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter font_support ] ; 3312776185SAxel DörflerUseHeaders [ FDirName $(appServerDir) font ] ; 3412776185SAxel DörflerUseHeaders [ FDirName $(appServerDir) stackandtile ] ; 3529f8805fSIngo WeinholdUseBuildFeatureHeaders freetype ; 3612776185SAxel DörflerUseLibraryHeaders agg lp_solve linprog ; 372826a379SIngo Weinhold 388b794301SAxel Dörfler# This overrides the definitions in private/servers/app/ServerConfig.h 398b794301SAxel Dörflerlocal defines = [ FDefines TEST_MODE=1 ] ; 40bd09e99dSAxel Dörfler # USE_DIRECT_WINDOW_TEST_MODE=1 418b794301SAxel Dörfler 42264fe59dSStephan AßmusSubDirCcFlags $(defines) ; #-finstrument-functions ; #-fcheck-memory-usage -D_NO_INLINE_ASM ; 43264fe59dSStephan AßmusSubDirC++Flags $(defines) ; #-finstrument-functions ; #-fcheck-memory-usage -D_NO_INLINE_ASM ; 448b794301SAxel Dörfler 453f3c9fddSStephan AßmusSEARCH_SOURCE += $(appServerDir) ; 4612776185SAxel DörflerSEARCH_SOURCE += [ FDirName $(appServerDir) decorator ] ; 473f3c9fddSStephan AßmusSEARCH_SOURCE += [ FDirName $(appServerDir) drawing ] ; 483f3c9fddSStephan AßmusSEARCH_SOURCE += [ FDirName $(appServerDir) drawing Painter ] ; 4912776185SAxel DörflerSEARCH_SOURCE += [ FDirName $(appServerDir) font ] ; 502826a379SIngo Weinhold 51338b8dc3SIngo WeinholdSharedLibrary libhwinterface.so : 52a41a0db6SIngo Weinhold BBitmapBuffer.cpp 53c2270088SStephan Aßmus DWindowBuffer.cpp 542826a379SIngo Weinhold HWInterface.cpp 55c2270088SStephan Aßmus RGBColor.cpp 563f3c9fddSStephan Aßmus UpdateQueue.cpp 572826a379SIngo Weinhold 582c69b5b6SAxel Dörfler : libtestappserver.so 592826a379SIngo Weinhold; 602826a379SIngo Weinhold 612826a379SIngo Weinhold 622826a379SIngo Weinhold# The reason for this is that libhwinterfaceimpl.so needs to link against 632826a379SIngo Weinhold# libbe *first*, but simply adding it to the library list would add it to 642826a379SIngo Weinhold# LINKLIBS which is always appended after NEEDLIBS in the command line. 652826a379SIngo WeinholdLINKFLAGS on libhwinterfaceimpl.so ?= $(LINKFLAGS) ; 662826a379SIngo WeinholdLINKFLAGS on libhwinterfaceimpl.so += -lbe ; 672826a379SIngo Weinhold 68338b8dc3SIngo WeinholdSharedLibrary libhwinterfaceimpl.so : 69a41a0db6SIngo Weinhold ViewHWInterface.cpp 70c2270088SStephan Aßmus DWindowHWInterface.cpp 7104768381SAxel Dörfler MultiLocker.cpp 722826a379SIngo Weinhold 73264fe59dSStephan Aßmus# trace.c 742c69b5b6SAxel Dörfler : libhwinterface.so 752826a379SIngo Weinhold; 762826a379SIngo Weinhold 778e8869a9SStephan Aßmuslocal decorator_src = 788e8869a9SStephan Aßmus DecorManager.cpp 798e8869a9SStephan Aßmus Decorator.cpp 808e8869a9SStephan Aßmus DefaultDecorator.cpp 818e8869a9SStephan Aßmus DefaultWindowBehaviour.cpp 828e8869a9SStephan Aßmus MagneticBorder.cpp 83cb7de03cSStephan Aßmus TabDecorator.cpp 848e8869a9SStephan Aßmus WindowBehaviour.cpp 858e8869a9SStephan Aßmus ; 868e8869a9SStephan Aßmus 878e8869a9SStephan Aßmuslocal font_src = 888e8869a9SStephan Aßmus FontCache.cpp 898e8869a9SStephan Aßmus FontCacheEntry.cpp 908e8869a9SStephan Aßmus FontEngine.cpp 918e8869a9SStephan Aßmus FontFamily.cpp 928e8869a9SStephan Aßmus FontManager.cpp 938e8869a9SStephan Aßmus FontStyle.cpp 948e8869a9SStephan Aßmus ; 958e8869a9SStephan Aßmus 96c2dcc4d5SAdrien Destugues# These files are shared between the test_app_server and the libhwintreface, so 97c2dcc4d5SAdrien Destugues# they can talk together. 982c69b5b6SAxel DörflerSharedLibrary libtestappserver.so : 992826a379SIngo Weinhold Angle.cpp 1009a44fdc9SAxel Dörfler ClientMemoryAllocator.cpp 1012826a379SIngo Weinhold CursorData.cpp 102640b841dSAxel Dörfler CursorManager.cpp 1032826a379SIngo Weinhold CursorSet.cpp 104*884412dfSAdrien Destugues DelayedMessage.cpp 10512776185SAxel Dörfler DesktopListener.cpp 10619b850b3SStephan Aßmus DirectWindowInfo.cpp 107f74afb82SAxel Dörfler DrawingEngine.cpp 108aca4f50dSAxel Dörfler DrawState.cpp 1098e8869a9SStephan Aßmus $(font_src) 11059e13a3fSStephan Aßmus GlobalSubpixelSettings.cpp 11168e424c8SAdi Oanca HashTable.cpp 112264fe59dSStephan Aßmus IntPoint.cpp 113264fe59dSStephan Aßmus IntRect.cpp 11404768381SAxel Dörfler MultiLocker.cpp 1150ac013e6SAxel Dörfler Overlay.cpp 1162826a379SIngo Weinhold RGBColor.cpp 1172826a379SIngo Weinhold ServerBitmap.cpp 1182826a379SIngo Weinhold ServerCursor.cpp 1192826a379SIngo Weinhold ServerFont.cpp 1202826a379SIngo Weinhold SystemPalette.cpp 1212826a379SIngo Weinhold 1222826a379SIngo Weinhold # drawing 1232826a379SIngo Weinhold PatternHandler.cpp 1242826a379SIngo Weinhold 125264fe59dSStephan Aßmus# trace.c 126264fe59dSStephan Aßmus 1272826a379SIngo Weinhold # Misc. Sources 12867f3be42SStephan Aßmus ProfileMessageSupport.cpp 1290e29f57aSAxel Dörfler EventDispatcher.cpp 1300e29f57aSAxel Dörfler EventStream.cpp 131e3d73948SJulian Harnath TestServerLoopAdapter.cpp 13267f3be42SStephan Aßmus MessageLooper.cpp 1332826a379SIngo Weinhold 134f74afb82SAxel Dörfler # Decorator 1358e8869a9SStephan Aßmus $(decorator_src) 136f74afb82SAxel Dörfler 1372826a379SIngo Weinhold # Manager Classes 138be05d56cSAxel Dörfler BitmapManager.cpp 139f7598223SAxel Dörfler InputManager.cpp 1402826a379SIngo Weinhold ScreenManager.cpp 1412826a379SIngo Weinhold 1422826a379SIngo Weinhold AppServer.cpp 1432826a379SIngo Weinhold Desktop.cpp 1442826a379SIngo Weinhold ServerApp.cpp 1452826a379SIngo Weinhold ServerWindow.cpp 1462826a379SIngo Weinhold 147fcd75d63SStephan Aßmus # DrawingEngine Classes 148d3f08e7fSStephan Aßmus# AccelerantBuffer.cpp 149d3f08e7fSStephan Aßmus# AccelerantHWInterface.cpp 1502826a379SIngo Weinhold BitmapBuffer.cpp 151ae50fc51SIngo Weinhold BitmapDrawingEngine.cpp 152dd98ed8dSStephan Aßmus drawing_support.cpp 1532826a379SIngo Weinhold MallocBuffer.cpp 1542826a379SIngo Weinhold 15535d6e0feSAdrien Destugues AlphaMask.cpp 156345d9bb4SJulian Harnath AlphaMaskCache.cpp 1572826a379SIngo Weinhold BitmapHWInterface.cpp 158ab1bd2fdSJulian Harnath Canvas.cpp 159c2dcc4d5SAdrien Destugues DesktopSettings.cpp 160551438b9SJulian Harnath Layer.cpp 1612826a379SIngo Weinhold OffscreenServerWindow.cpp 162437b1927SAxel Dörfler OffscreenWindow.cpp 1638511f6acSJulian Harnath PictureBoundingBoxPlayer.cpp 16439c9925fSStephan Aßmus RegionPool.cpp 165437b1927SAxel Dörfler Screen.cpp 16619b850b3SStephan Aßmus ScreenConfigurations.cpp 1672826a379SIngo Weinhold ServerPicture.cpp 168437b1927SAxel Dörfler View.cpp 169c2dcc4d5SAdrien Destugues VirtualScreen.cpp 170437b1927SAxel Dörfler Window.cpp 171e83820edSAxel Dörfler WindowList.cpp 1722826a379SIngo Weinhold Workspace.cpp 173437b1927SAxel Dörfler WorkspacesView.cpp 1742826a379SIngo Weinhold 17535d6e0feSAdrien Destugues # libraries 1768028ede7SRene Gollent : be libpainter.a libagg.a libtextencoding.so shared libstackandtile.a 177fe868323SAdrien Destugues liblinprog.a 17835d6e0feSAdrien Destugues [ BuildFeatureAttribute freetype : library ] 17935d6e0feSAdrien Destugues; 18035d6e0feSAdrien Destugues 181ab1bd2fdSJulian HarnathIncludes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp 1828e8869a9SStephan Aßmus ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp 183ab1bd2fdSJulian Harnath DrawState.cpp DrawingEngine.cpp ServerApp.cpp 1848e8869a9SStephan Aßmus ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp ServerPicture.cpp 1858e8869a9SStephan Aßmus ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp 1868e8869a9SStephan Aßmus $(decorator_src) $(font_src) ] 1878e8869a9SStephan Aßmus : [ BuildFeatureAttribute freetype : headers ] ; 1888e8869a9SStephan Aßmus 1898e8869a9SStephan Aßmus 19035d6e0feSAdrien DestuguesAddResources test_app_server : test_app_server.rdef ; 19135d6e0feSAdrien Destugues 19235d6e0feSAdrien DestuguesServer test_app_server : 19335d6e0feSAdrien Destugues 19435d6e0feSAdrien Destugues # drawing 19535d6e0feSAdrien Destugues drawing_support.cpp 196f74afb82SAxel Dörfler 1972826a379SIngo Weinhold # libraries 1982826a379SIngo Weinhold : 1997c6bff17SIngo Weinhold [ BuildFeatureAttribute zlib : library ] libtestappserver.so be 20035d6e0feSAdrien Destugues libhwinterface.so libhwinterfaceimpl.so libtextencoding.so 2018e7d9c72SAdrien Destugues [ BuildFeatureAttribute freetype : library ] 202220d0402SOliver Tappe [ TargetLibstdc++ ] [ TargetLibsupc++ ] 2032826a379SIngo Weinhold; 2042826a379SIngo Weinhold 205338b8dc3SIngo Weinhold# install in the test dir 206338b8dc3SIngo WeinholdHaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) 2072c69b5b6SAxel Dörfler : libtestappserver.so libbe_test.so 2088e7d9c72SAdrien Destugues libhwinterface.so libhwinterfaceimpl.so libtextencoding.so 209338b8dc3SIngo Weinhold : tests!apps ; 210338b8dc3SIngo Weinhold 2112c69b5b6SAxel DörflerHaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : test_app_server 212338b8dc3SIngo Weinhold : tests!apps ; 213338b8dc3SIngo Weinhold 214ca9e5772SIngo Weinhold} # if $(TARGET_PLATFORM) = libbe_test 2152826a379SIngo Weinhold 2169813f97fSStephan AßmusSubInclude HAIKU_TOP src tests servers app archived_view ; 217ce158b43SStephan AßmusSubInclude HAIKU_TOP src tests servers app async_drawing ; 2187362a1d7SAxel DörflerSubInclude HAIKU_TOP src tests servers app avoid_focus ; 2197c265858SStephan AßmusSubInclude HAIKU_TOP src tests servers app benchmark ; 2209813f97fSStephan AßmusSubInclude HAIKU_TOP src tests servers app bitmap_bounds ; 221338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app bitmap_drawing ; 222c3b8f9f6SAxel DörflerSubInclude HAIKU_TOP src tests servers app code_to_name ; 22370ebf47bSAdrien DestuguesSubInclude HAIKU_TOP src tests servers app clip_to_picture ; 224ce158b43SStephan AßmusSubInclude HAIKU_TOP src tests servers app constrain_clipping_region ; 225338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app copy_bits ; 226da07353dSAxel DörflerSubInclude HAIKU_TOP src tests servers app cursor_test ; 22794dc3ed6SAxel DörflerSubInclude HAIKU_TOP src tests servers app desktop_window ; 22811dbc914SStephan AßmusSubInclude HAIKU_TOP src tests servers app draw_after_children ; 22977e5acc0SStephan AßmusSubInclude HAIKU_TOP src tests servers app draw_string_offsets ; 2303c905d81SMichael LotzSubInclude HAIKU_TOP src tests servers app drawing_debugger ; 2313d75dfbbSMichael LotzSubInclude HAIKU_TOP src tests servers app drawing_modes ; 232fc505229SAxel DörflerSubInclude HAIKU_TOP src tests servers app event_mask ; 2335ae0bbaaSStephan AßmusSubInclude HAIKU_TOP src tests servers app find_view ; 234dd98ed8dSStephan AßmusSubInclude HAIKU_TOP src tests servers app following ; 235cb7de03cSStephan AßmusSubInclude HAIKU_TOP src tests servers app font_spacing ; 2361f3acfaaSAdrien DestuguesSubInclude HAIKU_TOP src tests servers app gradients ; 237ea5c7202SAxel DörflerSubInclude HAIKU_TOP src tests servers app hide_and_show ; 23809f147fbSJérôme DuvalSubInclude HAIKU_TOP src tests servers app idle_test ; 239d36ae78cSStephan AßmusSubInclude HAIKU_TOP src tests servers app lagging_get_mouse ; 2403ecd9d8fSAxel DörflerSubInclude HAIKU_TOP src tests servers app lock_focus ; 241a7e6679bSAxel DörflerSubInclude HAIKU_TOP src tests servers app look_and_feel ; 2424c751e51SAxel DörflerSubInclude HAIKU_TOP src tests servers app menu_crash ; 243ffdeb47bSAxel DörflerSubInclude HAIKU_TOP src tests servers app no_pointer_history ; 244338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app painter ; 245338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app playground ; 246f9ba150bSMichael LotzSubInclude HAIKU_TOP src tests servers app pulsed_drawing ; 247ffdeb47bSAxel DörflerSubInclude HAIKU_TOP src tests servers app regularapps ; 248338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app resize_limits ; 249ce158b43SStephan AßmusSubInclude HAIKU_TOP src tests servers app scrollbar ; 250338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app scrolling ; 25176ab3f88SStephan AßmusSubInclude HAIKU_TOP src tests servers app shape_test ; 252afc5d438SAdrien DestuguesSubInclude HAIKU_TOP src tests servers app stacktile ; 253d36ae78cSStephan AßmusSubInclude HAIKU_TOP src tests servers app statusbar ; 254e7df4a48SStephan AßmusSubInclude HAIKU_TOP src tests servers app stress_test ; 255338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app textview ; 25608e109e5SStephan AßmusSubInclude HAIKU_TOP src tests servers app transformation ; 257ad53a0d9SJulian HarnathSubInclude HAIKU_TOP src tests servers app unit_tests ; 258e0d7d87fSAxel DörflerSubInclude HAIKU_TOP src tests servers app view_state ; 25961e7172dSStephan AßmusSubInclude HAIKU_TOP src tests servers app view_transit ; 260ecef598eSStefano CeccheriniSubInclude HAIKU_TOP src tests servers app window_creation ; 261e527d809SAxel DörflerSubInclude HAIKU_TOP src tests servers app window_invalidation ; 262f0b714c8SAxel DörflerSubInclude HAIKU_TOP src tests servers app workspace_activated ; 2631214ef1bSAxel DörflerSubInclude HAIKU_TOP src tests servers app workspace_switcher ; 264