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.
# 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
#