aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.in
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1992-06-04 19:10:06 +0000
committerMark Eichin <eichin@cygnus>1992-06-04 19:10:06 +0000
commit9752f9fdcdf2525fb0672d4bb14d8e7928ea16e3 (patch)
treeeb886049acc1910850a9bb29f3bb5bb22f2f73da /binutils/Makefile.in
parentba79f5fa08a04f1dea43cd8b750125e2ff49fce0 (diff)
downloadgdb-9752f9fdcdf2525fb0672d4bb14d8e7928ea16e3.zip
gdb-9752f9fdcdf2525fb0672d4bb14d8e7928ea16e3.tar.gz
gdb-9752f9fdcdf2525fb0672d4bb14d8e7928ea16e3.tar.bz2
use byacc instead of bison.
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r--binutils/Makefile.in15
1 files changed, 8 insertions, 7 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index df3d5cd..6177d5a 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -55,10 +55,10 @@ AR_FLAGS = qv
CFLAGS = -g
MAKEINFO = makeinfo
RANLIB = ranlib
-BISONFLAGS = -tvd
+BISONFLAGS = -d
TEXI2ROFF=texi2roff
-BISON = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/ ; else echo bison -y ; fi`
+BISON = `if [ -f ../byacc/byacc ] ; then echo ../byacc/byacc ; else echo byacc ; fi`
# Comment these out if using lex.
LEX_OPTIONS = -I -Cem
LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex -S../flex/flex.skel ; else echo flex ; fi`
@@ -163,13 +163,14 @@ $(OBJDUMP_PROG): $(ADDL_LIBS) size.o objdump.o $(DISASMS) $(BFD)
$(CC) $(LDFLAGS) $(CFLAGS) -o $(OBJDUMP_PROG) objdump.o $(DISASMS) $(ADDL_LIBS) $(LOADLIBES)
arparse.c:arparse.y
- $(BISON) $(BISONFLAGS) $(VPATH)/arparse.y
- mv y.tab.c arparse.c
- mv y.tab.h arparse.h
+ $(BISON) $(BISONFLAGS) $(srcdir)/arparse.y
+ -mv y.tab.c arparse.c
+ -mv y.tab.h arparse.h
-arlex.c:arlex.l
- $(LEX) $(LEX_OPTIONS) -t $(VPATH)/arlex.l >arlex.c
+arlex.c: arlex.l
+ $(LEX) $(LEX_OPTIONS) $(srcdir)/arlex.l
+ mv lex.yy.c arlex.c
$(AR_PROG): $(ADDL_LIBS) ar.o arparse.o arlex.o not-ranlib.o $(BFD) arsup.o
$(CC) $(LDFLAGS) $(CFLAGS) -o $(AR_PROG) ar.o arparse.o arlex.o arsup.o not-ranlib.o $(ADDL_LIBS) $(LOADLIBES)