gcc/libgo/go/net
Ian Lance Taylor e0f69f36ea libgo: change build procedure to use build tags
Previously the libgo Makefile explicitly listed the set of files to
    compile for each package.  For packages that use build tags, this
    required a lot of awkward automake conditionals in the Makefile.
    
    This CL changes the build to look at the build tags in the files.
    The new shell script libgo/match.sh does the matching.  This required
    adjusting a lot of build tags, and removing some files that are never
    used.  I verified that the exact same sets of files are compiled on
    amd64 GNU/Linux.  I also tested the build on i386 Solaris.
    
    Writing match.sh revealed some bugs in the build tag handling that
    already exists, in a slightly different form, in the gotest shell
    script.  This CL fixes those problems as well.
    
    The old code used automake conditionals to handle systems that were
    missing strerror_r and wait4.  Rather than deal with those in Go, those
    functions are now implemented in runtime/go-nosys.c when necessary, so
    the Go code can simply assume that they exist.
    
    The os testsuite looked for dir_unix.go, which was never built for gccgo
    and has now been removed.  I changed the testsuite to look for dir.go
    instead.
    
    Reviewed-on: https://go-review.googlesource.com/25546

From-SVN: r239189
2016-08-06 00:36:33 +00:00
..
http
internal/socktest
mail
rpc
smtp
testdata
textproto
url
addrselect_test.go
addrselect.go
cgo_android.go
cgo_bsd.go
cgo_linux.go
cgo_netbsd.go
cgo_openbsd.go
cgo_resnew.go
cgo_resold.go
cgo_socknew.go
cgo_sockold.go
cgo_solaris.go
cgo_stub.go
cgo_unix_test.go
cgo_unix.go
cgo_windows.go
conf_netcgo.go
conf_test.go
conf.go
conn_test.go
dial_test.go
dial.go
dnsclient_test.go
dnsclient_unix_test.go
dnsclient_unix.go
dnsclient.go
dnsconfig_unix_test.go
dnsconfig_unix.go
dnsmsg_test.go
dnsmsg.go
dnsname_test.go
error_plan9_test.go
error_posix_test.go
error_test.go
error_unix_test.go
error_windows_test.go
external_test.go
fd_mutex_test.go
fd_mutex.go
fd_plan9.go
fd_poll_nacl.go
fd_poll_runtime.go
fd_posix_test.go
fd_posix.go
fd_unix.go
fd_windows.go
file_plan9.go
file_stub.go
file_test.go
file_unix.go
file_windows.go
file.go
hook_cloexec.go
hook_plan9.go
hook_unix.go
hook_windows.go
hook.go
hosts_test.go
hosts_testdata
hosts.go
interface_bsd.go
interface_bsdvar.go
interface_darwin.go
interface_freebsd.go
interface_linux.go
interface_stub.go
interface_test.go
interface_windows_test.go
interface_windows.go
interface.go
ip_test.go
ip.go
iprawsock_plan9.go
iprawsock_posix.go
iprawsock_test.go
iprawsock.go
ipsock_plan9.go
ipsock_posix.go
ipsock_test.go
ipsock.go
listen_test.go
lookup_plan9.go
lookup_stub.go
lookup_test.go
lookup_unix.go
lookup_windows.go
lookup.go
mac_test.go
mac.go
main_cloexec_test.go
main_conf_test.go
main_noconf_test.go
main_plan9_test.go
main_posix_test.go
main_test.go
main_unix_test.go
main_windows_test.go
mockserver_test.go
net_test.go
net.go
newpollserver_rtems.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
nss_test.go
nss.go
packetconn_test.go
parse_test.go
parse.go
pipe_test.go
pipe.go
platform_test.go
port_test.go
port_unix.go
port.go
protoconn_test.go
sendfile_dragonfly.go
sendfile_freebsd.go
sendfile_linux.go
sendfile_solaris.go
sendfile_stub.go
sendfile_test.go
sendfile_windows.go
server_test.go
sock_bsd.go
sock_cloexec.go
sock_linux.go
sock_plan9.go
sock_posix.go
sock_stub.go
sock_windows.go
sockopt_bsd.go
sockopt_linux.go
sockopt_plan9.go
sockopt_posix.go
sockopt_solaris.go
sockopt_stub.go
sockopt_windows.go
sockoptip_bsd.go
sockoptip_linux.go
sockoptip_posix.go
sockoptip_stub.go
sockoptip_windows.go
sys_cloexec.go
tcpsock_plan9.go
tcpsock_posix.go
tcpsock_test.go
tcpsock_unix_test.go
tcpsock.go
tcpsockopt_darwin.go
tcpsockopt_dragonfly.go
tcpsockopt_openbsd.go
tcpsockopt_plan9.go
tcpsockopt_posix.go
tcpsockopt_solaris.go
tcpsockopt_stub.go
tcpsockopt_unix.go
tcpsockopt_windows.go
timeout_test.go
udpsock_plan9.go
udpsock_posix.go
udpsock_test.go
udpsock.go
unixsock_plan9.go
unixsock_posix.go
unixsock_test.go
unixsock.go