2008-09-16 14:42:47 -06:00
|
|
|
# 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.
|
|
|
|
|
2010-08-18 08:08:49 -06:00
|
|
|
include ../../Make.inc
|
2008-11-18 18:11:56 -07:00
|
|
|
|
2009-08-12 14:19:17 -06:00
|
|
|
TARG=net
|
|
|
|
GOFILES=\
|
2010-06-21 20:52:30 -06:00
|
|
|
dial.go\
|
2011-06-12 18:22:31 -06:00
|
|
|
dnsclient.go\
|
2009-08-12 14:19:17 -06:00
|
|
|
dnsmsg.go\
|
2010-01-15 14:43:14 -07:00
|
|
|
hosts.go\
|
2011-06-03 12:35:42 -06:00
|
|
|
interface.go\
|
2009-08-12 14:19:17 -06:00
|
|
|
ip.go\
|
2010-05-21 18:30:40 -06:00
|
|
|
iprawsock.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
ipsock.go\
|
2009-08-12 14:19:17 -06:00
|
|
|
net.go\
|
|
|
|
parse.go\
|
2010-04-26 11:36:05 -06:00
|
|
|
pipe.go\
|
2009-11-02 19:37:30 -07:00
|
|
|
tcpsock.go\
|
|
|
|
udpsock.go\
|
2009-11-01 12:15:34 -07:00
|
|
|
unixsock.go\
|
2009-08-12 14:19:17 -06:00
|
|
|
|
2010-06-29 21:23:39 -06:00
|
|
|
GOFILES_freebsd=\
|
2011-06-12 18:22:31 -06:00
|
|
|
dnsclient_unix.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
dnsconfig.go\
|
2010-06-29 21:23:39 -06:00
|
|
|
fd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
fd_$(GOOS).go\
|
2011-03-25 12:42:25 -06:00
|
|
|
file.go\
|
2011-06-03 12:35:42 -06:00
|
|
|
interface_bsd.go\
|
2011-08-03 22:22:52 -06:00
|
|
|
interface_freebsd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
iprawsock_posix.go\
|
|
|
|
ipsock_posix.go\
|
2011-06-12 18:22:31 -06:00
|
|
|
lookup_unix.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
newpollserver.go\
|
2010-07-28 22:58:28 -06:00
|
|
|
port.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
sendfile_stub.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
sock.go\
|
2011-05-02 08:50:12 -06:00
|
|
|
sock_bsd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
tcpsock_posix.go\
|
|
|
|
udpsock_posix.go\
|
|
|
|
unixsock_posix.go\
|
2010-06-29 21:23:39 -06:00
|
|
|
|
2011-08-10 19:36:48 -06:00
|
|
|
ifeq ($(CGO_ENABLED),1)
|
2011-04-20 13:21:59 -06:00
|
|
|
CGOFILES_freebsd=\
|
2011-04-21 08:22:53 -06:00
|
|
|
cgo_bsd.go\
|
2011-08-10 19:36:48 -06:00
|
|
|
cgo_unix.go
|
|
|
|
else
|
|
|
|
GOFILES_freebsd+=cgo_stub.go
|
|
|
|
endif
|
2011-04-20 13:21:59 -06:00
|
|
|
|
2010-06-29 21:23:39 -06:00
|
|
|
GOFILES_darwin=\
|
2011-06-12 18:22:31 -06:00
|
|
|
dnsclient_unix.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
dnsconfig.go\
|
2010-06-29 21:23:39 -06:00
|
|
|
fd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
fd_$(GOOS).go\
|
2011-03-25 12:42:25 -06:00
|
|
|
file.go\
|
2011-06-03 12:35:42 -06:00
|
|
|
interface_bsd.go\
|
2011-08-03 22:22:52 -06:00
|
|
|
interface_darwin.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
iprawsock_posix.go\
|
|
|
|
ipsock_posix.go\
|
2011-06-12 18:22:31 -06:00
|
|
|
lookup_unix.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
newpollserver.go\
|
2010-07-28 22:58:28 -06:00
|
|
|
port.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
sendfile_stub.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
sock.go\
|
2011-05-02 08:50:12 -06:00
|
|
|
sock_bsd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
tcpsock_posix.go\
|
|
|
|
udpsock_posix.go\
|
|
|
|
unixsock_posix.go\
|
2011-04-20 13:21:59 -06:00
|
|
|
|
2011-08-10 19:36:48 -06:00
|
|
|
ifeq ($(CGO_ENABLED),1)
|
2011-04-20 13:21:59 -06:00
|
|
|
CGOFILES_darwin=\
|
2011-04-21 08:22:53 -06:00
|
|
|
cgo_bsd.go\
|
2011-08-10 19:36:48 -06:00
|
|
|
cgo_unix.go
|
|
|
|
else
|
|
|
|
GOFILES_darwin+=cgo_stub.go
|
|
|
|
endif
|
2011-05-25 11:15:26 -06:00
|
|
|
|
2010-06-29 21:23:39 -06:00
|
|
|
GOFILES_linux=\
|
2011-06-12 18:22:31 -06:00
|
|
|
dnsclient_unix.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
dnsconfig.go\
|
2010-06-29 21:23:39 -06:00
|
|
|
fd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
fd_$(GOOS).go\
|
2011-03-25 12:42:25 -06:00
|
|
|
file.go\
|
2011-06-03 12:35:42 -06:00
|
|
|
interface_linux.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
iprawsock_posix.go\
|
|
|
|
ipsock_posix.go\
|
2011-06-12 18:22:31 -06:00
|
|
|
lookup_unix.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
newpollserver.go\
|
2010-07-28 22:58:28 -06:00
|
|
|
port.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
sendfile_linux.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
sock.go\
|
2011-05-02 08:50:12 -06:00
|
|
|
sock_linux.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
tcpsock_posix.go\
|
|
|
|
udpsock_posix.go\
|
|
|
|
unixsock_posix.go\
|
2010-07-28 22:58:28 -06:00
|
|
|
|
2011-08-10 19:36:48 -06:00
|
|
|
ifeq ($(CGO_ENABLED),1)
|
|
|
|
CGOFILES_linux=\
|
|
|
|
cgo_linux.go\
|
|
|
|
cgo_unix.go
|
|
|
|
else
|
|
|
|
GOFILES_linux+=cgo_stub.go
|
|
|
|
endif
|
|
|
|
|
2011-12-12 13:42:06 -07:00
|
|
|
GOFILES_netbsd=\
|
|
|
|
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\
|
|
|
|
|
2011-08-08 07:56:42 -06:00
|
|
|
GOFILES_openbsd=\
|
2011-08-16 15:28:16 -06:00
|
|
|
dnsclient_unix.go\
|
2011-08-08 07:56:42 -06:00
|
|
|
dnsconfig.go\
|
|
|
|
fd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
fd_$(GOOS).go\
|
2011-08-08 07:56:42 -06:00
|
|
|
file.go\
|
|
|
|
interface_bsd.go\
|
2011-08-16 15:28:16 -06:00
|
|
|
interface_openbsd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
iprawsock_posix.go\
|
|
|
|
ipsock_posix.go\
|
2011-08-16 15:28:16 -06:00
|
|
|
lookup_unix.go\
|
2011-08-08 07:56:42 -06:00
|
|
|
newpollserver.go\
|
|
|
|
port.go\
|
|
|
|
sendfile_stub.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
sock.go\
|
2011-08-08 07:56:42 -06:00
|
|
|
sock_bsd.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
tcpsock_posix.go\
|
|
|
|
udpsock_posix.go\
|
|
|
|
unixsock_posix.go\
|
2011-08-08 07:56:42 -06:00
|
|
|
cgo_stub.go\
|
|
|
|
|
2011-05-25 11:15:26 -06:00
|
|
|
GOFILES_plan9=\
|
2011-08-17 11:28:29 -06:00
|
|
|
file_plan9.go\
|
2011-06-03 12:35:42 -06:00
|
|
|
interface_stub.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
iprawsock_plan9.go\
|
|
|
|
ipsock_plan9.go\
|
|
|
|
lookup_plan9.go\
|
|
|
|
tcpsock_plan9.go\
|
|
|
|
udpsock_plan9.go\
|
|
|
|
unixsock_plan9.go\
|
2011-05-25 11:15:26 -06:00
|
|
|
|
2010-07-28 22:58:28 -06:00
|
|
|
GOFILES_windows=\
|
2011-08-17 11:28:29 -06:00
|
|
|
fd_$(GOOS).go\
|
2011-03-25 12:42:25 -06:00
|
|
|
file_windows.go\
|
2011-06-22 17:54:57 -06:00
|
|
|
interface_windows.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
iprawsock_posix.go\
|
|
|
|
ipsock_posix.go\
|
2011-06-12 18:22:31 -06:00
|
|
|
lookup_windows.go\
|
2011-06-10 21:24:48 -06:00
|
|
|
sendfile_windows.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
sock.go\
|
2011-05-02 08:50:12 -06:00
|
|
|
sock_windows.go\
|
2011-08-17 11:28:29 -06:00
|
|
|
tcpsock_posix.go\
|
|
|
|
udpsock_posix.go\
|
|
|
|
unixsock_posix.go\
|
2010-06-29 21:23:39 -06:00
|
|
|
|
|
|
|
GOFILES+=$(GOFILES_$(GOOS))
|
2011-04-20 13:21:59 -06:00
|
|
|
ifneq ($(CGOFILES_$(GOOS)),)
|
|
|
|
CGOFILES+=$(CGOFILES_$(GOOS))
|
|
|
|
endif
|
2010-06-29 21:23:39 -06:00
|
|
|
|
2009-11-23 18:32:51 -07:00
|
|
|
include ../../Make.pkg
|