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/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/pkg/net/Makefile b/src/pkg/net/Makefile
index 955485a6b..6b6d7c0e3 100644
--- a/src/pkg/net/Makefile
+++ b/src/pkg/net/Makefile
@@ -2,13 +2,11 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.$(GOARCH)
+include ../../Make.inc
TARG=net
GOFILES=\
dial.go\
- dnsclient.go\
- dnsconfig.go\
dnsmsg.go\
fd_$(GOOS).go\
hosts.go\
@@ -18,7 +16,6 @@ GOFILES=\
net.go\
parse.go\
pipe.go\
- port.go\
sock.go\
tcpsock.go\
udpsock.go\
@@ -27,18 +24,26 @@ GOFILES=\
GOFILES_freebsd=\
newpollserver.go\
fd.go\
+ dnsconfig.go\
+ dnsclient.go\
+ port.go\
GOFILES_darwin=\
newpollserver.go\
fd.go\
-
+ dnsconfig.go\
+ dnsclient.go\
+ port.go\
+
GOFILES_linux=\
newpollserver.go\
fd.go\
+ dnsconfig.go\
+ dnsclient.go\
+ port.go\
-GOFILES_nacl=\
- newpollserver.go\
- fd.go\
+GOFILES_windows=\
+ resolv_windows.go\
GOFILES+=$(GOFILES_$(GOOS))