mirror of
https://github.com/golang/go
synced 2024-11-11 22:20:22 -07:00
misc/cgo/test: remove unused Makefile
R=golang-dev, minux.ma, iant CC=golang-dev https://golang.org/cl/6459091
This commit is contained in:
parent
42534cbc29
commit
1ac397f4b9
@ -1,48 +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 ../../../src/Make.inc
|
||||
|
||||
TARG=runtime/cgotest
|
||||
|
||||
CGOFILES=\
|
||||
align.go\
|
||||
basic.go\
|
||||
callback.go\
|
||||
env.go\
|
||||
exports.go\
|
||||
helpers.go\
|
||||
issue1222.go\
|
||||
issue1328.go\
|
||||
issue1560.go\
|
||||
issue2462.go\
|
||||
duplicate_symbol.go\
|
||||
|
||||
CGO_OFILES=\
|
||||
callback_c.o\
|
||||
|
||||
OFILES=\
|
||||
runtime.$O\
|
||||
|
||||
ifeq ($(GOOS),windows)
|
||||
GCCVERSION=$(shell gcc -dumpversion)
|
||||
ifeq ($(GOARCH),386)
|
||||
GCCLIBDIR=/mingw/lib/gcc/mingw32/$(GCCVERSION)
|
||||
CHKSTK=_chkstk.o
|
||||
else
|
||||
GCCLIBDIR=/mingw/lib/gcc/x86_64-w64-mingw32/$(GCCVERSION)
|
||||
CHKSTK=_chkstk_ms.o
|
||||
endif
|
||||
|
||||
CGOFILES+=sleep_windows.go
|
||||
CGO_OFILES+=$(CHKSTK)
|
||||
|
||||
$(CHKSTK):
|
||||
ar -x "$(GCCLIBDIR)/libgcc.a" $@
|
||||
endif
|
||||
|
||||
include ../../../src/Make.pkg
|
||||
|
||||
test:
|
||||
echo cgo: tests disabled. gotest is gone. TODO
|
Loading…
Reference in New Issue
Block a user