diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-09-13 13:13:40 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-09-13 13:13:40 +0200 |
commit | 5ff4c17907d5b19510a62e08fd8d3b11e62b431d (patch) | |
tree | c0650497e988f47be9c6f2324fa692a52dea82e1 /src/pkg/net/Makefile | |
parent | 80f18fc933cf3f3e829c5455a1023d69f7b86e52 (diff) | |
download | golang-upstream/60.tar.gz |
Imported Upstream version 60upstream/60
Diffstat (limited to 'src/pkg/net/Makefile')
-rw-r--r-- | src/pkg/net/Makefile | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/src/pkg/net/Makefile b/src/pkg/net/Makefile new file mode 100644 index 000000000..eba9e26d9 --- /dev/null +++ b/src/pkg/net/Makefile @@ -0,0 +1,157 @@ +# Copyright 2009 The Go Authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +include ../../Make.inc + +TARG=net +GOFILES=\ + dial.go\ + dnsclient.go\ + dnsmsg.go\ + hosts.go\ + interface.go\ + ip.go\ + iprawsock.go\ + ipsock.go\ + net.go\ + parse.go\ + pipe.go\ + tcpsock.go\ + udpsock.go\ + unixsock.go\ + +GOFILES_freebsd=\ + dnsclient_unix.go\ + dnsconfig.go\ + fd.go\ + fd_$(GOOS).go\ + file.go\ + interface_bsd.go\ + interface_freebsd.go\ + iprawsock_posix.go\ + ipsock_posix.go\ + lookup_unix.go\ + newpollserver.go\ + port.go\ + sendfile_stub.go\ + sock.go\ + sock_bsd.go\ + tcpsock_posix.go\ + udpsock_posix.go\ + unixsock_posix.go\ + +ifeq ($(CGO_ENABLED),1) +CGOFILES_freebsd=\ + cgo_bsd.go\ + cgo_unix.go +else +GOFILES_freebsd+=cgo_stub.go +endif + +GOFILES_darwin=\ + dnsclient_unix.go\ + dnsconfig.go\ + fd.go\ + fd_$(GOOS).go\ + file.go\ + interface_bsd.go\ + interface_darwin.go\ + iprawsock_posix.go\ + ipsock_posix.go\ + lookup_unix.go\ + newpollserver.go\ + port.go\ + sendfile_stub.go\ + sock.go\ + sock_bsd.go\ + tcpsock_posix.go\ + udpsock_posix.go\ + unixsock_posix.go\ + +ifeq ($(CGO_ENABLED),1) +CGOFILES_darwin=\ + cgo_bsd.go\ + cgo_unix.go +else +GOFILES_darwin+=cgo_stub.go +endif + +GOFILES_linux=\ + dnsclient_unix.go\ + dnsconfig.go\ + fd.go\ + fd_$(GOOS).go\ + file.go\ + interface_linux.go\ + iprawsock_posix.go\ + ipsock_posix.go\ + lookup_unix.go\ + newpollserver.go\ + port.go\ + sendfile_linux.go\ + sock.go\ + sock_linux.go\ + tcpsock_posix.go\ + udpsock_posix.go\ + unixsock_posix.go\ + +ifeq ($(CGO_ENABLED),1) +CGOFILES_linux=\ + cgo_linux.go\ + cgo_unix.go +else +GOFILES_linux+=cgo_stub.go +endif + +GOFILES_openbsd=\ + dnsclient_unix.go\ + dnsconfig.go\ + fd.go\ + fd_$(GOOS).go\ + file.go\ + interface_bsd.go\ + interface_openbsd.go\ + iprawsock_posix.go\ + ipsock_posix.go\ + lookup_unix.go\ + newpollserver.go\ + port.go\ + sendfile_stub.go\ + sock.go\ + sock_bsd.go\ + tcpsock_posix.go\ + udpsock_posix.go\ + unixsock_posix.go\ + cgo_stub.go\ + +GOFILES_plan9=\ + file_plan9.go\ + interface_stub.go\ + iprawsock_plan9.go\ + ipsock_plan9.go\ + lookup_plan9.go\ + tcpsock_plan9.go\ + udpsock_plan9.go\ + unixsock_plan9.go\ + +GOFILES_windows=\ + fd_$(GOOS).go\ + file_windows.go\ + interface_windows.go\ + iprawsock_posix.go\ + ipsock_posix.go\ + lookup_windows.go\ + sendfile_windows.go\ + sock.go\ + sock_windows.go\ + tcpsock_posix.go\ + udpsock_posix.go\ + unixsock_posix.go\ + +GOFILES+=$(GOFILES_$(GOOS)) +ifneq ($(CGOFILES_$(GOOS)),) +CGOFILES+=$(CGOFILES_$(GOOS)) +endif + +include ../../Make.pkg |