Simplify targets by undoing change (with no ChangeLog entry) of June 8

This commit is contained in:
Ian Lance Taylor
1994-09-26 18:57:43 +00:00
parent 381897782a
commit 472af17f30

View File

@ -705,14 +705,10 @@ gcc-no-fixedincludes:
.PHONY: $(ALL_MODULES) all-glob all-gui all-libproc .PHONY: $(ALL_MODULES) all-glob all-gui all-libproc
$(ALL_MODULES) all-glob all-gui all-libproc: $(ALL_MODULES) all-glob all-gui all-libproc:
@dir=`echo $@ | sed -e 's/all-//'`; \ @dir=`echo $@ | sed -e 's/all-//'`; \
if [ -d ./$${dir} ] ; then \
if [ -f ./$${dir}/Makefile ] ; then \ if [ -f ./$${dir}/Makefile ] ; then \
r=`pwd`; export r; \ r=`pwd`; export r; \
srcroot=`cd $(srcdir); pwd`; export srcroot; \ srcroot=`cd $(srcdir); pwd`; export srcroot; \
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
else \
true ; \
fi; \
else \ else \
true; \ true; \
fi fi
@ -724,14 +720,12 @@ $(ALL_MODULES) all-glob all-gui all-libproc:
$(NATIVE_CHECK_MODULES): $(NATIVE_CHECK_MODULES):
@if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ @if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
dir=`echo $@ | sed -e 's/check-//'`; \ dir=`echo $@ | sed -e 's/check-//'`; \
if [ -d ./$${dir} ] ; then \
if [ -f ./$${dir}/Makefile ] ; then \ if [ -f ./$${dir}/Makefile ] ; then \
r=`pwd`; export r; \ r=`pwd`; export r; \
srcroot=`cd $(srcdir); pwd`; export srcroot; \ srcroot=`cd $(srcdir); pwd`; export srcroot; \
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
else \ else \
true; \ true; \
fi ; \
fi; \ fi; \
fi fi
@ -911,7 +905,7 @@ all-gas: all-libiberty all-opcodes all-bfd
all-gash: all-tcl all-gash: all-tcl
all-gawk: all-gawk:
all-gcc: all-libiberty all-byacc all-binutils all-gas all-pagas all-gcc: all-libiberty all-byacc all-binutils all-gas all-pagas
all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-glob all-byacc all-sim all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-glob all-byacc all-sim all-gcc all-ld
all-glob: all-glob:
all-gprof: all-libiberty all-bfd all-gprof: all-libiberty all-bfd
all-grep: all-libiberty all-grep: all-libiberty