2005-03-24 14:45:52 +00:00
|
|
|
SubDir OBOS_TOP src servers app ;
|
2003-01-20 20:38:49 +00:00
|
|
|
|
2003-08-02 00:13:30 +00:00
|
|
|
Depends app_server : install_fonts ;
|
|
|
|
|
2003-11-20 01:40:54 +00:00
|
|
|
AddResources app_server : app_server.rdef ;
|
2003-01-20 20:38:49 +00:00
|
|
|
|
2005-03-26 22:12:37 +00:00
|
|
|
UseLibraryHeaders agg png zlib ;
|
2003-07-13 20:56:00 +00:00
|
|
|
UsePrivateHeaders app interface [ FDirName servers app ] ;
|
2005-03-25 22:44:18 +00:00
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing ] ;
|
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter ] ;
|
2005-03-26 22:12:37 +00: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 20:38:49 +00:00
|
|
|
UseFreeTypeHeaders ;
|
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) drawing ] ;
|
|
|
|
|
|
|
|
if ( $(TARGET_PLATFORM) = haiku ) {
|
|
|
|
# This overrides the definition in private/servers/app/ServerConfig.h
|
|
|
|
defines = [ FDefines DISPLAYDRIVER=HWDRIVER ] ;
|
|
|
|
SubDirCcFlags $(defines) ;
|
|
|
|
SubDirC++Flags $(defines) ;
|
|
|
|
|
|
|
|
VIEW_DRIVER_SOURCES = AccelerantDriver.cpp ;
|
|
|
|
} else {
|
|
|
|
VIEW_DRIVER_SOURCES =
|
|
|
|
fake_input_server.cpp
|
|
|
|
AccelerantDriver.cpp
|
|
|
|
BitmapDriver.cpp
|
|
|
|
ViewDriver.cpp
|
|
|
|
DirectDriver.cpp
|
|
|
|
# We'll just remove this from the build for a little while...
|
|
|
|
#ScreenDriver.cpp
|
|
|
|
# Painter based DisplayDriver Classes
|
|
|
|
BitmapBuffer.cpp
|
2005-03-29 16:31:46 +00:00
|
|
|
AccelerantBuffer.cpp
|
2005-03-29 16:21:55 +00:00
|
|
|
DisplayDriverPainter.cpp
|
|
|
|
HWInterface.cpp
|
|
|
|
UpdateQueue.cpp
|
|
|
|
ViewHWInterface.cpp
|
2005-03-29 16:31:46 +00:00
|
|
|
AccelerantHWInterface.cpp
|
2005-03-29 16:21:55 +00:00
|
|
|
;
|
|
|
|
}
|
|
|
|
|
2003-07-13 20:56:00 +00:00
|
|
|
SharedLibrary appserver :
|
2004-02-03 00:52:40 +00:00
|
|
|
Angle.cpp
|
2004-09-04 00:55:05 +00:00
|
|
|
BGet++.cpp
|
2003-07-24 19:38:24 +00:00
|
|
|
BitmapManager.cpp
|
2003-07-13 20:56:00 +00:00
|
|
|
ColorSet.cpp
|
2005-01-18 22:31:08 +00:00
|
|
|
CursorData.cpp
|
2004-09-21 23:10:23 +00:00
|
|
|
CursorHandler.cpp
|
2003-07-13 20:56:00 +00:00
|
|
|
Decorator.cpp
|
|
|
|
FontFamily.cpp
|
2004-09-05 00:52:45 +00:00
|
|
|
GraphicsBuffer.cpp
|
|
|
|
IPoint.cpp
|
2004-01-27 00:38:14 +00:00
|
|
|
LayerData.cpp
|
2003-07-13 20:56:00 +00:00
|
|
|
RectUtils.cpp
|
|
|
|
RGBColor.cpp
|
|
|
|
ServerBitmap.cpp
|
|
|
|
ServerCursor.cpp
|
|
|
|
ServerFont.cpp
|
2003-09-08 22:20:29 +00:00
|
|
|
FontServer.cpp
|
2003-07-24 19:38:24 +00:00
|
|
|
SysCursor.cpp
|
2003-07-13 20:56:00 +00:00
|
|
|
SystemPalette.cpp
|
2003-07-24 19:38:24 +00:00
|
|
|
TokenHandler.cpp
|
2004-09-17 10:27:58 +00:00
|
|
|
Utils.cpp
|
2003-07-13 20:56:00 +00:00
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
# drawing
|
|
|
|
PatternHandler.cpp
|
|
|
|
PixelRenderer.cpp
|
|
|
|
DisplayDriver.cpp
|
|
|
|
DisplayDriverImpl.cpp
|
|
|
|
DisplaySupport.cpp
|
|
|
|
;
|
2003-07-13 20:56:00 +00:00
|
|
|
|
2003-01-20 20:38:49 +00:00
|
|
|
Server app_server :
|
|
|
|
# Misc. Sources
|
2004-01-11 22:12:55 +00:00
|
|
|
FMWList.cpp
|
2003-03-08 21:07:10 +00:00
|
|
|
PicturePlayer.cpp
|
2003-03-30 00:17:50 +00:00
|
|
|
PNGDump.cpp
|
2004-10-14 01:23:00 +00:00
|
|
|
RAMLinkMsgReader.cpp
|
2003-01-20 20:38:49 +00:00
|
|
|
|
2003-01-23 14:25:16 +00:00
|
|
|
# Manager Classes
|
2003-01-20 20:38:49 +00:00
|
|
|
AppServer.cpp
|
2003-01-23 14:25:16 +00:00
|
|
|
CursorManager.cpp
|
2003-01-24 15:19:27 +00:00
|
|
|
Desktop.cpp
|
2003-01-24 14:36:15 +00:00
|
|
|
ServerApp.cpp
|
2003-02-07 12:53:57 +00:00
|
|
|
ServerWindow.cpp
|
2003-01-20 20:38:49 +00:00
|
|
|
|
2005-03-25 17:48:49 +00:00
|
|
|
# DisplayDriver Classes
|
2005-03-29 16:21:55 +00:00
|
|
|
$(VIEW_DRIVER_SOURCES)
|
2005-03-25 17:48:49 +00:00
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
# Clipper.cpp
|
2003-02-13 02:13:55 +00:00
|
|
|
DefaultDecorator.cpp
|
2003-01-24 15:19:27 +00:00
|
|
|
Layer.cpp
|
2003-02-12 11:24:26 +00:00
|
|
|
RootLayer.cpp
|
2003-09-08 22:20:29 +00:00
|
|
|
ServerPicture.cpp
|
2004-01-11 22:12:55 +00:00
|
|
|
ServerScreen.cpp
|
|
|
|
WinBorder.cpp
|
|
|
|
Workspace.cpp
|
2003-01-20 20:38:49 +00:00
|
|
|
;
|
2003-02-17 15:02:38 +00:00
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
# link libraries for app_server and libappserver.so
|
2003-02-17 15:02:38 +00:00
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
if $(TARGET_PLATFORM) = haiku {
|
2005-03-29 18:32:43 +00:00
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
LinkSharedOSLibs libappserver.so :
|
|
|
|
libroot.so libbe.so libfreetype.so ;
|
2005-03-29 18:32:43 +00:00
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
LinkSharedOSLibs app_server :
|
|
|
|
libroot.so libtranslation.so libz.so libpng.so libbe.so
|
|
|
|
libappserver.so libfreetype.so libtextencoding.so ;
|
2005-03-29 18:32:43 +00:00
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
} else {
|
2005-03-29 18:32:43 +00:00
|
|
|
|
|
|
|
LINKFLAGS on app_server ?= $(LINKFLAGS) ;
|
|
|
|
LINKFLAGS on app_server += -lbe ;
|
|
|
|
|
2005-03-29 16:21:55 +00:00
|
|
|
LinkSharedOSLibs libappserver.so :
|
|
|
|
root be <boot!home!config!lib>libopenbeos.so
|
|
|
|
libfreetype.so ;
|
2005-03-29 18:32:43 +00:00
|
|
|
|
2005-03-29 16:21:55 +00: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 20:38:49 +00:00
|
|
|
|
2005-03-24 14:45:52 +00:00
|
|
|
SubInclude OBOS_TOP src servers app fonts ;
|
2005-03-25 22:44:18 +00:00
|
|
|
SubInclude OBOS_TOP src servers app drawing Painter ;
|