summaryrefslogtreecommitdiff
path: root/src/pkg/net/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/Makefile')
-rw-r--r--src/pkg/net/Makefile39
1 files changed, 28 insertions, 11 deletions
diff --git a/src/pkg/net/Makefile b/src/pkg/net/Makefile
index 221871cb1..5472df392 100644
--- a/src/pkg/net/Makefile
+++ b/src/pkg/net/Makefile
@@ -10,6 +10,7 @@ GOFILES=\
dnsmsg.go\
fd_$(GOOS).go\
hosts.go\
+ interface.go\
ip.go\
ipsock.go\
iprawsock.go\
@@ -23,36 +24,49 @@ GOFILES=\
unixsock.go\
GOFILES_freebsd=\
- newpollserver.go\
+ dnsclient.go\
+ dnsconfig.go\
fd.go\
file.go\
- dnsconfig.go\
- dnsclient.go\
+ interface_bsd.go\
+ newpollserver.go\
port.go\
+ sendfile_stub.go\
+ sock_bsd.go\
CGOFILES_freebsd=\
cgo_bsd.go\
cgo_unix.go\
GOFILES_darwin=\
- newpollserver.go\
+ dnsclient.go\
+ dnsconfig.go\
fd.go\
file.go\
- dnsconfig.go\
- dnsclient.go\
+ interface_bsd.go\
+ newpollserver.go\
port.go\
+ sendfile_stub.go\
+ sock_bsd.go\
CGOFILES_darwin=\
cgo_bsd.go\
cgo_unix.go\
-
+
GOFILES_linux=\
- newpollserver.go\
+ dnsclient.go\
+ dnsconfig.go\
fd.go\
file.go\
- dnsconfig.go\
- dnsclient.go\
+ interface_linux.go\
+ newpollserver.go\
port.go\
+ sendfile_linux.go\
+ sock_linux.go\
+
+GOFILES_plan9=\
+ interface_stub.go\
+ sendfile_stub.go\
ifeq ($(GOARCH),arm)
# ARM has no cgo, so use the stubs.
@@ -65,8 +79,11 @@ endif
GOFILES_windows=\
cgo_stub.go\
- resolv_windows.go\
file_windows.go\
+ interface_stub.go\
+ resolv_windows.go\
+ sendfile_stub.go\
+ sock_windows.go\
GOFILES+=$(GOFILES_$(GOOS))
ifneq ($(CGOFILES_$(GOOS)),)