1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src tests servers app ; 2338b8dc3SIngo Weinhold 3ca9e5772SIngo WeinholdSetSubDirSupportedPlatforms libbe_test ; 4338b8dc3SIngo Weinhold 5ca9e5772SIngo Weinhold# No need to define any of those targets, when not building for libbe_test 6ca9e5772SIngo Weinholdif $(TARGET_PLATFORM) = libbe_test { 7ee5f6d23SStephan Aßmus 82826a379SIngo WeinholdUseLibraryHeaders agg png zlib ; 93111f163SIngo WeinholdUsePrivateHeaders app graphics input interface shared storage ; 103111f163SIngo Weinhold 113111f163SIngo Weinhold# headers/build/private/kernel is needed for safemode.h and syscalls.h. 123111f163SIngo Weinhold# headers/private/kernel for the util/* stuff. 133111f163SIngo WeinholdUseHeaders [ FDirName $(HAIKU_TOP) headers build private kernel ] : true ; 143111f163SIngo WeinholdUsePrivateHeaders kernel ; 152826a379SIngo Weinhold 16338b8dc3SIngo Weinholdlocal appServerDir = [ FDirName $(HAIKU_TOP) src servers app ] ; 172826a379SIngo Weinhold 182826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing ] ; 192826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter ] ; 202826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter drawing_modes ] ; 212826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter font_support ] ; 222826a379SIngo WeinholdUseFreeTypeHeaders ; 232826a379SIngo Weinhold 248b794301SAxel Dörfler# This overrides the definitions in private/servers/app/ServerConfig.h 258b794301SAxel Dörflerlocal defines = [ FDefines TEST_MODE=1 ] ; 26bd09e99dSAxel Dörfler # USE_DIRECT_WINDOW_TEST_MODE=1 278b794301SAxel Dörfler 28264fe59dSStephan AßmusSubDirCcFlags $(defines) ; #-finstrument-functions ; #-fcheck-memory-usage -D_NO_INLINE_ASM ; 29264fe59dSStephan AßmusSubDirC++Flags $(defines) ; #-finstrument-functions ; #-fcheck-memory-usage -D_NO_INLINE_ASM ; 308b794301SAxel Dörfler 312826a379SIngo WeinholdSEARCH_SOURCE += $(appServerDir) [ FDirName $(appServerDir) drawing ] ; 322826a379SIngo Weinhold 33338b8dc3SIngo WeinholdSharedLibrary libhwinterface.so : 34a41a0db6SIngo Weinhold BBitmapBuffer.cpp 35c2270088SStephan Aßmus DWindowBuffer.cpp 362826a379SIngo Weinhold HWInterface.cpp 37c2270088SStephan Aßmus RGBColor.cpp 382826a379SIngo Weinhold 39ca9e5772SIngo Weinhold : libhaikuappserver.so be 402826a379SIngo Weinhold; 412826a379SIngo Weinhold 422826a379SIngo Weinhold 432826a379SIngo Weinhold# The reason for this is that libhwinterfaceimpl.so needs to link against 442826a379SIngo Weinhold# libbe *first*, but simply adding it to the library list would add it to 452826a379SIngo Weinhold# LINKLIBS which is always appended after NEEDLIBS in the command line. 462826a379SIngo WeinholdLINKFLAGS on libhwinterfaceimpl.so ?= $(LINKFLAGS) ; 472826a379SIngo WeinholdLINKFLAGS on libhwinterfaceimpl.so += -lbe ; 482826a379SIngo Weinhold 49338b8dc3SIngo WeinholdSharedLibrary libhwinterfaceimpl.so : 50a41a0db6SIngo Weinhold ViewHWInterface.cpp 51c2270088SStephan Aßmus DWindowHWInterface.cpp 5204768381SAxel Dörfler MultiLocker.cpp 532826a379SIngo Weinhold 54264fe59dSStephan Aßmus# trace.c 5562b965a6SStephan Aßmus : be libhwinterface.so 562826a379SIngo Weinhold; 572826a379SIngo Weinhold 58338b8dc3SIngo WeinholdSharedLibrary libhaikuappserver.so : 592826a379SIngo Weinhold Angle.cpp 609a44fdc9SAxel Dörfler ClientMemoryAllocator.cpp 612826a379SIngo Weinhold CursorData.cpp 62640b841dSAxel Dörfler CursorManager.cpp 632826a379SIngo Weinhold CursorSet.cpp 64e0d7d87fSAxel Dörfler DesktopSettings.cpp 65aca4f50dSAxel Dörfler DrawState.cpp 66*2222864eSStephan Aßmus FontCache.cpp 67*2222864eSStephan Aßmus FontCacheEntry.cpp 68*2222864eSStephan Aßmus FontEngine.cpp 692826a379SIngo Weinhold FontFamily.cpp 7004768381SAxel Dörfler FontManager.cpp 71fd5d46e0SStephan Aßmus FontStyle.cpp 7268e424c8SAdi Oanca HashTable.cpp 73264fe59dSStephan Aßmus IntPoint.cpp 74264fe59dSStephan Aßmus IntRect.cpp 7504768381SAxel Dörfler MultiLocker.cpp 760ac013e6SAxel Dörfler Overlay.cpp 772826a379SIngo Weinhold RGBColor.cpp 782826a379SIngo Weinhold ServerBitmap.cpp 792826a379SIngo Weinhold ServerCursor.cpp 802826a379SIngo Weinhold ServerFont.cpp 812826a379SIngo Weinhold SystemPalette.cpp 822826a379SIngo Weinhold 832826a379SIngo Weinhold # drawing 842826a379SIngo Weinhold PatternHandler.cpp 852826a379SIngo Weinhold 86264fe59dSStephan Aßmus# trace.c 87264fe59dSStephan Aßmus 882826a379SIngo Weinhold # libraries 89*2222864eSStephan Aßmus : be libpainter.a libtextencoding.so libfreetype.so libshared.a 902826a379SIngo Weinhold; 912826a379SIngo Weinhold 922826a379SIngo WeinholdAddResources haiku_app_server : app_server.rdef ; 932826a379SIngo Weinhold 942826a379SIngo WeinholdServer haiku_app_server : 952826a379SIngo Weinhold # Misc. Sources 96e7869c4cSStephan Aßmus Decorator.cpp 972826a379SIngo Weinhold DebugInfoManager.cpp 9867f3be42SStephan Aßmus ProfileMessageSupport.cpp 990e29f57aSAxel Dörfler EventDispatcher.cpp 1000e29f57aSAxel Dörfler EventStream.cpp 10167f3be42SStephan Aßmus MessageLooper.cpp 10267f3be42SStephan Aßmus PNGDump.cpp 10367f3be42SStephan Aßmus RAMLinkMsgReader.cpp 1042826a379SIngo Weinhold 1052826a379SIngo Weinhold # Manager Classes 106be05d56cSAxel Dörfler BitmapManager.cpp 1072826a379SIngo Weinhold DecorManager.cpp 108f7598223SAxel Dörfler InputManager.cpp 1092826a379SIngo Weinhold ScreenManager.cpp 1102826a379SIngo Weinhold 1112826a379SIngo Weinhold AppServer.cpp 1122826a379SIngo Weinhold Desktop.cpp 1132826a379SIngo Weinhold 1142826a379SIngo Weinhold ServerApp.cpp 1152826a379SIngo Weinhold ServerWindow.cpp 1162826a379SIngo Weinhold 117fcd75d63SStephan Aßmus # DrawingEngine Classes 1182826a379SIngo Weinhold AccelerantBuffer.cpp 1192826a379SIngo Weinhold AccelerantHWInterface.cpp 1202826a379SIngo Weinhold BitmapBuffer.cpp 121dd98ed8dSStephan Aßmus drawing_support.cpp 122fcd75d63SStephan Aßmus DrawingEngine.cpp 1232826a379SIngo Weinhold MallocBuffer.cpp 1242826a379SIngo Weinhold UpdateQueue.cpp 1252826a379SIngo Weinhold 1262826a379SIngo Weinhold VirtualScreen.cpp 1272826a379SIngo Weinhold BitmapHWInterface.cpp 1282826a379SIngo Weinhold DefaultDecorator.cpp 1292826a379SIngo Weinhold OffscreenServerWindow.cpp 130be2f498eSAxel Dörfler OffscreenWindowLayer.cpp 13139c9925fSStephan Aßmus RegionPool.cpp 1322826a379SIngo Weinhold ServerPicture.cpp 1332826a379SIngo Weinhold ServerScreen.cpp 134e83820edSAxel Dörfler ViewLayer.cpp 135be2f498eSAxel Dörfler WindowLayer.cpp 136e83820edSAxel Dörfler WindowList.cpp 1372826a379SIngo Weinhold Workspace.cpp 1382826a379SIngo Weinhold WorkspacesLayer.cpp 1392826a379SIngo Weinhold 1402826a379SIngo Weinhold # libraries 1412826a379SIngo Weinhold : 142*2222864eSStephan Aßmus z libpng.so libhaikuappserver.so libpainter.a be 1432826a379SIngo Weinhold libhwinterface.so libhwinterfaceimpl.so 1442826a379SIngo Weinhold libagg.a libfreetype.so libtextencoding.so 1452826a379SIngo Weinhold; 1462826a379SIngo Weinhold 147338b8dc3SIngo Weinhold# install in the test dir 148338b8dc3SIngo WeinholdHaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) 149040ce757SStephan Aßmus : libpng.so libhaikuappserver.so libbe_haiku.so libbeadapter.so 150040ce757SStephan Aßmus libhwinterface.so libhwinterfaceimpl.so libfreetype.so 151040ce757SStephan Aßmus libtextencoding.so 152338b8dc3SIngo Weinhold : tests!apps ; 153338b8dc3SIngo Weinhold 154338b8dc3SIngo WeinholdHaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : haiku_app_server 155338b8dc3SIngo Weinhold : tests!apps ; 156338b8dc3SIngo Weinhold 157ca9e5772SIngo Weinhold} # if $(TARGET_PLATFORM) = libbe_test 1582826a379SIngo Weinhold 1599813f97fSStephan AßmusSubInclude HAIKU_TOP src tests servers app archived_view ; 1607362a1d7SAxel DörflerSubInclude HAIKU_TOP src tests servers app avoid_focus ; 1619813f97fSStephan AßmusSubInclude HAIKU_TOP src tests servers app bitmap_bounds ; 162338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app bitmap_drawing ; 163c3b8f9f6SAxel DörflerSubInclude HAIKU_TOP src tests servers app code_to_name ; 164338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app copy_bits ; 165da07353dSAxel DörflerSubInclude HAIKU_TOP src tests servers app cursor_test ; 16694dc3ed6SAxel DörflerSubInclude HAIKU_TOP src tests servers app desktop_window ; 167fc505229SAxel DörflerSubInclude HAIKU_TOP src tests servers app event_mask ; 168dd98ed8dSStephan AßmusSubInclude HAIKU_TOP src tests servers app following ; 169a7e6679bSAxel DörflerSubInclude HAIKU_TOP src tests servers app look_and_feel ; 170338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app painter ; 171338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app playground ; 172338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app resize_limits ; 173338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app scrolling ; 174e7df4a48SStephan AßmusSubInclude HAIKU_TOP src tests servers app stress_test ; 175338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app textview ; 176338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app regularapps ; 177e0d7d87fSAxel DörflerSubInclude HAIKU_TOP src tests servers app view_state ; 178