-clean-binutils: force
- @if [ -f ./binutils/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./binutils; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-binutils: force
- @if [ -f ./binutils/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./binutils; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### newlib
-all-newlib: all-binutils all-ld all-gas all-gcc
- @if [ -f ./newlib/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
- (cd ./newlib; \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-newlib: force
- @if [ -f ./newlib/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
- (cd ./newlib; \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-newlib: force
- @if [ -f ./newlib/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
- (cd ./newlib; \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### gprof
-all-gprof: all-libiberty all-bfd
- @if [ -f ./gprof/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gprof; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-gprof: force
- @if [ -f ./gprof/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gprof; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-gprof: force
- @if [ -f ./gprof/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gprof; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### byacc
-all-byacc: force
- @if [ -f ./byacc/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./byacc; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-byacc: force
- @if [ -f ./byacc/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./byacc; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-byacc: force
- @if [ -f ./byacc/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./byacc; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### flex
-all-flex: all-libiberty
- @if [ -f ./flex/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./flex; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-flex: force
- @if [ -f ./flex/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./flex; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-flex: force
- @if [ -f ./flex/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./flex; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-### gcc
-all-gcc: all-libiberty all-byacc
- @if [ -f ./gcc/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gcc; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-gcc: force
- @if [ -f ./gcc/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gcc; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-gcc: force
- @if [ -f ./gcc/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gcc; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### readline
-all-readline: force
- @if [ -f ./readline/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./readline; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-readline: force
- @if [ -f ./readline/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./readline; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-readline: force
- @if [ -f ./readline/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./readline; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### glob
-all-glob: force
- @if [ -f ./glob/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./glob; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-glob: force
- @if [ -f ./glob/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./glob; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-glob: force
- @if [ -f ./glob/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./glob; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### gas
-all-gas: all-libiberty all-opcodes all-bfd
- @if [ -f ./gas/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gas; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-gas: force
- @if [ -f ./gas/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gas; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-gas: force
- @if [ -f ./gas/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gas; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### gas
-all-tgas: all-libiberty all-bfd
- @if [ -f ./tgas/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./tgas; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-
-### ld
-all-ld: all-libiberty all-bfd all-byacc all-flex
- @if [ -f ./ld/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./ld; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-ld: force
- @if [ -f ./ld/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./ld; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-ld: force
- @if [ -f ./ld/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./ld; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### gdb
-all-gdb: all-bfd all-opcodes all-libiberty all-mmalloc all-readline all-glob all-byacc
- @if [ -f ./gdb/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gdb; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-gdb: force
- @if [ -f ./gdb/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gdb; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-gdb: force
- @if [ -f ./gdb/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gdb; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### make
-all-make: all-libiberty
- @if [ -f ./make/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./make; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-make: force
- @if [ -f ./make/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./make; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-make: force
- @if [ -f ./make/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./make; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### diff
-all-diff: force
- @if [ -f ./diff/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./diff; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-diff: force
- @if [ -f ./diff/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./diff; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-diff: force
- @if [ -f ./diff/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./diff/; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### grep
-all-grep: force
- @if [ -f ./grep/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./grep; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-grep: force
- @if [ -f ./grep/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./grep; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-grep: force
- @if [ -f ./grep/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./grep; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### rcs
-all-rcs: force
- @if [ -f ./rcs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./rcs; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-rcs: force
- @if [ -f ./rcs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./rcs; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-rcs: force
- @if [ -f ./rcs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./rcs; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### cvs
-all-cvs: force
- @if [ -f ./cvs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./cvs; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-cvs: force
- @if [ -f ./cvs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./cvs; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-cvs: force
- @if [ -f ./cvs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./cvs; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### patch
-all-patch: force
- @if [ -f ./patch/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./patch; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-patch: force
- @if [ -f ./patch/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./patch; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-patch: force
- @if [ -f ./patch/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./patch; \
- $(MAKE) $(FLAGS_TO_PASS) \
- bindir=$(bindir) \
- man1dir=$(man1dir) install) ; \
- else \
- true ; \
- fi
-
-### emacs
-all-emacs: force
- @if [ -f ./emacs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./emacs; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-emacs: force
- @if [ -f ./emacs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./emacs; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-emacs: force
- @if [ -f ./emacs/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./emacs; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### ispell
-all-ispell: all-emacs
- @if [ -f ./ispell/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./ispell; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-ispell: force
- @if [ -f ./ispell/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./ispell; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-ispell: force
- @if [ -f ./ispell/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./ispell; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### send_pr
-all-send_pr: force
- @if [ -f ./send_pr/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./send_pr; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-send_pr: force
- @if [ -f ./send_pr/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./send_pr; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-send_pr: force
- @if [ -f ./send_pr/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./send_pr; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### libm
-all-libm: force
- @if [ -f ./libm/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./libm; \
- $(MAKE) $(FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-libm: force
- @if [ -f ./libm/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./libm; \
- $(MAKE) $(FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-libm: force
- @if [ -f ./libm/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./libm; \
- $(MAKE) $(FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### libg++
-
-all-libg++: all-gas all-ld all-gcc
- @if [ -f ./libg++/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
- (cd ./libg++; \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) all) ; \
- else \
- true ; \
- fi
-
-clean-libg++: force
- @if [ -f ./libg++/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
- (cd ./libg++; \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) clean) ; \
- else \
- true ; \
- fi
-
-install-libg++: force
- @if [ -f ./libg++/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
- (cd ./libg++; \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) install) ; \
- else \
- true ; \
- fi
-
-### other supporting targets
-# this is a bad hack.
-all.xclib: all.normal
- if [ -f clib/Makefile ] ; then \
- (cd clib ; $(MAKE) $(FLAGS_TO_PASS)) ; \
- fi
-
-subdir_do:
- @for i in $(DODIRS); do \
- if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ] ; then \
- case $$i in \
- libg++ | xiberty | newlib) \
- if (rootme=`pwd` ; export rootme ; \
- srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
- cd ./$$i ; \
- $(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \
- else exit 1 ; fi \
- ;; \
- *) \
- if (rootme=`pwd` ; export rootme ; \
- cd ./$$i ; \
- $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
- else exit 1 ; fi \
- ;; \
- esac ; \
- else true ; fi ; \
- done
-
-# The "else true" stuff is for Ultrix; the shell returns the exit code
-# of the "if" command, if no commands are run in the "then" or "else" part,
-# causing Make to quit.
-
-MAKEDIRS= \
- $(prefix) \
- $(exec_prefix) \
- $(tooldir)
-
-# $(bindir) \
-# $(libdir) \
-# $(includedir) \
-# $(datadir) \
-# $(docdir) \
-# $(mandir) \
-# $(man1dir) \
-# $(man5dir)
-
-# $(man2dir) \
-# $(man3dir) \
-# $(man4dir) \
-# $(man6dir) \
-# $(man7dir) \
-# $(man8dir)
-
-install-dirs:
- for i in $(MAKEDIRS) ; do \
- echo Making $$i... ; \
- parent=`echo $$i|sed -e 's@/[^/]*$$@@'`; \
- if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \
- if [ ! -d $$i ] ; then \
- if mkdir $$i ; then \
- true ; \
- else \
- exit 1 ; \
- fi ; \
- else \
- true ; \
- fi ; \
- done
-
-MAKEINFODIRS= \
- $(prefix)
-
-# $(infodir)
-
-install-info-dirs:
- if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; fi
-# if [ -d $(datadir) ] ; then true ; else mkdir $(datadir) ; fi
-# if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
-
-dir.info:
- $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new
- mv -f dir.info.new dir.info
-
-etags tags: TAGS
-
-TAGS:
- etags `$(MAKE) ls`
-
-ls:
- @echo Makefile
- @for i in $(SUBDIRS); \
- do \
- (cd $$i; \
- pwd=`pwd`; \
- wd=`basename $$pwd`; \
- for j in `$(MAKE) ls`; \
- do \
- echo $$wd/$$j; \
- done) \
- done
-
-force:
-
-# with the gnu make, this is done automatically.
-
-Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
- $(SHELL) ./config.status