* Makefile.in (DISTBISONFILES): Remove.

(taz): Don't futz with DISTBISONFILES.  Change BISON to use
	$(DEFAULT_YACC).
This commit is contained in:
Ian Lance Taylor 1997-06-16 18:55:52 +00:00
parent fdc944a7fb
commit 000befdfb4
2 changed files with 6 additions and 11 deletions

View File

@ -1,7 +1,11 @@
Mon Jun 16 11:11:10 1997 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (DISTBISONFILES): Remove.
(taz): Don't futz with DISTBISONFILES. Change BISON to use
$(DEFAULT_YACC).
* configure.in: Build itl, db, sn, etc., when building for native
cygwin32.
cygwin32.
* Makefile.in (LD): New variable.
(EXTRA_HOST_FLAGS): Pass down LD.

View File

@ -1492,25 +1492,16 @@ ETC_SUPPORT= Makefile.in configure configure.in standards.texi \
# When you use `make setup-dirs' or `make taz' you should always redefine
# this macro.
SUPPORT_FILES = list-of-support-files-for-tool-in-question
# Files where "byacc" (Cygnus version) should be changed to "bison -y" (FSF).
DISTBISONFILES= binutils/Makefile.in gas/Makefile.in gdb/Makefile.in ld/Makefile.in
.PHONY: taz
taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \
texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo
# Make sure "diststuff" files get built properly.
for f in $(DISTBISONFILES) ; do \
if [ -r $$f ]; then \
sed '/^BISON *=.*$$/s/.*/BISON = bison -y/' <$$f >tmp ; \
mv -f tmp $$f ; \
else true; fi ; \
done
# Take out texinfo from a few places; make simple BISON=bison line.
sed -e '/^all\.normal: /s/\all-texinfo //' \
-e '/^ install-texinfo /d' \
-e '/^BISON = `if/,/^$$/d' \
-e '/^# BISON:/s/.*/BISON = bison -y/' \
-e '/^# BISON:/s/.*/BISON = $(DEFAULT_YACC)/' \
<Makefile.in >tmp
mv -f tmp Makefile.in
#