1 SubDir HAIKU_TOP src tests servers app ;
3 UsePrivateHeaders app graphics input interface shared storage ;
5 SimpleTest app_server_debug :
10 SetSubDirSupportedPlatforms libbe_test ;
12 # No need to define any of those targets, when not building for libbe_test
13 if $(TARGET_PLATFORM) = libbe_test {
15 UseLibraryHeaders agg png ;
16 UseBuildFeatureHeaders zlib ;
17 UsePrivateHeaders [ FDirName graphics common ] ;
19 # headers/build/private/kernel is needed for safemode.h and syscalls.h.
20 # headers/private/kernel for the util/* stuff.
21 UseHeaders [ FDirName $(HAIKU_TOP) headers build private kernel ] : true ;
22 UsePrivateHeaders kernel support ;
24 local appServerDir = [ FDirName $(HAIKU_TOP) src servers app ] ;
26 UseHeaders [ FDirName $(appServerDir) decorator ] ;
27 UseHeaders [ FDirName $(appServerDir) drawing ] ;
28 UseHeaders [ FDirName $(appServerDir) drawing interface html5 ] ;
29 UseHeaders [ FDirName $(appServerDir) drawing interface remote ] ;
30 UseHeaders [ FDirName $(appServerDir) drawing Painter ] ;
31 UseHeaders [ FDirName $(appServerDir) drawing Painter drawing_modes ] ;
32 UseHeaders [ FDirName $(appServerDir) drawing Painter font_support ] ;
33 UseHeaders [ FDirName $(appServerDir) font ] ;
34 UseHeaders [ FDirName $(appServerDir) stackandtile ] ;
35 UseBuildFeatureHeaders freetype ;
36 UseLibraryHeaders agg lp_solve linprog ;
38 # This overrides the definitions in private/servers/app/ServerConfig.h
39 local defines = [ FDefines TEST_MODE=1 ] ;
40 # USE_DIRECT_WINDOW_TEST_MODE=1
42 SubDirCcFlags $(defines) ; #-finstrument-functions ; #-fcheck-memory-usage -D_NO_INLINE_ASM ;
43 SubDirC++Flags $(defines) ; #-finstrument-functions ; #-fcheck-memory-usage -D_NO_INLINE_ASM ;
45 SEARCH_SOURCE += $(appServerDir) ;
46 SEARCH_SOURCE += [ FDirName $(appServerDir) decorator ] ;
47 SEARCH_SOURCE += [ FDirName $(appServerDir) drawing ] ;
48 SEARCH_SOURCE += [ FDirName $(appServerDir) drawing Painter ] ;
49 SEARCH_SOURCE += [ FDirName $(appServerDir) font ] ;
51 SharedLibrary libhwinterface.so :
62 # The reason for this is that libhwinterfaceimpl.so needs to link against
63 # libbe *first*, but simply adding it to the library list would add it to
64 # LINKLIBS which is always appended after NEEDLIBS in the command line.
65 LINKFLAGS on libhwinterfaceimpl.so ?= $(LINKFLAGS) ;
66 LINKFLAGS on libhwinterfaceimpl.so += -lbe ;
68 SharedLibrary libhwinterfaceimpl.so :
70 DWindowHWInterface.cpp
81 DefaultWindowBehaviour.cpp
96 # These files are shared between the test_app_server and the libhwintreface, so
97 # they can talk together.
98 SharedLibrary libtestappserver.so :
100 ClientMemoryAllocator.cpp
109 GlobalSubpixelSettings.cpp
127 ProfileMessageSupport.cpp
130 TestServerLoopAdapter.cpp
146 # DrawingEngine Classes
147 # AccelerantBuffer.cpp
148 # AccelerantHWInterface.cpp
150 BitmapDrawingEngine.cpp
156 BitmapHWInterface.cpp
160 OffscreenServerWindow.cpp
162 PictureBoundingBoxPlayer.cpp
165 ScreenConfigurations.cpp
175 : be libpainter.a libagg.a libtextencoding.so shared libstackandtile.a
177 [ BuildFeatureAttribute freetype : library ]
180 Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp
181 ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp
182 DrawState.cpp DrawingEngine.cpp ServerApp.cpp
183 ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp ServerPicture.cpp
184 ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp
185 $(decorator_src) $(font_src) ]
186 : [ BuildFeatureAttribute freetype : headers ] ;
189 AddResources test_app_server : test_app_server.rdef ;
191 Server test_app_server :
198 [ BuildFeatureAttribute zlib : library ] libtestappserver.so be
199 libhwinterface.so libhwinterfaceimpl.so libtextencoding.so
200 [ BuildFeatureAttribute freetype : library ]
201 [ TargetLibstdc++ ] [ TargetLibsupc++ ]
204 # install in the test dir
205 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR)
206 : libtestappserver.so libbe_test.so
207 libhwinterface.so libhwinterfaceimpl.so libtextencoding.so
210 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : test_app_server
213 } # if $(TARGET_PLATFORM) = libbe_test
215 SubInclude HAIKU_TOP src tests servers app archived_view ;
216 SubInclude HAIKU_TOP src tests servers app async_drawing ;
217 SubInclude HAIKU_TOP src tests servers app avoid_focus ;
218 SubInclude HAIKU_TOP src tests servers app benchmark ;
219 SubInclude HAIKU_TOP src tests servers app bitmap_bounds ;
220 SubInclude HAIKU_TOP src tests servers app bitmap_drawing ;
221 SubInclude HAIKU_TOP src tests servers app code_to_name ;
222 SubInclude HAIKU_TOP src tests servers app clip_to_picture ;
223 SubInclude HAIKU_TOP src tests servers app constrain_clipping_region ;
224 SubInclude HAIKU_TOP src tests servers app copy_bits ;
225 SubInclude HAIKU_TOP src tests servers app cursor_test ;
226 SubInclude HAIKU_TOP src tests servers app desktop_window ;
227 SubInclude HAIKU_TOP src tests servers app draw_after_children ;
228 SubInclude HAIKU_TOP src tests servers app draw_string_offsets ;
229 SubInclude HAIKU_TOP src tests servers app drawing_debugger ;
230 SubInclude HAIKU_TOP src tests servers app drawing_modes ;
231 SubInclude HAIKU_TOP src tests servers app event_mask ;
232 SubInclude HAIKU_TOP src tests servers app find_view ;
233 SubInclude HAIKU_TOP src tests servers app following ;
234 SubInclude HAIKU_TOP src tests servers app font_spacing ;
235 SubInclude HAIKU_TOP src tests servers app gradients ;
236 SubInclude HAIKU_TOP src tests servers app hide_and_show ;
237 SubInclude HAIKU_TOP src tests servers app idle_test ;
238 SubInclude HAIKU_TOP src tests servers app lagging_get_mouse ;
239 SubInclude HAIKU_TOP src tests servers app lock_focus ;
240 SubInclude HAIKU_TOP src tests servers app look_and_feel ;
241 SubInclude HAIKU_TOP src tests servers app menu_crash ;
242 SubInclude HAIKU_TOP src tests servers app no_pointer_history ;
243 SubInclude HAIKU_TOP src tests servers app painter ;
244 SubInclude HAIKU_TOP src tests servers app playground ;
245 SubInclude HAIKU_TOP src tests servers app pulsed_drawing ;
246 SubInclude HAIKU_TOP src tests servers app regularapps ;
247 SubInclude HAIKU_TOP src tests servers app resize_limits ;
248 SubInclude HAIKU_TOP src tests servers app scrollbar ;
249 SubInclude HAIKU_TOP src tests servers app scrolling ;
250 SubInclude HAIKU_TOP src tests servers app shape_test ;
251 SubInclude HAIKU_TOP src tests servers app stacktile ;
252 SubInclude HAIKU_TOP src tests servers app statusbar ;
253 SubInclude HAIKU_TOP src tests servers app stress_test ;
254 SubInclude HAIKU_TOP src tests servers app textview ;
255 SubInclude HAIKU_TOP src tests servers app transformation ;
256 SubInclude HAIKU_TOP src tests servers app unit_tests ;
257 SubInclude HAIKU_TOP src tests servers app view_state ;
258 SubInclude HAIKU_TOP src tests servers app view_transit ;
259 SubInclude HAIKU_TOP src tests servers app window_creation ;
260 SubInclude HAIKU_TOP src tests servers app window_invalidation ;
261 SubInclude HAIKU_TOP src tests servers app workspace_activated ;
262 SubInclude HAIKU_TOP src tests servers app workspace_switcher ;