aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-21 17:02:23 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-21 17:02:23 +0000
commitc8cd6f237b0a1b8ed66e8fd73d1f239b5b6de340 (patch)
treed1a6ae53a1bb810aa3427b316f9a8fa9c78c6430 /sim/Makefile.in
parenteada1efcaf09becb719d5278e4bf46e34e9693eb (diff)
downloadfsf-binutils-gdb-c8cd6f237b0a1b8ed66e8fd73d1f239b5b6de340.zip
fsf-binutils-gdb-c8cd6f237b0a1b8ed66e8fd73d1f239b5b6de340.tar.gz
fsf-binutils-gdb-c8cd6f237b0a1b8ed66e8fd73d1f239b5b6de340.tar.bz2
* Makefile.in (all): Simplify.
(clean, mostlyclean): SUBDIRS may contain whitespace; fix the loop as in the all target. (distclean, maintainer-clean, realclean): Likewise. (install): Likewise.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r--sim/Makefile.in74
1 files changed, 36 insertions, 38 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 4879055..c09ee3c 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -98,51 +98,49 @@ FLAGS_TO_PASS = \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
all:
- @if [ x"${SUBDIRS}" != x ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd`; export srcroot; \
- for dir in . ${SUBDIRS}; do \
- if [ "$$dir" = "." ]; then \
- true; \\
- elif [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
- else true; fi; \
- done ; \
- else true; fi
+ @rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot; \
+ for dir in . ${SUBDIRS}; do \
+ if [ "$$dir" = "." ]; then \
+ true; \
+ elif [ -d $$dir ]; then \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
+ else true; fi; \
+ done
clean mostlyclean:
- @if [ x"${SUBDIRS}" != x ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd`; export srcroot; \
- for dir in ${SUBDIRS}; do \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
- else true; fi; \
- done ; \
- else true; fi
+ @rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot; \
+ for dir in . ${SUBDIRS}; do \
+ if [ "$$dir" = "." ]; then \
+ true; \
+ elif [ -d $$dir ]; then \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
+ else true; fi; \
+ done
distclean maintainer-clean realclean:
- @if [ x"${SUBDIRS}" != x ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd`; export srcroot; \
- for dir in ${SUBDIRS}; do \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
- else true; fi; \
- done ; \
- else true; fi
+ @rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot; \
+ for dir in . ${SUBDIRS}; do \
+ if [ "$$dir" = "." ]; then \
+ true; \
+ elif [ -d $$dir ]; then \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@); \
+ else true; fi; \
+ done
rm -f Makefile config.cache config.log config.status
install:
- @if [ x${SUBDIRS} != x ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd`; export srcroot; \
- for dir in ${SUBDIRS}; do \
- if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
- else true; fi; \
- done; \
- else true; fi
+ @rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot; \
+ for dir in . ${SUBDIRS}; do \
+ if [ "$$dir" = "." ]; then \
+ true;
+ elif [ -d $$dir ]; then \
+ (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
+ else true; fi; \
+ done
info:
install-info: