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