1SubDir HAIKU_TOP src tests servers registrar ; 2 3SetSubDirSupportedPlatforms libbe_test ; 4 5UsePublicHeaders [ FDirName add-ons registrar ] ; 6UseArchHeaders $(TARGET_ARCH) ; 7 8 9SimpleTest RegistrarTest1 10 : RegistrarTest1.cpp 11 : be 12; 13 14SimpleTest RosterShell 15 : RosterShell.cpp 16 : be stdc++.r4 17; 18 19SimpleTest message_deliverer_test : message_deliverer_test.cpp : be ; 20 21 22SimpleTest run_haiku_registrar 23 : run_haiku_registrar.cpp 24 : be 25; 26 27# a shutdown working with the emulation under R5 28UsePrivateHeaders app ; 29UsePrivateHeaders kernel ; 30 31SimpleTest <test>shutdown 32 : shutdown.cpp 33 : be ; 34 35SEARCH on [ FGristFiles shutdown.cpp ] = [ FDirName $(HAIKU_TOP) src bin ] ; 36 37# Two small test apps for testing the shutdown process. 38 39SimpleTest no_shutdown_reply 40 : no_shutdown_reply.cpp 41 : be 42; 43 44SimpleTest negative_shutdown_reply 45 : negative_shutdown_reply.cpp 46 : be 47; 48 49SimpleTest user_shutdown_reply 50 : user_shutdown_reply.cpp 51 : be 52; 53 54 55# the registrar itself 56 57UsePrivateHeaders app ; 58UsePrivateHeaders kernel ; 59UsePrivateHeaders shared ; 60UsePrivateHeaders storage ; 61UsePrivateHeaders tracker ; 62 63SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src servers registrar ] ; 64 65Server haiku_registrar 66 : 67 AppInfoList.cpp 68 AppInfoListMessagingTargetSet.cpp 69 Clipboard.cpp 70 ClipboardHandler.cpp 71 Event.cpp 72 EventMaskWatcher.cpp 73 EventQueue.cpp 74 MessageDeliverer.cpp 75 MessageEvent.cpp 76 MessageHandler.cpp 77 MessageRunnerManager.cpp 78 MessagingService.cpp 79 MIMEManager.cpp 80 PriorityMessageQueue.cpp 81 RecentApps.cpp 82 RecentEntries.cpp 83 Referenceable.cpp 84 Registrar.cpp 85 RosterAppInfo.cpp 86 RosterSettingsCharStream.cpp 87 ShutdownProcess.cpp 88 TextSnifferAddon.cpp 89 TRoster.cpp 90 Watcher.cpp 91 WatchingService.cpp 92 93 R5Compatibility.cpp 94 : 95 be 96 $(TARGET_LIBSTDC++) 97 : 98 registrar.rdef 99; 100 101if $(TARGET_PLATFORM) = libbe_test { 102 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : haiku_registrar 103 : tests!apps ; 104 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : run_haiku_registrar 105 : tests!apps ; 106} 107