2005-03-24 17:45:52 +03:00
|
|
|
SubDir OBOS_TOP src servers app ;
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2003-08-02 04:13:30 +04:00
|
|
|
Depends app_server : install_fonts ;
|
|
|
|
|
2003-11-20 04:40:54 +03:00
|
|
|
AddResources app_server : app_server.rdef ;
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2005-03-27 01:12:37 +03:00
|
|
|
UseLibraryHeaders agg png zlib ;
|
2003-07-14 00:56:00 +04:00
|
|
|
UsePrivateHeaders app interface [ FDirName servers app ] ;
|
2005-03-26 01:44:18 +03:00
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing ] ;
|
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter ] ;
|
2005-03-27 01:12:37 +03:00
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter drawing_modes ] ;
|
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter font_support ] ;
|
2003-01-20 23:38:49 +03:00
|
|
|
UseFreeTypeHeaders ;
|
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) drawing ] ;
|
|
|
|
|
|
|
|
if ( $(TARGET_PLATFORM) = haiku ) {
|
2005-03-30 00:37:30 +04:00
|
|
|
# This overrides the definitions in private/servers/app/ServerConfig.h
|
2005-04-18 22:48:19 +04:00
|
|
|
defines = [ FDefines TEST_MODE=0 ] ;
|
2005-03-30 00:37:30 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
SubDirCcFlags $(defines) ;
|
|
|
|
SubDirC++Flags $(defines) ;
|
|
|
|
|
2005-04-01 14:36:23 +04:00
|
|
|
VIEW_DRIVER_SOURCES =
|
2005-04-12 12:22:16 +04:00
|
|
|
AccelerantBuffer.cpp
|
|
|
|
AccelerantHWInterface.cpp
|
|
|
|
DisplayDriverPainter.cpp
|
|
|
|
HWInterface.cpp
|
|
|
|
MallocBuffer.cpp
|
|
|
|
UpdateQueue.cpp
|
2005-04-01 14:36:23 +04:00
|
|
|
;
|
2005-03-29 20:21:55 +04:00
|
|
|
} else {
|
|
|
|
VIEW_DRIVER_SOURCES =
|
|
|
|
fake_input_server.cpp
|
|
|
|
BitmapBuffer.cpp
|
2005-03-29 20:31:46 +04:00
|
|
|
AccelerantBuffer.cpp
|
2005-04-18 22:48:19 +04:00
|
|
|
AccelerantHWInterface.cpp
|
2005-03-29 20:21:55 +04:00
|
|
|
DisplayDriverPainter.cpp
|
|
|
|
HWInterface.cpp
|
2005-04-01 14:36:23 +04:00
|
|
|
MallocBuffer.cpp
|
2005-03-29 20:21:55 +04:00
|
|
|
UpdateQueue.cpp
|
|
|
|
ViewHWInterface.cpp
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
2003-07-14 00:56:00 +04:00
|
|
|
SharedLibrary appserver :
|
2004-02-03 03:52:40 +03:00
|
|
|
Angle.cpp
|
2004-09-04 04:55:05 +04:00
|
|
|
BGet++.cpp
|
2003-07-24 23:38:24 +04:00
|
|
|
BitmapManager.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
ColorSet.cpp
|
2005-01-19 01:31:08 +03:00
|
|
|
CursorData.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
Decorator.cpp
|
|
|
|
FontFamily.cpp
|
2004-09-05 04:52:45 +04:00
|
|
|
IPoint.cpp
|
2004-01-27 03:38:14 +03:00
|
|
|
LayerData.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
RGBColor.cpp
|
|
|
|
ServerBitmap.cpp
|
|
|
|
ServerCursor.cpp
|
|
|
|
ServerFont.cpp
|
2003-09-09 02:20:29 +04:00
|
|
|
FontServer.cpp
|
2003-07-24 23:38:24 +04:00
|
|
|
SysCursor.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
SystemPalette.cpp
|
2003-07-24 23:38:24 +04:00
|
|
|
TokenHandler.cpp
|
2004-09-17 14:27:58 +04:00
|
|
|
Utils.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
# drawing
|
|
|
|
PatternHandler.cpp
|
|
|
|
DisplayDriver.cpp
|
|
|
|
;
|
2003-07-14 00:56:00 +04:00
|
|
|
|
2003-01-20 23:38:49 +03:00
|
|
|
Server app_server :
|
|
|
|
# Misc. Sources
|
2005-05-26 03:59:23 +04:00
|
|
|
DebugInfoManager.cpp
|
2005-06-17 20:34:22 +04:00
|
|
|
SubWindowList.cpp
|
2005-06-24 03:46:17 +04:00
|
|
|
MultiLocker.cpp
|
2003-03-09 00:07:10 +03:00
|
|
|
PicturePlayer.cpp
|
2003-03-30 04:17:50 +04:00
|
|
|
PNGDump.cpp
|
2004-10-14 05:23:00 +04:00
|
|
|
RAMLinkMsgReader.cpp
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2003-01-23 17:25:16 +03:00
|
|
|
# Manager Classes
|
2003-01-20 23:38:49 +03:00
|
|
|
AppServer.cpp
|
2003-01-23 17:25:16 +03:00
|
|
|
CursorManager.cpp
|
2003-01-24 18:19:27 +03:00
|
|
|
Desktop.cpp
|
2003-01-24 17:36:15 +03:00
|
|
|
ServerApp.cpp
|
2003-02-07 15:53:57 +03:00
|
|
|
ServerWindow.cpp
|
2005-06-17 23:10:15 +04:00
|
|
|
DecorManager.cpp
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2005-03-25 20:48:49 +03:00
|
|
|
# DisplayDriver Classes
|
2005-03-29 20:21:55 +04:00
|
|
|
$(VIEW_DRIVER_SOURCES)
|
2005-03-25 20:48:49 +03:00
|
|
|
|
2003-02-13 05:13:55 +03:00
|
|
|
DefaultDecorator.cpp
|
2003-01-24 18:19:27 +03:00
|
|
|
Layer.cpp
|
2003-02-12 14:24:26 +03:00
|
|
|
RootLayer.cpp
|
2003-09-09 02:20:29 +04:00
|
|
|
ServerPicture.cpp
|
2004-01-12 01:12:55 +03:00
|
|
|
ServerScreen.cpp
|
|
|
|
WinBorder.cpp
|
|
|
|
Workspace.cpp
|
2003-01-20 23:38:49 +03:00
|
|
|
;
|
2003-02-17 18:02:38 +03:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
# link libraries for app_server and libappserver.so
|
2003-02-17 18:02:38 +03:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
if $(TARGET_PLATFORM) = haiku {
|
2005-03-30 00:37:30 +04:00
|
|
|
# link for Haiku
|
2005-03-29 22:32:43 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
LinkSharedOSLibs libappserver.so :
|
2005-05-12 19:09:30 +04:00
|
|
|
libroot.so libbe.so libfreetype.so libtextencoding.so ;
|
2005-03-29 22:32:43 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
LinkSharedOSLibs app_server :
|
|
|
|
libroot.so libtranslation.so libz.so libpng.so libbe.so
|
2005-04-12 12:22:16 +04:00
|
|
|
libappserver.so libpainter.a libagg.a libfreetype.so
|
|
|
|
libtextencoding.so ;
|
2005-03-29 22:32:43 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
} else {
|
2005-03-30 00:37:30 +04:00
|
|
|
# link as test application under R5
|
2005-03-29 22:32:43 +04:00
|
|
|
|
|
|
|
LINKFLAGS on app_server ?= $(LINKFLAGS) ;
|
|
|
|
LINKFLAGS on app_server += -lbe ;
|
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
LinkSharedOSLibs libappserver.so :
|
|
|
|
root be <boot!home!config!lib>libopenbeos.so
|
2005-05-12 19:09:30 +04:00
|
|
|
textencoding libfreetype.so ;
|
2005-03-29 22:32:43 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
LinkSharedOSLibs app_server :
|
|
|
|
root be game translation libz.so libpng.so libappserver.so
|
|
|
|
libpainter.a <boot!home!config!lib>libopenbeos.so
|
|
|
|
libagg.a libfreetype.so textencoding ;
|
|
|
|
}
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2005-03-24 17:45:52 +03:00
|
|
|
SubInclude OBOS_TOP src servers app fonts ;
|
2005-03-26 01:44:18 +03:00
|
|
|
SubInclude OBOS_TOP src servers app drawing Painter ;
|