$85 GRAYBYTE WORDPRESS FILE MANAGER $31

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/golang/src/

HOME
Current File : /lib/golang/src//make.rc
#!/bin/rc -e
# Copyright 2012 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.

# See golang.org/s/go15bootstrap for an overview of the build process.

# Environment variables that control make.rc:
#
# GOHOSTARCH: The architecture for host tools (compilers and
# binaries).  Binaries of this type must be executable on the current
# system, so the only common reason to set this is to set
# GOHOSTARCH=386 on an amd64 machine.
#
# GOARCH: The target architecture for installed packages and tools.
#
# GOOS: The target operating system for installed packages and tools.
#
# GO_GCFLAGS: Additional go tool compile arguments to use when
# building the packages and commands.
#
# GO_LDFLAGS: Additional go tool link arguments to use when
# building the commands.
#
# CGO_ENABLED: Controls cgo usage during the build. Set it to 1
# to include all cgo related files, .c and .go file with "cgo"
# build directive, in the build. Set it to 0 to ignore them.

rfork e
if(! test -f run.rc){
	echo 'make.rc must be run from $GOROOT/src' >[1=2]
	exit wrongdir
}

# Clean old generated file that will cause problems in the build.
rm -f ./runtime/runtime_defs.go

# Determine the host compiler toolchain.
eval `{grep '^(CC|LD|O)=' /$objtype/mkfile}

vflag=()
if(~ $1 -v) {
	vflag=(-v)
	shift
}

fn bootstrapenv {
	GOROOT=$GOROOT_BOOTSTRAP GO111MODULE=off GOENV=off GOOS=() GOARCH=() GOEXPERIMENT=() GOFLAGS=() $*
}

bootgo = 1.22.6
GOROOT = `{cd .. && pwd}
goroot_bootstrap_set = 'true'
if(~ $"GOROOT_BOOTSTRAP ''){
	goroot_bootstrap_set = 'false'
	GOROOT_BOOTSTRAP = $home/go1.4
	for(d in sdk/go$bootgo go$bootgo)
		if(test -d $home/$d)
			GOROOT_BOOTSTRAP = $home/$d
}
for(p in $path){
	if(! test -x $GOROOT_BOOTSTRAP/bin/go){
		if(go_exe = `{path=$p whatis go}){
			goroot_bootstrap = $GOROOT_BOOTSTRAP
			GOROOT_BOOTSTRAP = ()
			goroot = `{bootstrapenv $go_exe env GOROOT}
			GOROOT_BOOTSTRAP = $goroot_bootstrap
			if(! ~ $goroot $GOROOT){
				if(~ $goroot_bootstrap_set 'true'){
					echo 'WARNING: '$GOROOT_BOOTSTRAP'/bin/go does not exist, found '$go_exe' from env' >[1=2]
					echo 'WARNING: set '$goroot' as GOROOT_BOOTSTRAP' >[1=2]
				}
				GOROOT_BOOTSTRAP = $goroot
			}
		}
	}
}
if(! test -x $GOROOT_BOOTSTRAP/bin/go){
	echo 'ERROR: Cannot find '$GOROOT_BOOTSTRAP'/bin/go.' >[1=2]
	echo 'Set $GOROOT_BOOTSTRAP to a working Go tree >= Go '$bootgo'.' >[1=2]
	exit bootstrap
}
if(~ $GOROOT_BOOTSTRAP $GOROOT){
	echo 'ERROR: $GOROOT_BOOTSTRAP must not be set to $GOROOT' >[1=2]
	echo 'Set $GOROOT_BOOTSTRAP to a working Go tree >= Go '$bootgo'.' >[1=2]
	exit bootstrap
}

