SubDir OBOS_TOP src tests add-ons kernel network ; UsePrivateHeaders net ; # the network stack tester app SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src kernel libroot os ] ; SimpleTest net_stack_tester : net_stack_tester.cpp userland_ipc.c userland_modules.cpp : be ; { # symlink the userland add-ons dir to the dir where the net_stack_tester # lives local dir = [ on net_stack_tester return $(LOCATE) ] ; MakeLocate userland : $(OBOS_ADDON_DIR) ; MakeLocate add-ons : $(dir) ; RelSymLink add-ons : userland : false ; # alias for the net_stack_tester the modules link against LOCATE on net_stack_tester = $(dir) ; Depends net_stack_tester : net_stack_tester add-ons ; } # for convenience: this target builds all userland modules NotFile userland_network_modules ; Depends userland_network_modules : # the stack main module core # interfaces modules loopback ethernet ppp # ppp modules ipcp modem pap pppoe # protocols modules raw route ipv4 icmp udp tcp ; SubInclude OBOS_TOP src tests add-ons kernel network core ; SubInclude OBOS_TOP src tests add-ons kernel network interfaces ; SubInclude OBOS_TOP src tests add-ons kernel network ppp ; SubInclude OBOS_TOP src tests add-ons kernel network protocols ;