2005-10-29 16:27:43 +00:00
|
|
|
SubDir HAIKU_TOP src tests servers app ;
|
|
|
|
|
|
2005-11-07 16:07:25 +00:00
|
|
|
SetSubDirSupportedPlatforms libbe_test ;
|
2005-10-29 16:27:43 +00:00
|
|
|
|
2005-11-07 16:07:25 +00:00
|
|
|
# No need to define any of those targets, when not building for libbe_test
|
|
|
|
|
if $(TARGET_PLATFORM) = libbe_test {
|
2005-01-20 12:56:25 +00:00
|
|
|
|
2005-07-29 14:44:35 +00:00
|
|
|
UseLibraryHeaders agg png zlib ;
|
2006-03-18 16:42:14 +00:00
|
|
|
UsePrivateHeaders app graphics input interface kernel shared ;
|
2005-07-29 14:44:35 +00:00
|
|
|
|
2005-10-29 16:27:43 +00:00
|
|
|
local appServerDir = [ FDirName $(HAIKU_TOP) src servers app ] ;
|
2005-07-29 14:44:35 +00:00
|
|
|
|
|
|
|
|
UseHeaders [ FDirName $(appServerDir) drawing ] ;
|
|
|
|
|
UseHeaders [ FDirName $(appServerDir) drawing Painter ] ;
|
|
|
|
|
UseHeaders [ FDirName $(appServerDir) drawing Painter drawing_modes ] ;
|
|
|
|
|
UseHeaders [ FDirName $(appServerDir) drawing Painter font_support ] ;
|
|
|
|
|
UseFreeTypeHeaders ;
|
|
|
|
|
|
2005-11-13 15:40:21 +00:00
|
|
|
# This overrides the definitions in private/servers/app/ServerConfig.h
|
|
|
|
|
local defines = [ FDefines TEST_MODE=1 ] ;
|
2005-12-11 21:42:32 +00:00
|
|
|
# USE_DIRECT_WINDOW_TEST_MODE=1
|
2005-11-13 15:40:21 +00:00
|
|
|
|
2006-04-01 18:06:50 +00:00
|
|
|
SubDirCcFlags $(defines) -fcheck-memory-usage -D_NO_INLINE_ASM ;
|
|
|
|
|
SubDirC++Flags $(defines) -fcheck-memory-usage -D_NO_INLINE_ASM ;
|
2005-11-13 15:40:21 +00:00
|
|
|
|
2005-07-29 14:44:35 +00:00
|
|
|
SEARCH_SOURCE += $(appServerDir) [ FDirName $(appServerDir) drawing ] ;
|
|
|
|
|
|
2005-10-29 16:27:43 +00:00
|
|
|
SharedLibrary libhwinterface.so :
|
2005-12-10 17:48:00 +00:00
|
|
|
BBitmapBuffer.cpp
|
2005-12-10 16:45:25 +00:00
|
|
|
DWindowBuffer.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
HWInterface.cpp
|
2005-12-10 16:45:25 +00:00
|
|
|
RGBColor.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
|
2005-11-07 16:07:25 +00:00
|
|
|
: libhaikuappserver.so be
|
2005-07-29 14:44:35 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The reason for this is that libhwinterfaceimpl.so needs to link against
|
|
|
|
|
# libbe *first*, but simply adding it to the library list would add it to
|
|
|
|
|
# LINKLIBS which is always appended after NEEDLIBS in the command line.
|
|
|
|
|
LINKFLAGS on libhwinterfaceimpl.so ?= $(LINKFLAGS) ;
|
|
|
|
|
LINKFLAGS on libhwinterfaceimpl.so += -lbe ;
|
|
|
|
|
|
2005-10-29 16:27:43 +00:00
|
|
|
SharedLibrary libhwinterfaceimpl.so :
|
2005-12-10 17:48:00 +00:00
|
|
|
ViewHWInterface.cpp
|
2005-12-10 16:45:25 +00:00
|
|
|
DWindowHWInterface.cpp
|
2006-03-18 15:48:12 +00:00
|
|
|
MultiLocker.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
|
2005-12-10 21:45:41 +00:00
|
|
|
: be libhwinterface.so
|
2005-07-29 14:44:35 +00:00
|
|
|
;
|
|
|
|
|
|
2005-10-29 16:27:43 +00:00
|
|
|
SharedLibrary libhaikuappserver.so :
|
2005-07-29 14:44:35 +00:00
|
|
|
Angle.cpp
|
2006-03-18 13:43:26 +00:00
|
|
|
ClientMemoryAllocator.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
ColorSet.cpp
|
|
|
|
|
CursorData.cpp
|
2006-02-27 10:44:13 +00:00
|
|
|
CursorManager.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
CursorSet.cpp
|
2005-11-04 09:46:44 +00:00
|
|
|
DesktopSettings.cpp
|
2005-11-04 11:37:28 +00:00
|
|
|
DrawState.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
FontFamily.cpp
|
2006-03-18 15:48:12 +00:00
|
|
|
FontManager.cpp
|
2005-11-08 18:18:18 +00:00
|
|
|
HashTable.cpp
|
2006-03-18 15:48:12 +00:00
|
|
|
MultiLocker.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
RGBColor.cpp
|
|
|
|
|
ServerBitmap.cpp
|
|
|
|
|
ServerCursor.cpp
|
|
|
|
|
ServerFont.cpp
|
|
|
|
|
SystemPalette.cpp
|
|
|
|
|
|
|
|
|
|
# drawing
|
|
|
|
|
PatternHandler.cpp
|
|
|
|
|
|
|
|
|
|
# libraries
|
2006-03-18 15:48:12 +00:00
|
|
|
: be libtextencoding.so libfreetype.so
|
2005-07-29 14:44:35 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
|
|
AddResources haiku_app_server : app_server.rdef ;
|
|
|
|
|
|
|
|
|
|
Server haiku_app_server :
|
|
|
|
|
# Misc. Sources
|
2005-11-04 18:22:22 +00:00
|
|
|
Decorator.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
DebugInfoManager.cpp
|
|
|
|
|
PNGDump.cpp
|
|
|
|
|
RAMLinkMsgReader.cpp
|
|
|
|
|
MessageLooper.cpp
|
2005-11-17 18:43:08 +00:00
|
|
|
EventDispatcher.cpp
|
|
|
|
|
EventStream.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
|
|
|
|
|
# Manager Classes
|
2005-11-14 19:46:20 +00:00
|
|
|
BitmapManager.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
DecorManager.cpp
|
2005-11-18 11:30:06 +00:00
|
|
|
InputManager.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
ScreenManager.cpp
|
|
|
|
|
|
|
|
|
|
AppServer.cpp
|
|
|
|
|
Desktop.cpp
|
|
|
|
|
|
|
|
|
|
ServerApp.cpp
|
|
|
|
|
ServerWindow.cpp
|
|
|
|
|
|
2005-11-04 15:55:53 +00:00
|
|
|
# DrawingEngine Classes
|
2005-07-29 14:44:35 +00:00
|
|
|
AccelerantBuffer.cpp
|
|
|
|
|
AccelerantHWInterface.cpp
|
|
|
|
|
BitmapBuffer.cpp
|
2005-11-04 15:55:53 +00:00
|
|
|
DrawingEngine.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
MallocBuffer.cpp
|
|
|
|
|
UpdateQueue.cpp
|
|
|
|
|
|
|
|
|
|
VirtualScreen.cpp
|
|
|
|
|
BitmapHWInterface.cpp
|
|
|
|
|
DefaultDecorator.cpp
|
|
|
|
|
OffscreenServerWindow.cpp
|
2005-11-24 17:58:33 +00:00
|
|
|
OffscreenWindowLayer.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
ServerPicture.cpp
|
|
|
|
|
ServerScreen.cpp
|
2005-12-08 12:41:19 +00:00
|
|
|
ViewLayer.cpp
|
2005-11-24 17:58:33 +00:00
|
|
|
WindowLayer.cpp
|
2005-12-08 12:41:19 +00:00
|
|
|
WindowList.cpp
|
2005-07-29 14:44:35 +00:00
|
|
|
Workspace.cpp
|
|
|
|
|
WorkspacesLayer.cpp
|
|
|
|
|
|
|
|
|
|
# libraries
|
|
|
|
|
:
|
2005-10-29 16:27:43 +00:00
|
|
|
z libpng.so libhaikuappserver.so
|
2005-12-10 21:45:41 +00:00
|
|
|
libpainter.a be
|
2005-07-29 14:44:35 +00:00
|
|
|
libhwinterface.so libhwinterfaceimpl.so
|
|
|
|
|
libagg.a libfreetype.so libtextencoding.so
|
|
|
|
|
;
|
|
|
|
|
|
2005-10-29 16:27:43 +00:00
|
|
|
# install in the test dir
|
|
|
|
|
HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR)
|
2005-12-13 19:08:18 +00:00
|
|
|
: libpng.so libhaikuappserver.so libbe_haiku.so libbeadapter.so
|
|
|
|
|
libhwinterface.so libhwinterfaceimpl.so libfreetype.so
|
|
|
|
|
libtextencoding.so
|
2005-10-29 16:27:43 +00:00
|
|
|
: tests!apps ;
|
|
|
|
|
|
|
|
|
|
HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : haiku_app_server
|
|
|
|
|
: tests!apps ;
|
|
|
|
|
|
2005-11-07 16:07:25 +00:00
|
|
|
} # if $(TARGET_PLATFORM) = libbe_test
|
2005-07-29 14:44:35 +00:00
|
|
|
|
2005-11-29 13:07:01 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app avoid_focus ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app bitmap_drawing ;
|
2005-11-25 14:53:34 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app code_to_name ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app copy_bits ;
|
2006-04-01 18:06:50 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app cursor_test ;
|
2005-11-28 17:54:34 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app desktop_window ;
|
2005-11-17 11:01:42 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app event_mask ;
|
2005-12-01 13:21:33 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app look_and_feel ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app painter ;
|
|
|
|
|
SubInclude HAIKU_TOP src tests servers app playground ;
|
|
|
|
|
SubInclude HAIKU_TOP src tests servers app resize_limits ;
|
|
|
|
|
SubInclude HAIKU_TOP src tests servers app scrolling ;
|
2006-03-11 19:41:51 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app stress_test ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app textview ;
|
|
|
|
|
SubInclude HAIKU_TOP src tests servers app regularapps ;
|
2005-11-04 09:46:44 +00:00
|
|
|
SubInclude HAIKU_TOP src tests servers app view_state ;
|