Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1330)

Delta Between Two Patch Sets: src/cmd/gc/Makefile

Issue 5316043: code review 5316043: gc: clean up printing. (Closed)
Left Patch Set: diff -r e2a58806ccd6 https://go.googlecode.com/hg/ Created 13 years, 5 months ago
Right Patch Set: diff -r 01516e31b4f0 https://go.googlecode.com/hg/ Created 13 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | src/cmd/gc/const.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # Copyright 2009 The Go Authors. All rights reserved. 1 # Copyright 2009 The Go Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style 2 # Use of this source code is governed by a BSD-style
3 # license that can be found in the LICENSE file. 3 # license that can be found in the LICENSE file.
4 4
5 include ../../Make.inc 5 include ../../Make.inc
6 O:=$(HOST_O) 6 O:=$(HOST_O)
7 7
8 LIB=gc.a 8 LIB=gc.a
9 9
10 HFILES=\ 10 HFILES=\
(...skipping 26 matching lines...) Expand all
37 reflect.$O\ 37 reflect.$O\
38 select.$O\ 38 select.$O\
39 sinit.$O\ 39 sinit.$O\
40 subr.$O\ 40 subr.$O\
41 swt.$O\ 41 swt.$O\
42 typecheck.$O\ 42 typecheck.$O\
43 unsafe.$O\ 43 unsafe.$O\
44 walk.$O\ 44 walk.$O\
45 y1.tab.$O\ 45 y1.tab.$O\
46 46
47 HOST_CFLAGS+=-DGOEXPERIMENT='"$(GOEXPERIMENT)"'·
48
47 NOINSTALL=1 49 NOINSTALL=1
48 include ../../Make.clib 50 include ../../Make.clib
49 51
50 install: $(LIB) 52 install: $(LIB)
51 53
52 y1.tab.c: y.tab.c # make yystate global, yytname mutable 54 y1.tab.c: y.tab.c # make yystate global, yytname mutable
53 cat y.tab.c | sed '/ int yystate;/d; s/int yychar;/int yychar, yystate;/ ; s/static const char \*const yytname/const char *yytname/; s/char const \*yymsg p/char *yymsgp/' >y1.tab.c 55 cat y.tab.c | sed '/ int yystate;/d; s/int yychar;/int yychar, yystate;/ ; s/static const char \*const yytname/const char *yytname/; s/char const \*yymsg p/char *yymsgp/' >y1.tab.c
54 56
55 yerr.h: bisonerrors go.errors y.tab.h # y.tab.h rule generates y.output too 57 yerr.h: bisonerrors go.errors y.tab.h # y.tab.h rule generates y.output too
56 awk -f bisonerrors y.output go.errors >yerr.h 58 awk -f bisonerrors y.output go.errors >yerr.h
57 59
58 subr.$O: yerr.h 60 subr.$O: yerr.h
59 61
60 builtin.c: builtin.c.boot 62 builtin.c: builtin.c.boot
61 cp builtin.c.boot builtin.c 63 cp builtin.c.boot builtin.c
62 64
63 fmt.$O: opnames.h 65 fmt.$O: opnames.h
64 66
65 opnames.h: mkopnames go.h 67 opnames.h: mkopnames go.h
66 ./mkopnames go.h >opnames.h 68 ./mkopnames go.h >opnames.h
67 69
68 CLEANFILES+=*.[568] [568].out y1.tab.c yerr.h mkbuiltin1 builtin.c _builtin.c op names.h 70 CLEANFILES+=*.[568] [568].out y1.tab.c yerr.h mkbuiltin1 builtin.c _builtin.c op names.h
69 71
70 mkbuiltin1: mkbuiltin1.$O 72 mkbuiltin1: mkbuiltin1.$O
71 $(HOST_LD) -o $@ mkbuiltin1.$O -L"$(GOROOT)"/lib -lbio -l9 -lm $(HOST_LD FLAGS) 73 $(HOST_LD) -o $@ mkbuiltin1.$O -L"$(GOROOT)"/lib -lbio -l9 -lm $(HOST_LD FLAGS)
72 74
LEFTRIGHT
« no previous file | src/cmd/gc/const.c » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b