# clib send_pr
# all-libgcc
-all.normal: all-texinfo all-bison all-byacc all-flex all-ld \
- all-gas all-gcc all-binutils \
- all-libg++ all-gdb all-make all-cvs all-patch all-emacs \
- all-ispell all-fileutils \
- all-newlib
-all.cross: all-bison all-ld all-libgcc all-gdb
+all.normal: .stmp-texinfo .stmp-bison .stmp-byacc .stmp-ld \
+ .stmp-gas .stmp-gcc .stmp-binutils \
+ .stmp-libg++ .stmp-gdb .stmp-make .stmp-cvs .stmp-patch .stmp-emacs \
+ .stmp-ispell .stmp-fileutils \
+ .stmp-newlib
+all.cross: .stmp-bison .stmp-ld .stmp-libgcc .stmp-gdb
# $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
clean: clean-stamps clean-libiberty clean-texinfo clean-bfd clean-newlib clean-binutils \
- clean-bison clean-byacc clean-flex clean-ld clean-gas \
+ clean-bison clean-byacc clean-ld clean-gas \
clean-gcc clean-libgcc clean-readline clean-glob clean-gdb \
clean-make clean-diff clean-grep clean-rcs clean-gdbm \
clean-cvs clean-patch clean-emacs clean-ispell clean-fileutils \
-rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
clean-stamps:
- -rm -f stmp-*
+ -rm -f .stmp-*
install: $(INSTALL_TARGET) $(srcdir)/configure.man
$(INSTALL_DATA) $(srcdir)/configure.man $(man1dir)/configure.1
install.all: install-dirs install-libiberty install-texinfo \
install-bfd install-binutils install-bison install-byacc \
- install-flex install-ld install-gas install-gcc \
+ install-ld install-gas install-gcc \
install-libgcc install-readline install-glob install-gdb \
install-make install-cvs install-patch install-emacs \
install-ispell install-fileutils install-libg++ install-newlib
install-readline install-glob install-gdb
### libiberty
-.PHONY: all-libiberty stmp-libiberty
-all-libiberty: stmp-libiberty
-stmp-libiberty:
+all-libiberty: .stmp-libiberty
+.stmp-libiberty:
if [ -d ./libiberty ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./libiberty; \
else \
true ; \
fi
- touch stmp-libiberty
+ touch .stmp-libiberty
clean-libiberty: force
if [ -d ./libiberty ] ; then \
fi
### texinfo
-.PHONY: all-texinfo stmp-texinfo
-all-texinfo: stmp-libiberty stmp-texinfo
-stmp-texinfo:
+all-texinfo: .stmp-libiberty .stmp-texinfo
+.stmp-texinfo:
if [ -d ./texinfo ] ; then \
rootme=`pwd` ; export rootme ; \
rootme=`pwd` ; export rootme ; \
else \
true ; \
fi
- touch stmp-texinfo
+ touch .stmp-texinfo
clean-texinfo: force
if [ -d ./texinfo ] ; then \
fi
### bfd
-.PHONY: all-bfd stmp-bfd
-all-bfd: stmp-bfd
-stmp-bfd:
+all-bfd: .stmp-bfd
+.stmp-bfd:
if [ -d ./bfd ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./bfd; \
else \
true ; \
fi
- touch stmp-bfd
+ touch .stmp-bfd
clean-bfd: force
if [ -d ./bfd ] ; then \
fi
### binutils
-.PHONY: all-binutils stmp-binutils
-all-binutils: stmp-libiberty stmp-bfd stmp-binutils
-stmp-binutils:
+all-binutils: .stmp-libiberty .stmp-bfd .stmp-binutils
+.stmp-binutils:
if [ -d ./binutils ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./binutils; \
else \
true ; \
fi
- touch stmp-binutils
+ touch .stmp-binutils
clean-binutils: force
if [ -d ./binutils ] ; then \
fi
### newlib
-.PHONY: all-newlib stmp-newlib
-all-newlib: stmp-newlib
-stmp-newlib:
+all-newlib: .stmp-newlib
+.stmp-newlib:
if [ -d ./newlib ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./newlib; \
else \
true ; \
fi
- touch stmp-newlib
+ touch .stmp-newlib
clean-newlib: force
if [ -d ./newlib ] ; then \
fi
### byacc
-.PHONY: all-byacc stmp-byacc
-all-byacc: stmp-byacc
-stmp-byacc:
+all-byacc: .stmp-byacc
+.stmp-byacc:
if [ -d ./byacc ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./byacc; \
else \
true ; \
fi
- touch stmp-byacc
+ touch .stmp-byacc
clean-byacc: force
if [ -d ./byacc ] ; then \
fi
### bison
-.PHONY: all-bison stmp-bison
-all-bison: stmp-libiberty stmp-bison
-stmp-bison:
+all-bison: .stmp-libiberty .stmp-bison
+.stmp-bison:
if [ -d ./bison ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./bison; \
else \
true ; \
fi
- touch stmp-bison
+ touch .stmp-bison
clean-bison: force
if [ -d ./bison ] ; then \
fi
### gcc
-.PHONY: all-gcc stmp-gcc
-all-gcc: stmp-libiberty stmp-bison stmp-gas
-stmp-gcc:
+all-gcc: .stmp-libiberty .stmp-bison .stmp-gas
+.stmp-gcc:
if [ -d ./gcc ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./gcc; \
else \
true ; \
fi
- touch stmp-gcc
+ touch .stmp-gcc
clean-gcc: force
if [ -d ./gcc ] ; then \
fi
### readline
-.PHONY: all-readline stmp-readline
-all-readline: stmp-readline
-stmp-readline:
+all-readline: .stmp-readline
+.stmp-readline:
if [ -d ./readline ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./readline; \
else \
true ; \
fi
- touch stmp-readline
+ touch .stmp-readline
clean-readline: force
if [ -d ./readline ] ; then \
fi
### glob
-.PHONY: all-glob stmp-glob
-all-glob: stmp-glob
-stmp-glob:
+all-glob: .stmp-glob
+.stmp-glob:
if [ -d ./glob ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./glob; \
else \
true ; \
fi
- touch stmp-glob
+ touch .stmp-glob
clean-glob: force
if [ -d ./glob ] ; then \
fi
### gas
-.PHONY: all-gas stmp-gas
-all-gas: stmp-libiberty stmp-bfd stmp-gas
-stmp-gas:
+all-gas: .stmp-libiberty .stmp-bfd .stmp-gas
+.stmp-gas:
if [ -d ./gas ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./gas; \
else \
true ; \
fi
- touch stmp-gas
+ touch .stmp-gas
clean-gas: force
if [ -d ./gas ] ; then \
fi
### ld
-.PHONY: all-ld stmp-ld
-all-ld: stmp-libiberty stmp-bfd stmp-bison stmp-ld
-stmp-ld:
+all-ld: .stmp-libiberty .stmp-bfd .stmp-bison .stmp-ld
+.stmp-ld:
if [ -d ./ld ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./ld; \
else \
true ; \
fi
- touch stmp-ld
+ touch .stmp-ld
clean-ld: force
if [ -d ./ld ] ; then \
fi
### libgcc (and libgcc1)
-.PHONY: all-libgcc stmp-libgcc1 stmp-libgcc
-all-libgcc1: all-gas all-binutils stmp-libgcc1
-stmp-libgcc1:
+all-libgcc1: all-gas all-binutils .stmp-libgcc1
+.stmp-libgcc1:
if [ -d ./libgcc ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./libgcc; \
else \
true ; \
fi
- touch stmp-libgcc1
+ touch .stmp-libgcc1
clean-libgcc1: force
if [ -d ./libgcc ] ; then \
install-libgcc1: force
echo libgcc1 is a component, not an installable target
-all-libgcc: all-gas all-gcc all-binutils stmp-libgcc
-stmp-libgcc:
+all-libgcc: all-gas all-gcc all-binutils .stmp-libgcc
+.stmp-libgcc:
true
if [ -d ./libgcc ] ; then \
rootme=`pwd` ; export rootme ; \
else \
true ; \
fi
- touch stmp-libgcc
+ touch .stmp-libgcc
clean-libgcc: force
if [ -d ./libgcc ] ; then \
fi
### gdb
-.PHONY: all-gdb stmp-gdb
-all-gdb: stmp-bfd stmp-libiberty stmp-readline stmp-glob stmp-bison stmp-gdb
-stmp-gdb:
+all-gdb: .stmp-bfd .stmp-libiberty .stmp-readline .stmp-glob .stmp-bison .stmp-gdb
+.stmp-gdb:
if [ -d ./gdb ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./gdb; \
else \
true ; \
fi
- touch stmp-gdb
+ touch .stmp-gdb
clean-gdb: force
if [ -d ./gdb ] ; then \
fi
### make
-.PHONY: all-make stmp-make
-all-make: all-libiberty stmp-make
-stmp-make:
+all-make: all-libiberty .stmp-make
+.stmp-make:
if [ -d ./make ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./make; \
else \
true ; \
fi
- touch stmp-make
+ touch .stmp-make
clean-make: force
if [ -d ./make ] ; then \
fi
### diff
-.PHONY: all-diff stmp-diff
-all-diff: stmp-diff
-stmp-diff:
+all-diff: .stmp-diff
+.stmp-diff:
if [ -d ./diff ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./diff; \
else \
true ; \
fi
- touch stmp-diff
+ touch .stmp-diff
clean-diff: force
if [ -d ./diff ] ; then \
fi
### grep
-.PHONY: all-grep stmp-grep
-all-grep: stmp-grep
-stmp-grep:
+all-grep: .stmp-grep
+.stmp-grep:
if [ -d ./grep ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./grep; \
else \
true ; \
fi
- touch stmp-grep
+ touch .stmp-grep
clean-grep: force
if [ -d ./grep ] ; then \
fi
### rcs
-.PHONY: all-rcs stmp-rcs
-all-rcs: stmp-diff stmp-grep stmp-rcs
-stmp-rcs:
+all-rcs: .stmp-diff .stmp-grep .stmp-rcs
+.stmp-rcs:
if [ -d ./rcs ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./rcs; \
else \
true ; \
fi
- touch stmp-rcs
+ touch .stmp-rcs
clean-rcs: force
if [ -d ./rcs ] ; then \
fi
### gdbm
-.PHONY: all-gdbm stmp-gdbm
-all-gdbm: stmp-gdbm
-stmp-gdbm: force
+all-gdbm: .stmp-gdbm
+.stmp-gdbm:
if [ -d ./gdbm ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./gdbm; \
else \
true ; \
fi
- touch stmp-gdbm
+ touch .stmp-gdbm
clean-gdbm: force
if [ -d ./gdbm ] ; then \
fi
### cvs
-.PHONY: all-cvs stmp-cvs
-all-cvs: stmp-cvs stmp-rcs stmp-grep stmp-diff
-stmp-cvs: stmp-gdbm force
+
+all-cvs: .stmp-cvs .stmp-rcs .stmp-grep .stmp-diff
+.stmp-cvs: .stmp-gdbm force
if [ -d ./cvs ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./cvs; \
else \
true ; \
fi
- touch stmp-cvs
+ touch .stmp-cvs
clean-cvs: clean-gdbm force
if [ -d ./cvs ] ; then \
fi
### patch
-.PHONY: all-patch stmp-patch
-all-patch: stmp-patch
-stmp-patch: force
+all-patch: .stmp-patch
+.stmp-patch: force
if [ -d ./patch ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./patch; \
else \
true ; \
fi
- touch stmp-patch
+ touch .stmp-patch
clean-patch: force
if [ -d ./patch ] ; then \
fi
### emacs
-.PHONY: all-emacs stmp-emacs
-all-emacs: stmp-emacs
-stmp-emacs: force
+all-emacs: .stmp-emacs
+.stmp-emacs: force
if [ -d ./emacs ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./emacs; \
else \
true ; \
fi
- touch stmp-emacs
+ touch .stmp-emacs
clean-emacs: force
if [ -d ./emacs ] ; then \
fi
### ispell
-.PHONY: all-ispell stmp-ispell
-all-ispell: stmp-ispell
-stmp-ispell: all-emacs force
+all-ispell: .stmp-ispell
+.stmp-ispell: all-emacs force
if [ -d ./ispell ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./ispell; \
else \
true ; \
fi
- touch stmp-ispell
+ touch .stmp-ispell
clean-ispell: force
if [ -d ./ispell ] ; then \
true ; \
fi
-### flex
-.PHONY: all-flex stmp-flex
-all-flex: stmp-flex
-stmp-flex: force
- if [ -d ./flex ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./flex; \
- $(MAKE) \
- "against=$(against)" \
- "AR=$(AR)" \
- "AR_FLAGS=$(AR_FLAGS)" \
- "CC=$(CC)" \
- "RANLIB=$(RANLIB)" \
- "LOADLIBES=$(LOADLIBES)" \
- "LDFLAGS=$(LDFLAGS)" \
- "BISON=$(BISON)" \
- "MAKEINFO=$(MAKEINFO)" \
- all) ; \
- else \
- true ; \
- fi
- touch stmp-flex
-
-clean-flex: force
- if [ -d ./flex ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./flex; \
- $(MAKE) \
- "against=$(against)" \
- "AR=$(AR)" \
- "AR_FLAGS=$(AR_FLAGS)" \
- "CC=$(CC)" \
- "RANLIB=$(RANLIB)" \
- "LOADLIBES=$(LOADLIBES)" \
- "LDFLAGS=$(LDFLAGS)" \
- "BISON=$(BISON)" \
- "MAKEINFO=$(MAKEINFO)" \
- clean) ; \
- else \
- true ; \
- fi
-
-install-flex: force
- if [ -d ./flex ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./flex; \
- $(MAKE) \
- "against=$(against)" \
- "AR=$(AR)" \
- "AR_FLAGS=$(AR_FLAGS)" \
- "CC=$(CC)" \
- "RANLIB=$(RANLIB)" \
- "LOADLIBES=$(LOADLIBES)" \
- "LDFLAGS=$(LDFLAGS)" \
- "BISON=$(BISON)" \
- "MAKEINFO=$(MAKEINFO)" \
- install) ; \
- else \
- true ; \
- fi
-
### fileutils
-.PHONY: all-fileutils stmp-fileutils
-all-fileutils: stmp-fileutils
-stmp-fileutils: force
+all-fileutils: .stmp-fileutils
+.stmp-fileutils: force
if [ -d ./fileutils ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./fileutils; \
else \
true ; \
fi
- touch stmp-fileutils
+ touch .stmp-fileutils
clean-fileutils: force
if [ -d ./fileutils ] ; then \
fi
### libg++
-.PHONY: all-libg++ stmp-libg++
-all-libg++: stmp-gas stmp-ld stmp-gcc stmp-libg++
-stmp-libg++: stmp-gcc force
+GXX = `if [ -d $${rootme}/gcc ] ; \
+ then echo $${rootme}/gcc/gcc -B$${rootme}/gcc/ ; \
+ else echo gcc ; fi`
+
+XTRAFLAGS = `if [ -d $${rootme}/gcc ] ; \
+ then echo -I$${rootme}/gcc/include ; \
+ else echo ; fi`
+
+all-libg++: .stmp-gas .stmp-ld .stmp-gcc .stmp-libg++
+.stmp-libg++: .stmp-gcc
if [ -d ./libg++ ] ; then \
rootme=`pwd` ; export rootme ; \
(cd ./libg++; \
"against=$(against)" \
"AR=$(AR)" \
"AR_FLAGS=$(AR_FLAGS)" \
- "CC=$${rootme}/gcc/gcc -B$${rootme}/gcc/" \
+ "CC=${GXX}" \
+ "XTRAFLAGS=${XTRAFLAGS}" \
"RANLIB=$(RANLIB)" \
"LOADLIBES=$(LOADLIBES)" \
"LDFLAGS=$(LDFLAGS)" \
else \
true ; \
fi
- touch stmp-libgxx
+ touch .stmp-libg++
clean-libg++: force
if [ -d ./libg++ ] ; then \