Allow yacc to be passed in as BISON.
authorK. Richard Pixley <rich@cygnus>
Fri, 16 Aug 1991 21:47:14 +0000 (21:47 +0000)
committerK. Richard Pixley <rich@cygnus>
Fri, 16 Aug 1991 21:47:14 +0000 (21:47 +0000)
gdb/Makefile.in

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