xref: /haiku/src/tests/add-ons/kernel/network/Jamfile (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
1SubDir HAIKU_TOP src tests add-ons kernel network ;
2
3UsePrivateHeaders net ;
4
5# the network stack tester app
6
7SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system libroot os ] ;
8
9SimpleTest net_stack_tester :
10	net_stack_tester.cpp
11	userland_ipc.c
12	userland_modules.cpp
13	: be
14;
15
16{
17	# symlink the userland add-ons dir to the dir where the net_stack_tester
18	# lives
19# TODO: We don't have a "distro" tree (including the add-on dir) anymore.
20	local dir = [ on net_stack_tester return $(LOCATE) ] ;
21# 	MakeLocate <network-add-ons>userland : $(HAIKU_ADDON_DIR) ;
22# 	MakeLocate <network-add-ons>add-ons : $(dir) ;
23# 	RelSymLink <network-add-ons>add-ons : <network-add-ons>userland : false ;
24
25	# alias for the net_stack_tester the modules link against
26	LOCATE on <installed>net_stack_tester = $(dir) ;
27# 	Depends <installed>net_stack_tester
28# 		: net_stack_tester <network-add-ons>add-ons ;
29}
30
31# for convenience: this target builds all userland modules
32NotFile userland_network_modules ;
33Depends userland_network_modules :
34	# the stack main module
35	<userland>core
36
37	# interfaces modules
38	<userland>loopback
39	<userland>ethernet
40	<userland>ppp
41
42	# ppp modules
43	<userland>ipcp
44	<userland>modem
45	<userland>pap
46	<userland>pppoe
47
48	# protocols modules
49	<userland>raw
50	<userland>route
51	<userland>ipv4
52	<userland>icmp
53	<userland>udp
54	<userland>tcp
55;
56
57SubInclude HAIKU_TOP src tests add-ons kernel network core ;
58SubInclude HAIKU_TOP src tests add-ons kernel network interfaces ;
59SubInclude HAIKU_TOP src tests add-ons kernel network ppp ;
60SubInclude HAIKU_TOP src tests add-ons kernel network protocols ;
61