mirror of
https://github.com/golang/go
synced 2024-11-23 00:40:08 -07:00
make acid build with bison.
ask for bison explicitly in cc, gc to try to avoid problems with other yaccs that might be installed. R=r DELTA=29 (10 added, 2 deleted, 17 changed) OCL=22110 CL=22113
This commit is contained in:
parent
4dee747fb9
commit
859ba57bbb
@ -10,7 +10,6 @@ LIB=\
|
|||||||
HFILES=\
|
HFILES=\
|
||||||
cc.h\
|
cc.h\
|
||||||
y.tab.h\
|
y.tab.h\
|
||||||
compat.h\
|
|
||||||
|
|
||||||
YFILES=\
|
YFILES=\
|
||||||
cc.y\
|
cc.y\
|
||||||
@ -28,10 +27,8 @@ OFILES=\
|
|||||||
funct.$O\
|
funct.$O\
|
||||||
sub.$O\
|
sub.$O\
|
||||||
com64.$O\
|
com64.$O\
|
||||||
compat.$O\
|
|
||||||
dpchk.$O\
|
dpchk.$O\
|
||||||
omachcap.$O\
|
omachcap.$O\
|
||||||
compat.$O\
|
|
||||||
|
|
||||||
$(LIB): $(OFILES)
|
$(LIB): $(OFILES)
|
||||||
ar rsc $(LIB) $(OFILES)
|
ar rsc $(LIB) $(OFILES)
|
||||||
@ -39,7 +36,7 @@ $(LIB): $(OFILES)
|
|||||||
$(OFILES): $(HFILES)
|
$(OFILES): $(HFILES)
|
||||||
|
|
||||||
y.tab.h: $(YFILES)
|
y.tab.h: $(YFILES)
|
||||||
yacc $(YFLAGS) $(YFILES)
|
bison -y $(YFLAGS) $(YFILES)
|
||||||
|
|
||||||
y.tab.c: y.tab.h
|
y.tab.c: y.tab.h
|
||||||
test -f y.tab.c && touch y.tab.c
|
test -f y.tab.c && touch y.tab.c
|
||||||
|
@ -34,7 +34,7 @@ $(LIB): $(OFILES)
|
|||||||
$(OFILES): $(HFILES)
|
$(OFILES): $(HFILES)
|
||||||
|
|
||||||
y.tab.h: $(YFILES)
|
y.tab.h: $(YFILES)
|
||||||
yacc $(YFLAGS) $(YFILES)
|
bison -y $(YFLAGS) $(YFILES)
|
||||||
|
|
||||||
y.tab.c: y.tab.h
|
y.tab.c: y.tab.h
|
||||||
test -f y.tab.c && touch y.tab.c
|
test -f y.tab.c && touch y.tab.c
|
||||||
|
Loading…
Reference in New Issue
Block a user