diff options
| author | Russ Cox <rsc@golang.org> | 2012-01-30 23:43:46 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2012-01-30 23:43:46 -0500 |
| commit | 2050a9e47865450299d50d1364744b0945546dce (patch) | |
| tree | cd70d8a9cc95913405ba247857613a559e6f84c0 /src/pkg/encoding | |
| parent | 00e9a54dad85724961dce513efbc835fd8365d5e (diff) | |
| download | go-2050a9e47865450299d50d1364744b0945546dce.tar.xz | |
build: remove Make.pkg, Make.tool
Consequently, remove many package Makefiles,
and shorten the few that remain.
gomake becomes 'go tool make'.
Turn off test phases of run.bash that do not work,
flagged with $BROKEN. Future CLs will restore these,
but this seemed like a big enough CL already.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5601057
Diffstat (limited to 'src/pkg/encoding')
| -rw-r--r-- | src/pkg/encoding/ascii85/Makefile | 11 | ||||
| -rw-r--r-- | src/pkg/encoding/asn1/Makefile | 13 | ||||
| -rw-r--r-- | src/pkg/encoding/base32/Makefile | 11 | ||||
| -rw-r--r-- | src/pkg/encoding/base64/Makefile | 11 | ||||
| -rw-r--r-- | src/pkg/encoding/binary/Makefile | 12 | ||||
| -rw-r--r-- | src/pkg/encoding/csv/Makefile | 12 | ||||
| -rw-r--r-- | src/pkg/encoding/gob/Makefile | 24 | ||||
| -rw-r--r-- | src/pkg/encoding/gob/debug.go | 4 | ||||
| -rw-r--r-- | src/pkg/encoding/hex/Makefile | 11 | ||||
| -rw-r--r-- | src/pkg/encoding/json/Makefile | 16 | ||||
| -rw-r--r-- | src/pkg/encoding/pem/Makefile | 11 | ||||
| -rw-r--r-- | src/pkg/encoding/xml/Makefile | 15 |
12 files changed, 6 insertions, 145 deletions
diff --git a/src/pkg/encoding/ascii85/Makefile b/src/pkg/encoding/ascii85/Makefile deleted file mode 100644 index 412383efd5..0000000000 --- a/src/pkg/encoding/ascii85/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# 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=encoding/ascii85 -GOFILES=\ - ascii85.go\ - -include ../../../Make.pkg diff --git a/src/pkg/encoding/asn1/Makefile b/src/pkg/encoding/asn1/Makefile deleted file mode 100644 index 1c046dc369..0000000000 --- a/src/pkg/encoding/asn1/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# 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=encoding/asn1 -GOFILES=\ - asn1.go\ - common.go\ - marshal.go\ - -include ../../../Make.pkg diff --git a/src/pkg/encoding/base32/Makefile b/src/pkg/encoding/base32/Makefile deleted file mode 100644 index c0e85b6448..0000000000 --- a/src/pkg/encoding/base32/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# 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 $(GOROOT)/src/Make.inc - -TARG=encoding/base32 -GOFILES=\ - base32.go\ - -include $(GOROOT)/src/Make.pkg diff --git a/src/pkg/encoding/base64/Makefile b/src/pkg/encoding/base64/Makefile deleted file mode 100644 index 2f54ed8395..0000000000 --- a/src/pkg/encoding/base64/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# 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=encoding/base64 -GOFILES=\ - base64.go\ - -include ../../../Make.pkg diff --git a/src/pkg/encoding/binary/Makefile b/src/pkg/encoding/binary/Makefile deleted file mode 100644 index 3246f5a387..0000000000 --- a/src/pkg/encoding/binary/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# 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=encoding/binary -GOFILES=\ - binary.go\ - varint.go\ - -include ../../../Make.pkg diff --git a/src/pkg/encoding/csv/Makefile b/src/pkg/encoding/csv/Makefile deleted file mode 100644 index 9e04c5b90d..0000000000 --- a/src/pkg/encoding/csv/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2011 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=encoding/csv -GOFILES=\ - reader.go\ - writer.go\ - -include ../../../Make.pkg diff --git a/src/pkg/encoding/gob/Makefile b/src/pkg/encoding/gob/Makefile index 3847edb20b..3de845efcd 100644 --- a/src/pkg/encoding/gob/Makefile +++ b/src/pkg/encoding/gob/Makefile @@ -2,24 +2,8 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include ../../../Make.inc +# Help for debugging. +dump: dump.go + go clean -i # remove installed copy + go build -t gob-debug -o dump dump.go -TARG=encoding/gob -GOFILES=\ - decode.go\ - decoder.go\ - doc.go\ - encode.go\ - encoder.go\ - error.go\ - type.go\ - -include ../../../Make.pkg - -# Help for debugging. Requires adding debug.go to the gob package as well. - -dump: dump.$O - $(LD) -o dump $< - -dump.$O: dump.go - $(GC) $(GCFLAGS) $(GCIMPORTS) $< diff --git a/src/pkg/encoding/gob/debug.go b/src/pkg/encoding/gob/debug.go index 6dc7fc9aca..b54ef46f52 100644 --- a/src/pkg/encoding/gob/debug.go +++ b/src/pkg/encoding/gob/debug.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Delete the next line to include this file in the gob package. -// +build ignore +// Delete the next line to include in the gob package. +// +build gob-debug package gob diff --git a/src/pkg/encoding/hex/Makefile b/src/pkg/encoding/hex/Makefile deleted file mode 100644 index 22049f43b6..0000000000 --- a/src/pkg/encoding/hex/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# 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=encoding/hex -GOFILES=\ - hex.go\ - -include ../../../Make.pkg diff --git a/src/pkg/encoding/json/Makefile b/src/pkg/encoding/json/Makefile deleted file mode 100644 index 37223e75e9..0000000000 --- a/src/pkg/encoding/json/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# 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=encoding/json -GOFILES=\ - decode.go\ - encode.go\ - indent.go\ - scanner.go\ - stream.go\ - tags.go\ - -include ../../../Make.pkg diff --git a/src/pkg/encoding/pem/Makefile b/src/pkg/encoding/pem/Makefile deleted file mode 100644 index 527670380b..0000000000 --- a/src/pkg/encoding/pem/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# 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=encoding/pem -GOFILES=\ - pem.go\ - -include ../../../Make.pkg diff --git a/src/pkg/encoding/xml/Makefile b/src/pkg/encoding/xml/Makefile deleted file mode 100644 index ca84c211e8..0000000000 --- a/src/pkg/encoding/xml/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# 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=encoding/xml - -GOFILES=\ - marshal.go\ - read.go\ - typeinfo.go\ - xml.go\ - -include ../../../Make.pkg |
