aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/newlink/testdata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/newlink/testdata/Makefile')
-rw-r--r--src/cmd/newlink/testdata/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cmd/newlink/testdata/Makefile b/src/cmd/newlink/testdata/Makefile
new file mode 100644
index 0000000000..83e8a05195
--- /dev/null
+++ b/src/cmd/newlink/testdata/Makefile
@@ -0,0 +1,15 @@
+ALL=\
+ autosection.6\
+ autoweak.6\
+ dead.6\
+ hello.6\
+ layout.6\
+ pclntab.6\
+
+all: $(ALL)
+
+%.6: %.s
+ GOARCH=amd64 GOOS=darwin go tool asm -I $(shell go env GOROOT)/pkg/include -trimpath=$(shell pwd) $*.s
+
+pclntab.s: genpcln.go
+ go run genpcln.go >pclntab.s