Allow yacc to be passed in as BISON.

This commit is contained in:
K. Richard Pixley 1991-08-16 21:47:14 +00:00
parent 88f13fd058
commit f9584c6dcd
1 changed files with 4 additions and 4 deletions

View File

@ -48,8 +48,8 @@ srcdir = .
# CFLAGS section if your system doesn't have fcntl.h in /usr/include (which # CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
# is where it should be according to Posix). # is where it should be according to Posix).
BISON=bison BISON=bison -y
BISONFLAGS=-y BISONFLAGS=
YACC=$(BISON) $(BISONFLAGS) YACC=$(BISON) $(BISONFLAGS)
# YACC=yacc # YACC=yacc
SHELL=/bin/sh SHELL=/bin/sh
@ -283,7 +283,7 @@ init.c: $(srcdir)/munch $(MUNCH_DEFINE) $(OBS) $(TSOBS)
gdb: $(OBS) $(TSOBS) ${ADD_DEPS} ${CDEPS} init.o gdb: $(OBS) $(TSOBS) ${ADD_DEPS} ${CDEPS} init.o
${CC-LD} $(LDFLAGS) -o gdb init.o $(OBS) $(TSOBS) $(ADD_FILES) \ ${CC-LD} $(LDFLAGS) -o gdb init.o $(OBS) $(TSOBS) $(ADD_FILES) \
$(CLIBS) $(CLIBS) $(LOADLIBES)
saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c
#setopt load_flags $(CFLAGS) -I$(BFD_DIR) -DHOST_SYS=SUN4_SYS #setopt load_flags $(CFLAGS) -I$(BFD_DIR) -DHOST_SYS=SUN4_SYS
@ -526,7 +526,7 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure
(cd $(srcdir) ; \ (cd $(srcdir) ; \
./configure +destdir=$(destdir) \ ./configure +destdir=$(destdir) \
+norecurse \ +norecurse \
`if [ "$(srcdir)" != "." ] ; then echo +f; fi` \ `if [ "$(srcdir)" != "." ] ; then echo +subdirs; fi` \
$(host) +target=$(target)) $(host) +target=$(target))
force: force: