1SubDir HAIKU_TOP src tests kits net ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5SubDirHdrs [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems fs_shell ] ; 6SubDirHdrs [ FDirName $(HAIKU_TOP) src add-ons kernel network protocols tcp ] ; 7SubDirHdrs [ FDirName $(HAIKU_TOP) src add-ons kernel network stack ] ; 8UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ; 9UsePrivateHeaders net ; 10 11# bonefish: Tried to get the first test compiling. It complained about not 12# being able to find some headers, thus I added the respective include dirs 13# until it was asking for headers we currently don't have 14# (sys/select.h, sys/sockio.h). 15 16#SubDirHdrs [ FDirName $(HAIKU_TOP) headers posix sys ] ; 17#SubDirHdrs [ FDirName $(HAIKU_TOP) headers posix net ] ; 18#UsePrivateHeaders kernel ; 19#UseArchHeaders $(TARGET_ARCH) ; 20 21SimpleTest udp_client : udp_client.c : $(NETWORK_LIBS) ; 22SimpleTest udp_echo : udp_echo.c : $(NETWORK_LIBS) ; 23SimpleTest udp_server : udp_server.c : $(NETWORK_LIBS) ; 24 25SimpleTest tcp_server : tcp_server.c : $(NETWORK_LIBS) ; 26SimpleTest tcp_client : tcp_client.c : $(NETWORK_LIBS) ; 27 28SimpleTest tcp_tester : 29 tcp_tester.cpp 30 31 # stack 32 net_buffer.cpp 33 utility.cpp 34 35 # tcp 36 tcp.cpp 37 TCPEndpoint.cpp 38 BufferQueue.cpp 39 EndpointManager.cpp 40 41 # misc 42 argv.c 43 ipv4_address.cpp 44 45 : be libkernelland_emu.so 46; 47 48SEARCH on [ FGristFiles 49 tcp.cpp TCPEndpoint.cpp BufferQueue.cpp EndpointManager.cpp 50 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network protocols tcp ] ; 51 52SEARCH on [ FGristFiles 53 ipv4_address.cpp 54 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network protocols ipv4 ] ; 55 56SEARCH on [ FGristFiles 57 net_buffer.cpp utility.cpp 58 ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network stack ] ; 59 60SEARCH on [ FGristFiles 61 argv.c 62 ] = [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems fs_shell ] ; 63 64SubInclude HAIKU_TOP src tests kits net DialUpPreflet ; 65SubInclude HAIKU_TOP src tests kits net netperf ; 66# SubInclude HAIKU_TOP src tests kits net new_stack ; 67SubInclude HAIKU_TOP src tests kits net preflet ; 68