aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1994-06-08 01:03:08 +0000
committerRob Savoye <rob@cygnus>1994-06-08 01:03:08 +0000
commit39cc6dae28888be1ba88c8d5c4f3e75ac24e3825 (patch)
tree0ab6dcb7a6a3cc9a59299d05d20c27d6dae02a97 /Makefile.in
parentb9ac0a53fd5714691ba2484e87258d81ea7c7b3c (diff)
downloadfsf-binutils-gdb-39cc6dae28888be1ba88c8d5c4f3e75ac24e3825.zip
fsf-binutils-gdb-39cc6dae28888be1ba88c8d5c4f3e75ac24e3825.tar.gz
fsf-binutils-gdb-39cc6dae28888be1ba88c8d5c4f3e75ac24e3825.tar.bz2
Move "@" so it's actually on the first line of the shell script in the
makefile target.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in30
1 files changed, 18 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in
index 627721f..61551bb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -702,10 +702,14 @@ gcc-no-fixedincludes:
.PHONY: $(ALL_MODULES) all-glob all-gui
$(ALL_MODULES) all-glob all-gui all-libproc:
@dir=`echo $@ | sed -e 's/all-//'`; \
- if [ -f ./$${dir}/Makefile ] ; then \
- r=`pwd`; export r; \
- srcroot=`cd $(srcdir); pwd`; export srcroot; \
- (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
+ if [ -d ./$${dir} ] ; then \
+ if [ -f ./$${dir}/Makefile ] ; then \
+ r=`pwd`; export r; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot; \
+ (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
+ else \
+ true ; \
+ fi; \
else \
true; \
fi
@@ -715,14 +719,16 @@ $(ALL_MODULES) all-glob all-gui all-libproc:
.PHONY: $(CHECK_MODULES) $(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
$(NATIVE_CHECK_MODULES):
- if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
- @dir=`echo $@ | sed -e 's/check-//'`; \
- if [ -f ./$${dir}/Makefile ] ; then \
- r=`pwd`; export r; \
- srcroot=`cd $(srcdir); pwd`; export srcroot; \
- (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
- else \
- true; \
+ @if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+ dir=`echo $@ | sed -e 's/check-//'`; \
+ if [ -d ./$${dir} ] ; then \
+ if [ -f ./$${dir}/Makefile ] ; then \
+ r=`pwd`; export r; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot; \
+ (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
+ else \
+ true; \
+ fi ; \
fi; \
fi