1SubDir OBOS_TOP src tests add-ons kernel network ; 2 3UsePrivateHeaders net ; 4 5# the network stack tester app 6 7SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src kernel 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 local dir = [ on net_stack_tester return $(LOCATE) ] ; 20 MakeLocate <network-add-ons>userland : $(OBOS_ADDON_DIR) ; 21 MakeLocate <network-add-ons>add-ons : $(dir) ; 22 RelSymLink <network-add-ons>add-ons : <network-add-ons>userland ; 23 24 # alias for the net_stack_tester the modules link against 25 LOCATE on <installed>net_stack_tester = $(dir) ; 26 Depends <installed>net_stack_tester 27 : net_stack_tester <network-add-ons>add-ons ; 28} 29 30# for convenience: this target builds all userland modules 31 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>pppoe 44 45 # protocols modules 46 <userland>raw 47 <userland>ipv4 48 <userland>icmp 49 <userland>udp 50 <userland>tcp 51; 52 53SubInclude OBOS_TOP src tests add-ons kernel network core ; 54SubInclude OBOS_TOP src tests add-ons kernel network interfaces ; 55SubInclude OBOS_TOP src tests add-ons kernel network ppp ; 56SubInclude OBOS_TOP src tests add-ons kernel network protocols ; 57