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