mirror of
https://github.com/golang/go
synced 2024-10-05 20:31:20 -06:00
c02423902d
R=bradfitz, dsymonds, fshahriar CC=golang-dev https://golang.org/cl/4859043
118 lines
1.7 KiB
Makefile
118 lines
1.7 KiB
Makefile
# 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\
|
|
fd_$(GOOS).go\
|
|
hosts.go\
|
|
interface.go\
|
|
ip.go\
|
|
ipsock.go\
|
|
iprawsock.go\
|
|
net.go\
|
|
parse.go\
|
|
pipe.go\
|
|
sock.go\
|
|
tcpsock.go\
|
|
udpsock.go\
|
|
unixsock.go\
|
|
|
|
GOFILES_freebsd=\
|
|
dnsclient_unix.go\
|
|
dnsconfig.go\
|
|
fd.go\
|
|
file.go\
|
|
interface_bsd.go\
|
|
interface_freebsd.go\
|
|
lookup_unix.go\
|
|
newpollserver.go\
|
|
port.go\
|
|
sendfile_stub.go\
|
|
sock_bsd.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\
|
|
file.go\
|
|
interface_bsd.go\
|
|
interface_darwin.go\
|
|
lookup_unix.go\
|
|
newpollserver.go\
|
|
port.go\
|
|
sendfile_stub.go\
|
|
sock_bsd.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\
|
|
file.go\
|
|
interface_linux.go\
|
|
lookup_unix.go\
|
|
newpollserver.go\
|
|
port.go\
|
|
sendfile_linux.go\
|
|
sock_linux.go\
|
|
|
|
ifeq ($(CGO_ENABLED),1)
|
|
CGOFILES_linux=\
|
|
cgo_linux.go\
|
|
cgo_unix.go
|
|
else
|
|
GOFILES_linux+=cgo_stub.go
|
|
endif
|
|
|
|
GOFILES_openbsd=\
|
|
dnsclient.go\
|
|
dnsconfig.go\
|
|
fd.go\
|
|
file.go\
|
|
interface_bsd.go\
|
|
newpollserver.go\
|
|
port.go\
|
|
sendfile_stub.go\
|
|
sock_bsd.go\
|
|
cgo_stub.go\
|
|
|
|
GOFILES_plan9=\
|
|
interface_stub.go\
|
|
lookup_unix.go\
|
|
sendfile_stub.go\
|
|
|
|
GOFILES_windows=\
|
|
file_windows.go\
|
|
interface_windows.go\
|
|
lookup_windows.go\
|
|
sendfile_windows.go\
|
|
sock_windows.go\
|
|
|
|
GOFILES+=$(GOFILES_$(GOOS))
|
|
ifneq ($(CGOFILES_$(GOOS)),)
|
|
CGOFILES+=$(CGOFILES_$(GOOS))
|
|
endif
|
|
|
|
include ../../Make.pkg
|