# Get the exact bootstrap toolchain version to help with debugging.
# We clear GOOS and GOARCH to avoid an ominous but harmless warning if
# the bootstrap doesn't support them.
GOROOT_BOOTSTRAP_VERSION=`{bootstrapenv $GOROOT_BOOTSTRAP/bin/go version | sed 's/go version //'}
echo 'Building Go cmd/dist using '$GOROOT_BOOTSTRAP'. ('$"GOROOT_BOOTSTRAP_VERSION')'
if(~ $#vflag 1)
	echo cmd/dist
bootstrapenv $GOROOT_BOOTSTRAP/bin/go build -o cmd/dist/dist ./cmd/dist

eval `{./cmd/dist/dist env -9}
if(~ $#vflag 1)
	echo

if(~ $1 --dist-tool){
	# Stop after building dist tool.
	mkdir -p $GOTOOLDIR
	if(! ~ $2 '')
		cp cmd/dist/dist $2
	mv cmd/dist/dist $GOTOOLDIR/dist
	exit
}

# Run dist bootstrap to complete make.bash.
# Bootstrap installs a proper cmd/dist, built with the new toolchain.
# Throw ours, built with the bootstrap toolchain, away after bootstrap.
./cmd/dist/dist bootstrap -a $vflag $*
rm -f ./cmd/dist/dist

# DO NOT ADD ANY NEW CODE HERE.
# The bootstrap+rm above are the final step of make.rc.
# If something must be added, add it to cmd/dist's cmdbootstrap,
# to avoid needing three copies in three different shell languages
# (make.bash, make.bat, make.rc).

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.30 PM
root / root
0755
archive
--
4 Dec 2025 6.06 PM
root / root
0755
arena
--
16 Dec 2025 9.30 PM
root / root
0755
bufio
--
16 Dec 2025 9.30 PM
root / root
0755
builtin
--
16 Dec 2025 9.30 PM
root / root
0755
bytes
--
16 Dec 2025 9.30 PM
root / root
0755
cmd
--
16 Dec 2025 9.30 PM
root / root
0755
cmp
--
16 Dec 2025 9.30 PM
root / root
0755
compress
--
4 Dec 2025 6.06 PM
root / root
0755
container
--
4 Dec 2025 6.06 PM
root / root
0755
context
--
16 Dec 2025 9.30 PM
root / root
0755
crypto
--
16 Dec 2025 9.30 PM
root / root
0755
database
--
4 Dec 2025 6.06 PM
root / root
0755
debug
--
4 Dec 2025 6.06 PM
root / root
0755
embed
--
16 Dec 2025 9.30 PM
root / root
0755
encoding
--
16 Dec 2025 9.30 PM
root / root
0755
errors
--
16 Dec 2025 9.30 PM
root / root
0755
expvar
--
16 Dec 2025 9.30 PM
root / root
0755
flag
--
16 Dec 2025 9.30 PM
root / root
0755
fmt
--
16 Dec 2025 9.30 PM
root / root
0755
go
--
4 Dec 2025 6.06 PM
root / root
0755
hash
--
16 Dec 2025 9.30 PM
root / root
0755
html
--
16 Dec 2025 9.30 PM
root / root
0755
image
--
16 Dec 2025 9.30 PM
root / root
0755
index
--
4 Dec 2025 6.06 PM
root / root
0755
internal
--
16 Dec 2025 9.30 PM
root / root
0755
io
--
16 Dec 2025 9.30 PM
root / root
0755
iter
--
16 Dec 2025 9.30 PM
root / root
0755
log
--
16 Dec 2025 9.30 PM
root / root
0755
maps
--
16 Dec 2025 9.30 PM
root / root
0755
math
--
16 Dec 2025 9.30 PM
root / root
0755
mime
--
16 Dec 2025 9.30 PM
root / root
0755
net
--
16 Dec 2025 9.34 PM
root / root
0755
os
--
16 Dec 2025 9.30 PM
root / root
0755
path
--
16 Dec 2025 9.30 PM
root / root
0755
plugin
--
16 Dec 2025 9.30 PM
root / root
0755
reflect
--
16 Dec 2025 9.30 PM
root / root
0755
regexp
--
16 Dec 2025 9.30 PM
root / root
0755
runtime
--
16 Dec 2025 9.34 PM
root / root
0755
slices
--
16 Dec 2025 9.30 PM
root / root
0755
sort
--
16 Dec 2025 9.30 PM
root / root
0755
strconv
--
16 Dec 2025 9.30 PM
root / root
0755
strings
--
16 Dec 2025 9.30 PM
root / root
0755
structs
--
16 Dec 2025 9.30 PM
root / root
0755
sync
--
16 Dec 2025 9.30 PM
root / root
0755
syscall
--
16 Dec 2025 9.30 PM
root / root
0755
testing
--
16 Dec 2025 9.30 PM
root / root
0755
text
--
4 Dec 2025 6.06 PM
root / root
0755
time
--
16 Dec 2025 9.30 PM
root / root
0755
unicode
--
16 Dec 2025 9.30 PM
root / root
0755
unique
--
16 Dec 2025 9.30 PM
root / root
0755
unsafe
--
16 Dec 2025 9.30 PM
root / root
0755
vendor
--
16 Dec 2025 9.30 PM
root / root
0755
weak
--
16 Dec 2025 9.30 PM
root / root
0755
Make.dist
0.54 KB
4 Dec 2025 6.06 PM
root / root
0644
README.vendor
2.372 KB
4 Dec 2025 6.06 PM
root / root
0644
all.bash
0.369 KB
4 Dec 2025 6.06 PM
root / root
0755
all.bat
0.379 KB
4 Dec 2025 6.06 PM
root / root
0644
all.rc
0.382 KB
4 Dec 2025 6.06 PM
root / root
0755
bootstrap.bash
2.251 KB
4 Dec 2025 6.06 PM
root / root
0755
buildall.bash
2.075 KB
4 Dec 2025 6.06 PM
root / root
0755
clean.bash
0.506 KB
4 Dec 2025 6.06 PM
root / root
0755
clean.bat
0.464 KB
4 Dec 2025 6.06 PM
root / root
0644
clean.rc
0.371 KB
4 Dec 2025 6.06 PM
root / root
0755
cmp.bash
1.456 KB
4 Dec 2025 6.06 PM
root / root
0644
go.mod
0.256 KB
4 Dec 2025 6.06 PM
root / root
0644
go.sum
1.025 KB
4 Dec 2025 6.06 PM
root / root
0644
make.bash
7.443 KB
4 Dec 2025 6.06 PM
root / root
0755
make.bat
4.011 KB
4 Dec 2025 6.06 PM
root / root
0644
make.rc
3.747 KB
4 Dec 2025 6.06 PM
root / root
0755
race.bash
0.938 KB
4 Dec 2025 6.06 PM
root / root
0755
race.bat
0.626 KB
4 Dec 2025 6.06 PM
root / root
0644
run.bash
1.676 KB
4 Dec 2025 6.06 PM
root / root
0755
run.bat
0.479 KB
4 Dec 2025 6.06 PM
root / root
0644
run.rc
0.396 KB
4 Dec 2025 6.06 PM
root / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF