xref: /haiku/src/tests/servers/launch/Jamfile (revision 4bd0c1066b227cec4b79883bdef697c7a27f2e90)
1SubDir HAIKU_TOP src tests servers launch ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UsePrivateHeaders app libroot shared storage support ;
6UsePrivateSystemHeaders ;
7
8UseHeaders [ FDirName $(HAIKU_TOP) src bin multiuser ] ;
9
10SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src servers launch ] ;
11SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits app ] ;
12SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin ] ;
13
14UnitTestLib liblaunch_daemontest.so :
15	LaunchDaemonTestAddon.cpp
16
17	SettingsParserTest.cpp
18	ConditionsTest.cpp
19	UtilityTest.cpp
20
21	# from the launch_daemon
22	NetworkWatcher.cpp
23	SettingsParser.cpp
24	Conditions.cpp
25	Utility.cpp
26
27	: be network bnetapi shared [ TargetLibstdc++ ] [ TargetLibsupc++ ]
28;
29
30local defines = [ FDefines TEST_MODE=1 ] ;
31
32SubDirCcFlags $(defines) ;
33SubDirC++Flags $(defines) ;
34
35Server test_launch_daemon :
36	LaunchDaemon.cpp
37
38	BaseJob.cpp
39	Conditions.cpp
40	Events.cpp
41	Job.cpp
42	NetworkWatcher.cpp
43	SettingsParser.cpp
44	Target.cpp
45	Utility.cpp
46	VolumeWatcher.cpp
47	Worker.cpp
48	:
49	be network bnetapi shared libmultiuser_utils.a [ TargetLibstdc++ ]
50	:
51	LaunchDaemon.rdef
52;
53
54BinCommand test_launch_roster :
55	LaunchRoster.cpp
56	launch_roster.cpp
57	:
58	be
59;
60