1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src tests servers app ; 2338b8dc3SIngo Weinhold 3e0d7d87fSAxel DörflerSetSubDirSupportedPlatforms r5 bone ; 4338b8dc3SIngo Weinhold 5338b8dc3SIngo WeinholdUseHeaders [ FStandardOSHeaders ] : true ; 6338b8dc3SIngo WeinholdUseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; 7338b8dc3SIngo Weinhold # TODO: POSIX headers shouldn't be used. Needed for strlcpy() and addr_t. 8338b8dc3SIngo Weinhold 9338b8dc3SIngo Weinhold# Remove _NO_INLINE_ASM from the defines for syslog.cpp. Otherwise we get 10338b8dc3SIngo Weinhold# references to tls_get/set() etc. that don't exist under BeOS. 11338b8dc3SIngo Weinhold#TARGET_DEFINES on [ FGristFiles syslog.o ] 12338b8dc3SIngo Weinhold# = [ FFilter $(TARGET_DEFINES) : _NO_INLINE_ASM ] ; 13ee5f6d23SStephan Aßmus 142826a379SIngo WeinholdUseLibraryHeaders agg png zlib ; 152826a379SIngo WeinholdUsePrivateHeaders app interface shared [ FDirName servers app ] ; 162826a379SIngo Weinhold 17338b8dc3SIngo Weinholdlocal appServerDir = [ FDirName $(HAIKU_TOP) src servers app ] ; 182826a379SIngo Weinhold 192826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing ] ; 202826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter ] ; 212826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter drawing_modes ] ; 222826a379SIngo WeinholdUseHeaders [ FDirName $(appServerDir) drawing Painter font_support ] ; 232826a379SIngo WeinholdUseFreeTypeHeaders ; 242826a379SIngo Weinhold 252826a379SIngo WeinholdSEARCH_SOURCE += $(appServerDir) [ FDirName $(appServerDir) drawing ] ; 262826a379SIngo Weinhold 272826a379SIngo Weinhold# No need to define any of those targets, when building for haiku 282826a379SIngo Weinholdif $(TARGET_PLATFORM) != haiku { 292826a379SIngo Weinhold 30338b8dc3SIngo WeinholdSharedLibrary libhwinterface.so : 312826a379SIngo Weinhold BBitmapBuffer.cpp 322826a379SIngo Weinhold HWInterface.cpp 332826a379SIngo Weinhold MultiLocker.cpp 342826a379SIngo Weinhold 352826a379SIngo Weinhold : libhaikuappserver.so libopenbeos.so 362826a379SIngo Weinhold; 372826a379SIngo Weinhold 382826a379SIngo Weinhold 392826a379SIngo Weinhold# The reason for this is that libhwinterfaceimpl.so needs to link against 402826a379SIngo Weinhold# libbe *first*, but simply adding it to the library list would add it to 412826a379SIngo Weinhold# LINKLIBS which is always appended after NEEDLIBS in the command line. 422826a379SIngo WeinholdLINKFLAGS on libhwinterfaceimpl.so ?= $(LINKFLAGS) ; 432826a379SIngo WeinholdLINKFLAGS on libhwinterfaceimpl.so += -lbe ; 442826a379SIngo Weinhold 45338b8dc3SIngo WeinholdSharedLibrary libhwinterfaceimpl.so : 462826a379SIngo Weinhold fake_input_server.cpp 472826a379SIngo Weinhold ViewHWInterface.cpp 482826a379SIngo Weinhold 492826a379SIngo Weinhold : libopenbeos.so libhwinterface.so 502826a379SIngo Weinhold; 512826a379SIngo Weinhold 52338b8dc3SIngo WeinholdSharedLibrary libhaikuappserver.so : 532826a379SIngo Weinhold Angle.cpp 542826a379SIngo Weinhold BGet++.cpp 552826a379SIngo Weinhold BitmapManager.cpp 562826a379SIngo Weinhold ColorSet.cpp 572826a379SIngo Weinhold CursorData.cpp 582826a379SIngo Weinhold CursorSet.cpp 59e0d7d87fSAxel Dörfler DesktopSettings.cpp 60aca4f50dSAxel Dörfler DrawState.cpp 612826a379SIngo Weinhold FontFamily.cpp 622826a379SIngo Weinhold IPoint.cpp 632826a379SIngo Weinhold RGBColor.cpp 642826a379SIngo Weinhold ServerBitmap.cpp 652826a379SIngo Weinhold ServerCursor.cpp 662826a379SIngo Weinhold ServerFont.cpp 674e141bc8SAxel Dörfler FontManager.cpp 682826a379SIngo Weinhold SystemPalette.cpp 692826a379SIngo Weinhold TokenHandler.cpp 702826a379SIngo Weinhold Utils.cpp 712826a379SIngo Weinhold 722826a379SIngo Weinhold # drawing 732826a379SIngo Weinhold PatternHandler.cpp 742826a379SIngo Weinhold 752826a379SIngo Weinhold # libraries 762826a379SIngo Weinhold : 77338b8dc3SIngo Weinhold libopenbeos.so libtextencoding.so libfreetype.so 782826a379SIngo Weinhold; 792826a379SIngo Weinhold 802826a379SIngo WeinholdAddResources haiku_app_server : app_server.rdef ; 812826a379SIngo Weinhold 822826a379SIngo WeinholdServer haiku_app_server : 832826a379SIngo Weinhold # Misc. Sources 84*e7869c4cSStephan Aßmus Decorator.cpp 852826a379SIngo Weinhold DebugInfoManager.cpp 862826a379SIngo Weinhold SubWindowList.cpp 87e0d7d87fSAxel Dörfler #PicturePlayer.cpp 882826a379SIngo Weinhold PNGDump.cpp 892826a379SIngo Weinhold RAMLinkMsgReader.cpp 902826a379SIngo Weinhold MessageLooper.cpp 912826a379SIngo Weinhold 922826a379SIngo Weinhold # Manager Classes 932826a379SIngo Weinhold CursorManager.cpp 942826a379SIngo Weinhold DecorManager.cpp 952826a379SIngo Weinhold ScreenManager.cpp 962826a379SIngo Weinhold 972826a379SIngo Weinhold AppServer.cpp 982826a379SIngo Weinhold Desktop.cpp 992826a379SIngo Weinhold 1002826a379SIngo Weinhold ServerApp.cpp 1012826a379SIngo Weinhold ServerWindow.cpp 1022826a379SIngo Weinhold 103fcd75d63SStephan Aßmus # DrawingEngine Classes 1042826a379SIngo Weinhold AccelerantBuffer.cpp 1052826a379SIngo Weinhold AccelerantHWInterface.cpp 1062826a379SIngo Weinhold BitmapBuffer.cpp 107fcd75d63SStephan Aßmus DrawingEngine.cpp 1082826a379SIngo Weinhold MallocBuffer.cpp 1092826a379SIngo Weinhold UpdateQueue.cpp 1102826a379SIngo Weinhold 1112826a379SIngo Weinhold VirtualScreen.cpp 1122826a379SIngo Weinhold BitmapHWInterface.cpp 1132826a379SIngo Weinhold DefaultDecorator.cpp 1142826a379SIngo Weinhold Layer.cpp 1152826a379SIngo Weinhold OffscreenServerWindow.cpp 1162826a379SIngo Weinhold OffscreenWinBorder.cpp 1172826a379SIngo Weinhold RootLayer.cpp 1182826a379SIngo Weinhold ServerPicture.cpp 1192826a379SIngo Weinhold ServerScreen.cpp 1202826a379SIngo Weinhold WinBorder.cpp 1212826a379SIngo Weinhold Workspace.cpp 1222826a379SIngo Weinhold WorkspacesLayer.cpp 1232826a379SIngo Weinhold 1242826a379SIngo Weinhold # libraries 1252826a379SIngo Weinhold : 126338b8dc3SIngo Weinhold z libpng.so libhaikuappserver.so 127338b8dc3SIngo Weinhold libpainter.a libopenbeos.so 1282826a379SIngo Weinhold libhwinterface.so libhwinterfaceimpl.so 1292826a379SIngo Weinhold libagg.a libfreetype.so libtextencoding.so 1302826a379SIngo Weinhold; 1312826a379SIngo Weinhold 132338b8dc3SIngo Weinhold# install in the test dir 133338b8dc3SIngo WeinholdHaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR) 134338b8dc3SIngo Weinhold : libpng.so libhaikuappserver.so libopenbeos.so libhwinterface.so 135338b8dc3SIngo Weinhold libhwinterfaceimpl.so libfreetype.so libtextencoding.so 136338b8dc3SIngo Weinhold : tests!apps ; 137338b8dc3SIngo Weinhold 138338b8dc3SIngo WeinholdHaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : haiku_app_server 139338b8dc3SIngo Weinhold : tests!apps ; 140338b8dc3SIngo Weinhold 1412826a379SIngo Weinhold} # if $(TARGET_PLATFORM) != haiku 1422826a379SIngo Weinhold 143338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app bitmap_drawing ; 144338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app copy_bits ; 145338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app painter ; 146338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app playground ; 147338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app resize_limits ; 148338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app scrolling ; 149338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app textview ; 150338b8dc3SIngo WeinholdSubInclude HAIKU_TOP src tests servers app regularapps ; 151e0d7d87fSAxel DörflerSubInclude HAIKU_TOP src tests servers app view_state ; 152