xref: /haiku/src/tests/servers/launch/Jamfile (revision 68ea01249e1e2088933cb12f9c28d4e5c5d1c9ef)
1SubDir HAIKU_TOP src tests servers launch ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UsePrivateHeaders app kernel 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	Log.cpp
43	NetworkWatcher.cpp
44	SettingsParser.cpp
45	Target.cpp
46	Utility.cpp
47	VolumeWatcher.cpp
48	Worker.cpp
49	:
50	be network bnetapi shared libmultiuser_utils.a [ TargetLibstdc++ ]
51	:
52	LaunchDaemon.rdef
53;
54
55BinCommand test_launch_roster :
56	LaunchRoster.cpp
57	launch_roster.cpp
58	:
59	be
60;
61