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
110 GlobalSubpixelSettings.cpp
128 ProfileMessageSupport.cpp
131 TestServerLoopAdapter.cpp
147 # DrawingEngine Classes
148 # AccelerantBuffer.cpp
149 # AccelerantHWInterface.cpp
151 BitmapDrawingEngine.cpp
157 BitmapHWInterface.cpp
161 OffscreenServerWindow.cpp
163 PictureBoundingBoxPlayer.cpp
166 ScreenConfigurations.cpp
176 : be libpainter.a libagg.a libtextencoding.so shared libstackandtile.a
178 [ BuildFeatureAttribute freetype : library ]
181 Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp
182 ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp
183 DrawState.cpp DrawingEngine.cpp ServerApp.cpp
184 ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp ServerPicture.cpp
185 ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp
186 $(decorator_src) $(font_src) ]
187 : [ BuildFeatureAttribute freetype : headers ] ;
190 AddResources test_app_server : test_app_server.rdef ;
192 Server test_app_server :
199 [ BuildFeatureAttribute zlib : library ] libtestappserver.so be
200 libhwinterface.so libhwinterfaceimpl.so libtextencoding.so
201 [ BuildFeatureAttribute freetype : library ]
202 [ TargetLibstdc++ ] [ TargetLibsupc++ ]
205 # install in the test dir
206 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_LIB_DIR)
207 : libtestappserver.so libbe_test.so
208 libhwinterface.so libhwinterfaceimpl.so libtextencoding.so
211 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : test_app_server
214 } # if $(TARGET_PLATFORM) = libbe_test
216 SubInclude HAIKU_TOP src tests servers app archived_view ;
217 SubInclude HAIKU_TOP src tests servers app async_drawing ;
218 SubInclude HAIKU_TOP src tests servers app avoid_focus ;
219 SubInclude HAIKU_TOP src tests servers app benchmark ;
220 SubInclude HAIKU_TOP src tests servers app bitmap_bounds ;
221 SubInclude HAIKU_TOP src tests servers app bitmap_drawing ;
222 SubInclude HAIKU_TOP src tests servers app code_to_name ;
223 SubInclude HAIKU_TOP src tests servers app clip_to_picture ;
224 SubInclude HAIKU_TOP src tests servers app constrain_clipping_region ;
225 SubInclude HAIKU_TOP src tests servers app copy_bits ;
226 SubInclude HAIKU_TOP src tests servers app cursor_test ;
227 SubInclude HAIKU_TOP src tests servers app desktop_window ;
228 SubInclude HAIKU_TOP src tests servers app draw_after_children ;
229 SubInclude HAIKU_TOP src tests servers app draw_string_offsets ;
230 SubInclude HAIKU_TOP src tests servers app drawing_debugger ;
231 SubInclude HAIKU_TOP src tests servers app drawing_modes ;
232 SubInclude HAIKU_TOP src tests servers app event_mask ;
233 SubInclude HAIKU_TOP src tests servers app find_view ;
234 SubInclude HAIKU_TOP src tests servers app following ;
235 SubInclude HAIKU_TOP src tests servers app font_spacing ;
236 SubInclude HAIKU_TOP src tests servers app gradients ;
237 SubInclude HAIKU_TOP src tests servers app hide_and_show ;
238 SubInclude HAIKU_TOP src tests servers app idle_test ;
239 SubInclude HAIKU_TOP src tests servers app lagging_get_mouse ;
240 SubInclude HAIKU_TOP src tests servers app lock_focus ;
241 SubInclude HAIKU_TOP src tests servers app look_and_feel ;
242 SubInclude HAIKU_TOP src tests servers app menu_crash ;
243 SubInclude HAIKU_TOP src tests servers app no_pointer_history ;
244 SubInclude HAIKU_TOP src tests servers app painter ;
245 SubInclude HAIKU_TOP src tests servers app playground ;
246 SubInclude HAIKU_TOP src tests servers app pulsed_drawing ;
247 SubInclude HAIKU_TOP src tests servers app regularapps ;
248 SubInclude HAIKU_TOP src tests servers app resize_limits ;
249 SubInclude HAIKU_TOP src tests servers app scrollbar ;
250 SubInclude HAIKU_TOP src tests servers app scrolling ;
251 SubInclude HAIKU_TOP src tests servers app shape_test ;
252 SubInclude HAIKU_TOP src tests servers app stacktile ;
253 SubInclude HAIKU_TOP src tests servers app statusbar ;
254 SubInclude HAIKU_TOP src tests servers app stress_test ;
255 SubInclude HAIKU_TOP src tests servers app textview ;
256 SubInclude HAIKU_TOP src tests servers app transformation ;
257 SubInclude HAIKU_TOP src tests servers app unit_tests ;
258 SubInclude HAIKU_TOP src tests servers app view_state ;
259 SubInclude HAIKU_TOP src tests servers app view_transit ;
260 SubInclude HAIKU_TOP src tests servers app window_creation ;
261 SubInclude HAIKU_TOP src tests servers app window_invalidation ;
262 SubInclude HAIKU_TOP src tests servers app workspace_activated ;
263 SubInclude HAIKU_TOP src tests servers app workspace_switcher ;