summaryrefslogtreecommitdiff
path: root/src/Make.pkg
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+249
2011-09-13Imported Upstream version 60Ondřej Surý1-249/+0
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-2/+2
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-10/+14
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-1/+60
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-29/+29
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-4/+4
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-6/+16
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-44/+56
2010-06-30cgo: use slash-free relative paths for .so referencesRuss Cox1-2/+3
The Makefile and cgo now rewrite / to _ when creating the path. The .so for gosqlite.googlecode.com/hg/sqlite is named cgo_gosqlite.googlecode.com_hg_sqlite.so, and then 6l and 8l both include a default rpath of $GOROOT/pkg/$GOOS_$GOARCH. This should make it easier to move binaries from one system to another. Fixes issue 857. R=iant, r CC=golang-dev http://codereview.appspot.com/1700048
2010-05-03Add _cgo_export.[ch] targets so that make knows how they areIan Lance Taylor1-1/+1
built. Note that they are only built if a //export comment appears, so other targets should only use them if there is such a comment. Fixes issue 723. R=rsc CC=golang-dev http://codereview.appspot.com/1073041
2010-04-09Add //export to cgo.Ian Lance Taylor1-5/+9
The new //export comment marks a Go function as callable from C. The syntax is "//export NAME" where NAME is the name of the function as seen from C. If such a comment is seen, cgo will generate two new files: _cgo_export.h and _cgo_export.c. The _cgo_export.h file provides declarations which C code may use to call Go functions. The _cgo_export.c file contains wrappers, and is to be compiled with gcc. The changes to Make.pkg support using this from a Go Makefile, though it could probably be more convenient. R=rsc CC=golang-dev http://codereview.appspot.com/853042
2010-03-30make: use actual dependency for installRuss Cox1-1/+1
otherwise "make install" runs cp unconditionally R=r CC=golang-dev http://codereview.appspot.com/802044
2010-03-19Factor the Makefiles to make writing outside Makefiles easier.Rob Pike1-14/+7
R=rsc CC=golang-dev http://codereview.appspot.com/650042
2010-02-24Install runtime.h and cgocall.h.Ian Lance Taylor1-2/+2
This permits cgo generated code to use these header files even if the Go sources are not around. R=rsc CC=golang-dev http://codereview.appspot.com/224045
2010-01-12Add 'bench' target to makefiles.Adam Langley1-0/+3
R=rsc, agl, r CC=golang-dev http://codereview.appspot.com/188043
2010-01-06Fix missing explicit GOBIN in src/pkg/Makefile. Clean up creation ofDevon H. O'Dell1-8/+2
QUOTED_GOBIN. Re-take of 181077; fixes copy-pasta that broke build. Fixes issue 468 R=rsc CC=golang-dev http://codereview.appspot.com/183125 Committer: Russ Cox <rsc@golang.org>
2010-01-05rollback of http://codereview.appspot.com/181077Russ Cox1-2/+8
(broke build) TBR=dho http://codereview.appspot.com/181139
2010-01-05Fix missing explicit GOBIN in src/pkg/Makefile. Clean up creation of ↵Devon H. O'Dell1-8/+2
QUOTED_GOBIN Fixes issue 468 R=rsc CC=golang-dev http://codereview.appspot.com/181077 Committer: Russ Cox <rsc@golang.org>
2009-12-21cgo: interpret $CGOPKGDIR as absolute path if rootedRuss Cox1-1/+5
R=dho CC=golang-dev http://codereview.appspot.com/180099
2009-12-17Make.pkg: fix cgo for TARG=a/bRuss Cox1-2/+2
R=dho, phf CC=golang-dev http://codereview.appspot.com/180082
2009-12-17Allow cgo to accept multiple .go inputs for a packageDevon H. O'Dell1-26/+41
Fixes issue 342. R=rsc CC=golang-dev http://codereview.appspot.com/179062 Committer: Russ Cox <rsc@golang.org>
2009-12-11Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/srcDevon H. O'Dell1-12/+24
This change removes the necessity to have GOBIN in $PATH, and also doesn't assume that the build is being run from $GOROOT/src. This is a minimal set of necessary changes to get Go to build happily from the FreeBSD ports collection. R=rsc CC=golang-dev http://codereview.appspot.com/171044 Committer: Russ Cox <rsc@golang.org>
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-6/+12
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-20cgo: allow .so in subdirectoriesRuss Cox1-1/+1
R=r http://codereview.appspot.com/157103
2009-11-18Missing flags for FreeBSD shared link as used by cgo in default build.William Josephson1-0/+1
R=rsc http://codereview.appspot.com/157065 Committer: Russ Cox <rsc@golang.org>
2009-11-17Make.pkg: have "make coverage" invoke 6cov with correct binaryRuss Cox1-1/+1
Fixes issue 239. R=r http://codereview.appspot.com/154176
2009-11-15makefiles: use correct gcc order in case --as-needed is in use.Russ Cox1-1/+1
Suggested by eostapets. Fixes issue 141. R=r http://codereview.appspot.com/155049
2009-11-14Build changes to support work on the BSDs.Devon H. O'Dell1-1/+1
This does still contain some FreeBSD-specific bits, but it's a pain to do partial diffs. R=rsc http://codereview.appspot.com/152138 Committer: Russ Cox <rsc@golang.org>
2009-11-11work with GNU Make 3.80Russ Cox1-1/+5
Fixes issue 30. R=r1, r http://codereview.appspot.com/154061
2009-11-01Make.pkg: add DEPS= supportRuss Cox1-2/+5
allow Makefiles using Make.pkg to specify a list of directories that should be installed before trying to build the package. this is a stopgap for small package trees maintained outside the standard tree. R=r http://go/go-review/1016012
2009-10-038c, 8l dynamic loading support.Russ Cox1-3/+6
better mach binaries. cgo working on darwin+linux amd64+386. eliminated context switches - pi is 30x faster. add libcgo to build. on snow leopard: - non-cgo binaries work; all tests pass. - cgo binaries work on amd64 but not 386. R=r DELTA=2031 (1316 added, 626 deleted, 89 changed) OCL=35264 CL=35304
2009-09-30cgo working on linux/386Russ Cox1-3/+6
R=r DELTA=70 (47 added, 4 deleted, 19 changed) OCL=35167 CL=35171
2009-09-30cgo: works on amd64.Russ Cox1-15/+68
integrated into Makefiles (see misc/cgo/gmp/Makefile). R=r DELTA=1110 (540 added, 525 deleted, 45 changed) OCL=35153 CL=35158
2009-08-13makefile fixes; convert runtime to use new makefilesRuss Cox1-2/+6
R=r DELTA=67 (17 added, 29 deleted, 21 changed) OCL=33215 CL=33219
2009-08-12avoid unnecessary installsRuss Cox1-2/+6
R=r DELTA=6 (4 added, 0 deleted, 2 changed) OCL=33107 CL=33110
2009-08-12new included Make.pkg for handwritten package makefiles.Russ Cox1-0/+57
gobuild is obsolete; don't build it (will delete eventually). revised gotest for whole-package compilation. R=r DELTA=102 (68 added, 6 deleted, 28 changed) OCL=33067 CL=33098