Build netserver too, and install netperf scripts too...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6491 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
SubDir OBOS_TOP src tests kits net netperf ;
|
SubDir OBOS_TOP src tests kits net netperf ;
|
||||||
|
|
||||||
|
Depends netperf : install_netperf_scripts ;
|
||||||
|
|
||||||
SimpleTest netperf :
|
SimpleTest netperf :
|
||||||
netperf.c
|
netperf.c
|
||||||
netsh.c
|
netsh.c
|
||||||
@@ -11,4 +13,30 @@ SimpleTest netperf :
|
|||||||
nettest_ipv6.c
|
nettest_ipv6.c
|
||||||
nettest_dns.c
|
nettest_dns.c
|
||||||
: net
|
: net
|
||||||
;
|
;
|
||||||
|
|
||||||
|
SimpleTest netserver :
|
||||||
|
netserver.c
|
||||||
|
netsh.c
|
||||||
|
netlib.c
|
||||||
|
nettest_bsd.c
|
||||||
|
nettest_dlpi.c
|
||||||
|
nettest_unix.c
|
||||||
|
nettest_xti.c
|
||||||
|
nettest_ipv6.c
|
||||||
|
nettest_dns.c
|
||||||
|
: net
|
||||||
|
;
|
||||||
|
|
||||||
|
OBOSInstall install_netperf_scripts : [ FDirName $(OBOS_TEST_DIR) kits net netperf ] :
|
||||||
|
snapshot_script
|
||||||
|
tcp_range_script
|
||||||
|
tcp_rr_script
|
||||||
|
tcp_stream_script
|
||||||
|
udp_rr_script
|
||||||
|
udp_stream_script
|
||||||
|
packet_byte_script
|
||||||
|
arr_script
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -70,9 +70,9 @@ char netserver_id[]="\
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#if !defined(WIN32) && !defined(__VMS)
|
#if !defined(WIN32) && !defined(__VMS) && !defined(__BEOS__)
|
||||||
#include <sys/ipc.h>
|
#include <sys/ipc.h>
|
||||||
#endif /* !defined(WIN32) && !defined(__VMS) */
|
#endif /* !defined(WIN32) && !defined(__VMS) && !defined(__BEOS__) */
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user