Commit 766c7ad1 by Zack Weinberg Committed by Zack Weinberg

Makefile.in (s-gencheck, [...]): Handle an empty list correctly.

	* Makefile.in (s-gencheck, s-options, s-specs): Handle an
	empty list correctly.  Change loop index $t to $f for
	consistency with rest of Makefile.

From-SVN: r48711
parent 7387c700
2002-01-09 Zack Weinberg <zack@codesourcery.com>
* Makefile.in (s-gencheck, s-options, s-specs): Handle an
empty list correctly. Change loop index $t to $f for
consistency with rest of Makefile.
2002-01-08 Aldy Hernandez <aldyh@redhat.com> 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
* testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall, * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
......
...@@ -1266,24 +1266,24 @@ gencheck.o : gencheck.c gencheck.h tree.def $(HCONFIG_H) $(SYSTEM_H) \ ...@@ -1266,24 +1266,24 @@ gencheck.o : gencheck.c gencheck.h tree.def $(HCONFIG_H) $(SYSTEM_H) \
gencheck.h : s-gencheck ; @true gencheck.h : s-gencheck ; @true
s-gencheck : Makefile s-gencheck : Makefile
for t in $(lang_tree_files); do \ ltf="$(lang_tree_files)"; for f in $$ltf; do \
echo "#include \"$$t\""; \ echo "#include \"$$f\""; \
done | sed 's|$(srcdir)/||' > tmp-gencheck.h done | sed 's|$(srcdir)/||' > tmp-gencheck.h
$(SHELL) $(srcdir)/move-if-change tmp-gencheck.h gencheck.h $(SHELL) $(srcdir)/move-if-change tmp-gencheck.h gencheck.h
$(STAMP) s-gencheck $(STAMP) s-gencheck
options.h : s-options ; @true options.h : s-options ; @true
s-options : Makefile s-options : Makefile
for t in $(lang_options_files); do \ lof="$(lang_options_files)"; for f in $$lof; do \
echo "#include \"$$t\""; \ echo "#include \"$$f\""; \
done | sed 's|$(srcdir)/||' > tmp-options.h done | sed 's|$(srcdir)/||' > tmp-options.h
$(SHELL) $(srcdir)/move-if-change tmp-options.h options.h $(SHELL) $(srcdir)/move-if-change tmp-options.h options.h
$(STAMP) s-options $(STAMP) s-options
specs.h : s-specs ; @true specs.h : s-specs ; @true
s-specs : Makefile s-specs : Makefile
for t in $(lang_specs_files); do \ lsf="$(lang_specs_files)"; for f in $$lsf; do \
echo "#include \"$$t\""; \ echo "#include \"$$f\""; \
done | sed 's|$(srcdir)/||' > tmp-specs.h done | sed 's|$(srcdir)/||' > tmp-specs.h
$(SHELL) $(srcdir)/move-if-change tmp-specs.h specs.h $(SHELL) $(srcdir)/move-if-change tmp-specs.h specs.h
$(STAMP) s-specs $(STAMP) s-specs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment