haiku/src/servers/app/Jamfile
Michael Lotz da4526cdcf TEST_MODE is now disabled on Haiku too. So app_server is not a BApplication anymore and doesn't depend on itself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 19:50:39 +00:00

131 lines
2.9 KiB
Plaintext

SubDir OBOS_TOP src servers app ;
Depends app_server : install_fonts ;
AddResources app_server : app_server.rdef ;
UseLibraryHeaders agg png zlib ;
UsePrivateHeaders app interface [ FDirName servers app ] ;
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing ] ;
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter ] ;
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter drawing_modes ] ;
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter font_support ] ;
UseFreeTypeHeaders ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) drawing ] ;
if ( $(TARGET_PLATFORM) = haiku ) {
# This overrides the definition in private/servers/app/ServerConfig.h
defines = [ FDefines DISPLAYDRIVER=HWDRIVER ] ;
defines = [ FDefines TEST_MODE=0 ] ;
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
AccelerantBuffer.cpp
DisplayDriverPainter.cpp
HWInterface.cpp
UpdateQueue.cpp
ViewHWInterface.cpp
AccelerantHWInterface.cpp
;
}
SharedLibrary appserver :
Angle.cpp
BGet++.cpp
BitmapManager.cpp
ColorSet.cpp
CursorData.cpp
CursorHandler.cpp
Decorator.cpp
FontFamily.cpp
GraphicsBuffer.cpp
IPoint.cpp
LayerData.cpp
RectUtils.cpp
RGBColor.cpp
ServerBitmap.cpp
ServerCursor.cpp
ServerFont.cpp
FontServer.cpp
SysCursor.cpp
SystemPalette.cpp
TokenHandler.cpp
Utils.cpp
# drawing
PatternHandler.cpp
PixelRenderer.cpp
DisplayDriver.cpp
DisplayDriverImpl.cpp
DisplaySupport.cpp
;
Server app_server :
# Misc. Sources
FMWList.cpp
PicturePlayer.cpp
PNGDump.cpp
RAMLinkMsgReader.cpp
# Manager Classes
AppServer.cpp
CursorManager.cpp
Desktop.cpp
ServerApp.cpp
ServerWindow.cpp
# DisplayDriver Classes
$(VIEW_DRIVER_SOURCES)
# Clipper.cpp
DefaultDecorator.cpp
Layer.cpp
RootLayer.cpp
ServerPicture.cpp
ServerScreen.cpp
WinBorder.cpp
Workspace.cpp
;
# link libraries for app_server and libappserver.so
if $(TARGET_PLATFORM) = haiku {
LinkSharedOSLibs libappserver.so :
libroot.so libbe.so libfreetype.so ;
LinkSharedOSLibs app_server :
libroot.so libtranslation.so libz.so libpng.so libbe.so
libappserver.so libfreetype.so libtextencoding.so ;
} else {
LINKFLAGS on app_server ?= $(LINKFLAGS) ;
LINKFLAGS on app_server += -lbe ;
LinkSharedOSLibs libappserver.so :
root be <boot!home!config!lib>libopenbeos.so
libfreetype.so ;
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 ;
}
SubInclude OBOS_TOP src servers app fonts ;
SubInclude OBOS_TOP src servers app drawing Painter ;