SubDir HAIKU_TOP src tests add-ons kernel network ; UsePrivateHeaders net ; # the network stack tester app SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src system 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 # TODO: We don't have a "distro" tree (including the add-on dir) anymore. local dir = [ on net_stack_tester return $(LOCATE) ] ; # MakeLocate userland : $(HAIKU_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 HAIKU_TOP src tests add-ons kernel network core ; SubInclude HAIKU_TOP src tests add-ons kernel network interfaces ; SubInclude HAIKU_TOP src tests add-ons kernel network ppp ; SubInclude HAIKU_TOP src tests add-ons kernel network protocols ;