OTHERS =
ALL = all.normal
+INSTALL_TARGET = install.all
### for debugging
#GCCVERBOSE=-v
# clib prms
all.normal: all-texinfo all-bison all-ld all-gnulib all-gdb all-make \
all-cvs all-emacs all-ispell
+all.cross: all-bison all-ld all-gnulib all-gdb
# $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
clean: clean-libiberty clean-texinfo clean-bfd clean-binutils clean-bison \
clean-cvs clean-emacs clean-ispell
rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
-install: install-dirs install-libiberty install-texinfo install-binutils install-bison \
+install: $(INSTALL_TARGET)
+
+install.all: install-dirs install-libiberty install-texinfo install-binutils install-bison \
install-byacc install-ld install-gas install-gnulib \
install-readline install-glob install-gdb install-make install-cvs \
install-emacs install-ispell
-
+install.cross: install-dirs install-libiberty install-binutils install-bison \
+ install-byacc install-ld install-gas install-gnulib \
+ install-readline install-glob install-gdb
\f
### libiberty
.PHONY: all-libiberty just-libiberty
all-libiberty: just-libiberty
just-libiberty: force
- [ -d $(unsubdir)/libiberty ] && (cd $(unsubdir)/libiberty$(subdir); \
+ if [ -d $(unsubdir)/libiberty ] ; then \
+ (cd $(unsubdir)/libiberty$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-libiberty: force
- [ -d $(unsubdir)/libiberty ] && (cd $(unsubdir)/libiberty$(subdir); \
+ if [ -d $(unsubdir)/libiberty ] ; then \
+ (cd $(unsubdir)/libiberty$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-libiberty: force
- [ -d $(unsubdir)/libiberty ] && (cd $(unsubdir)/libiberty$(subdir); \
+ if [ -d $(unsubdir)/libiberty ] ; then \
+ (cd $(unsubdir)/libiberty$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### texinfo
.PHONY: all-texinfo just-texinfo
all-texinfo: just-texinfo
just-texinfo: just-libiberty force
- [ -d $(unsubdir)/texinfo ] && (cd $(unsubdir)/texinfo$(subdir); \
+ if [ -d $(unsubdir)/texinfo ] ; then \
+ (cd $(unsubdir)/texinfo$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-texinfo: force
- [ -d $(unsubdir)/texinfo ] && (cd $(unsubdir)/texinfo$(subdir); \
+ if [ -d $(unsubdir)/texinfo ] ; then \
+ (cd $(unsubdir)/texinfo$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-texinfo: force
- [ -d $(unsubdir)/texinfo ] && (cd $(unsubdir)/texinfo$(subdir); \
+ if [ -d $(unsubdir)/texinfo ] ; then \
+ (cd $(unsubdir)/texinfo$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### bfd
.PHONY: all-bfd just-bfd
all-bfd: just-bfd
just-bfd: force
- [ -d $(unsubdir)/bfd ] && (cd $(unsubdir)/bfd$(subdir); \
+ if [ -d $(unsubdir)/bfd ] ; then \
+ (cd $(unsubdir)/bfd$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-bfd: force
- [ -d $(unsubdir)/bfd ] && (cd $(unsubdir)/bfd$(subdir); \
+ if [ -d $(unsubdir)/bfd ] ; then \
+ (cd $(unsubdir)/bfd$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-bfd: force
- [ -d $(unsubdir)/bfd ] && (cd $(unsubdir)/bfd$(subdir); \
+ if [ -d $(unsubdir)/bfd ] ; then \
+ (cd $(unsubdir)/bfd$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### binutils
.PHONY: all-binutils just-binutils
all-binutils: just-binutils
just-binutils: just-libiberty just-bfd force
- [ -d $(unsubdir)/binutils ] && (cd $(unsubdir)/binutils$(subdir); \
+ if [ -d $(unsubdir)/binutils ] ; then \
+ (cd $(unsubdir)/binutils$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-binutils: force
- [ -d $(unsubdir)/binutils ] && (cd $(unsubdir)/binutils$(subdir); \
+ if [ -d $(unsubdir)/binutils ] ; then \
+ (cd $(unsubdir)/binutils$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-binutils: force
- [ -d $(unsubdir)/binutils ] && (cd $(unsubdir)/binutils$(subdir); \
+ if [ -d $(unsubdir)/binutils ] ; then \
+ (cd $(unsubdir)/binutils$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### byacc
.PHONY: all-byacc just-byacc
all-byacc: just-byacc
just-byacc: force
- [ -d $(unsubdir)/byacc ] && (cd $(unsubdir)/byacc$(subdir); \
+ if [ -d $(unsubdir)/byacc ] ; then \
+ (cd $(unsubdir)/byacc$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-byacc: force
- [ -d $(unsubdir)/byacc ] && (cd $(unsubdir)/byacc$(subdir); \
+ if [ -d $(unsubdir)/byacc ] ; then \
+ (cd $(unsubdir)/byacc$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-byacc: force
- [ -d $(unsubdir)/byacc ] && (cd $(unsubdir)/byacc$(subdir); \
+ if [ -d $(unsubdir)/byacc ] ; then \
+ (cd $(unsubdir)/byacc$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### bison
.PHONY: all-bison just-bison
all-bison: just-bison
just-bison: just-libiberty force
- [ -d $(unsubdir)/bison ] && (cd $(unsubdir)/bison$(subdir); \
+ if [ -d $(unsubdir)/bison ] ; then \
+ (cd $(unsubdir)/bison$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-bison: force
- [ -d $(unsubdir)/bison ] && (cd $(unsubdir)/bison$(subdir); \
+ if [ -d $(unsubdir)/bison ] ; then \
+ (cd $(unsubdir)/bison$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-bison: force
- [ -d $(unsubdir)/bison ] && (cd $(unsubdir)/bison$(subdir); \
+ if [ -d $(unsubdir)/bison ] ; then \
+ (cd $(unsubdir)/bison$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### gcc
.PHONY: all-gcc just-gcc
all-gcc: just-gcc
just-gcc: just-libiberty just-byacc force
- [ -d $(unsubdir)/gcc ] && (cd $(unsubdir)/gcc$(subdir); \
+ if [ -d $(unsubdir)/gcc ] ; then \
+ (cd $(unsubdir)/gcc$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-gcc: force
- [ -d $(unsubdir)/gcc ] && (cd $(unsubdir)/gcc$(subdir); \
+ if [ -d $(unsubdir)/gcc ] ; then \
+ (cd $(unsubdir)/gcc$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-gcc:
- [ -d $(unsubdir)/gcc ] && (cd $(unsubdir)/gcc$(subdir); \
+ if [ -d $(unsubdir)/gcc ] ; then \
+ (cd $(unsubdir)/gcc$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### readline
.PHONY: all-readline just-readline
all-readline: just-readline
just-readline: force
- [ -d $(unsubdir)/readline ] && (cd $(unsubdir)/readline$(subdir); \
+ if [ -d $(unsubdir)/readline ] ; then \
+ (cd $(unsubdir)/readline$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-readline: force
- [ -d $(unsubdir)/readline ] && (cd $(unsubdir)/readline$(subdir); \
+ if [ -d $(unsubdir)/readline ] ; then \
+ (cd $(unsubdir)/readline$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-readline: force
- [ -d $(unsubdir)/readline ] && (cd $(unsubdir)/readline$(subdir); \
+ if [ -d $(unsubdir)/readline ] ; then \
+ (cd $(unsubdir)/readline$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### glob
.PHONY: all-glob just-glob
all-glob: just-glob
just-glob: force
- [ -d $(unsubdir)/glob ] && (cd $(unsubdir)/glob$(subdir); \
+ if [ -d $(unsubdir)/glob ] ; then \
+ (cd $(unsubdir)/glob$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-glob: force
- [ -d $(unsubdir)/glob ] && (cd $(unsubdir)/glob$(subdir); \
+ if [ -d $(unsubdir)/glob ] ; then \
+ (cd $(unsubdir)/glob$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-glob: force
- [ -d $(unsubdir)/glob ] && (cd $(unsubdir)/glob$(subdir); \
+ if [ -d $(unsubdir)/glob ] ; then \
+ (cd $(unsubdir)/glob$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### gas
.PHONY: all-gas just-gas
all-gas: just-gas
just-gas: just-libiberty just-bfd force
- [ -d $(unsubdir)/gas ] && (cd $(unsubdir)/gas$(subdir); \
+ if [ -d $(unsubdir)/gas ] ; then \
+ (cd $(unsubdir)/gas$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-gas: force
- [ -d $(unsubdir)/gas ] && (cd $(unsubdir)/gas$(subdir); \
+ if [ -d $(unsubdir)/gas ] ; then \
+ (cd $(unsubdir)/gas$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-gas: force
- [ -d $(unsubdir)/gas ] && (cd $(unsubdir)/gas$(subdir); \
+ if [ -d $(unsubdir)/gas ] ; then \
+ (cd $(unsubdir)/gas$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### ld
.PHONY: all-ld just-ld
all-ld: just-ld
just-ld: just-libiberty just-bfd just-byacc force
- [ -d $(unsubdir)/ld ] && (cd $(unsubdir)/ld$(subdir); \
+ if [ -d $(unsubdir)/ld ] ; then \
+ (cd $(unsubdir)/ld$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-ld: force
- [ -d $(unsubdir)/ld ] && (cd $(unsubdir)/ld$(subdir); \
+ if [ -d $(unsubdir)/ld ] ; then \
+ (cd $(unsubdir)/ld$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-ld: force
- [ -d $(unsubdir)/ld ] && (cd $(unsubdir)/ld$(subdir); \
+ if [ -d $(unsubdir)/ld ] ; then \
+ (cd $(unsubdir)/ld$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### gnulib
.PHONY: all-gnulib just-gnulib
all-gnulib: just-gnulib
just-gnulib: all-gcc all-gas all-binutils force
- [ -d $(unsubdir)/gnulib ] && (cd $(unsubdir)/gnulib$(subdir); \
+ if [ -d $(unsubdir)/gnulib ] ; then \
+ (cd $(unsubdir)/gnulib$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-gnulib: force
- [ -d $(unsubdir)/gnulib ] && (cd $(unsubdir)/gnulib$(subdir); \
+ if [ -d $(unsubdir)/gnulib ] ; then \
+ (cd $(unsubdir)/gnulib$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-gnulib: force
- [ -d $(unsubdir)/gnulib ] && (cd $(unsubdir)/gnulib$(subdir); \
+ if [ -d $(unsubdir)/gnulib ] ; then \
+ (cd $(unsubdir)/gnulib$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### gdb
.PHONY: all-gdb just-gdb
all-gdb: just-gdb
just-gdb: just-bfd just-libiberty just-readline just-glob force
- [ -d $(unsubdir)/gdb ] && (cd $(unsubdir)/gdb$(subdir); \
+ if [ -d $(unsubdir)/gdb ] ; then \
+ (cd $(unsubdir)/gdb$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-gdb: force
- [ -d $(unsubdir)/gdb ] && (cd $(unsubdir)/gdb$(subdir); \
+ if [ -d $(unsubdir)/gdb ] ; then \
+ (cd $(unsubdir)/gdb$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-gdb: force
- [ -d $(unsubdir)/gdb ] && (cd $(unsubdir)/gdb$(subdir); \
+ if [ -d $(unsubdir)/gdb ] ; then \
+ (cd $(unsubdir)/gdb$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### make
.PHONY: all-make just-make
all-make: just-make
just-make: all-libiberty force
- [ -d $(unsubdir)/make ] && (cd $(unsubdir)/make$(subdir); \
+ if [ -d $(unsubdir)/make ] ; then \
+ (cd $(unsubdir)/make$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-make: force
- [ -d $(unsubdir)/make ] && (cd $(unsubdir)/make$(subdir); \
+ if [ -d $(unsubdir)/make ] ; then \
+ (cd $(unsubdir)/make$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-make: force
- [ -d $(unsubdir)/make ] && (cd $(unsubdir)/make$(subdir); \
+ if [ -d $(unsubdir)/make ] ; then \
+ (cd $(unsubdir)/make$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### diff
.PHONY: all-diff just-diff
all-diff: just-diff
just-diff: force
- [ -d $(unsubdir)/diff ] && (cd $(unsubdir)/diff$(subdir); \
+ if [ -d $(unsubdir)/diff ] ; then \
+ (cd $(unsubdir)/diff$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-diff: force
- [ -d $(unsubdir)/diff ] && (cd $(unsubdir)/diff$(subdir); \
+ if [ -d $(unsubdir)/diff ] ; then \
+ (cd $(unsubdir)/diff$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-diff: force
- [ -d $(unsubdir)/diff ] && (cd $(unsubdir)/diff/$(subdir); \
+ if [ -d $(unsubdir)/diff ] ; then \
+ (cd $(unsubdir)/diff/$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### grep
.PHONY: all-grep just-grep
all-grep: just-grep
just-grep: force
- [ -d $(unsubdir)/grep ] && (cd $(unsubdir)/grep$(subdir); \
+ if [ -d $(unsubdir)/grep ] ; then \
+ (cd $(unsubdir)/grep$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-grep: force
- [ -d $(unsubdir)/grep ] && (cd $(unsubdir)/grep$(subdir); \
+ if [ -d $(unsubdir)/grep ] ; then \
+ (cd $(unsubdir)/grep$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-grep: force
- [ -d $(unsubdir)/grep ] && (cd $(unsubdir)/grep$(subdir); \
+ if [ -d $(unsubdir)/grep ] ; then \
+ (cd $(unsubdir)/grep$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### rcs
.PHONY: all-rcs just-rcs
all-rcs: just-rcs
just-rcs: just-diff just-grep force
- [ -d $(unsubdir)/rcs ] && (cd $(unsubdir)/rcs$(subdir); \
+ if [ -d $(unsubdir)/rcs ] ; then \
+ (cd $(unsubdir)/rcs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-rcs: force
- [ -d $(unsubdir)/rcs ] && (cd $(unsubdir)/rcs$(subdir); \
+ if [ -d $(unsubdir)/rcs ] ; then \
+ (cd $(unsubdir)/rcs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-rcs: install-grep install-diff force
- [ -d $(unsubdir)/rcs ] && (cd $(unsubdir)/rcs$(subdir); \
+ if [ -d $(unsubdir)/rcs ] ; then \
+ (cd $(unsubdir)/rcs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### gdbm
.PHONY: all-gdbm just-gdbm
all-gdbm: just-gdbm
just-gdbm: force
- [ -d $(unsubdir)/gdbm ] && (cd $(unsubdir)/gdbm$(subdir); \
+ if [ -d $(unsubdir)/gdbm ] ; then \
+ (cd $(unsubdir)/gdbm$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-gdbm: force
- [ -d $(unsubdir)/gdbm ] && (cd $(unsubdir)/gdbm$(subdir); \
+ if [ -d $(unsubdir)/gdbm ] ; then \
+ (cd $(unsubdir)/gdbm$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-gdbm: force
- [ -d $(unsubdir)/gdbm ] && (cd $(unsubdir)/gdbm$(subdir); \
+ if [ -d $(unsubdir)/gdbm ] ; then \
+ (cd $(unsubdir)/gdbm$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### cvs
.PHONY: all-cvs just-cvs
all-cvs: just-cvs just-rcs just-grep just-diff
just-cvs: just-gdbm force
- [ -d $(unsubdir)/cvs ] && (cd $(unsubdir)/cvs$(subdir); \
+ if [ -d $(unsubdir)/cvs ] ; then \
+ (cd $(unsubdir)/cvs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-cvs: force
- [ -d $(unsubdir)/cvs ] && (cd $(unsubdir)/cvs$(subdir); \
+ if [ -d $(unsubdir)/cvs ] ; then \
+ (cd $(unsubdir)/cvs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-cvs: install-rcs install-gdbm force
- [ -d $(unsubdir)/cvs ] && (cd $(unsubdir)/cvs$(subdir); \
+ if [ -d $(unsubdir)/cvs ] ; then \
+ (cd $(unsubdir)/cvs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### emacs
.PHONY: all-emacs just-emacs
all-emacs: just-emacs
just-emacs: force
- [ -d $(unsubdir)/emacs ] && (cd $(unsubdir)/emacs$(subdir); \
+ if [ -d $(unsubdir)/emacs ] ; then \
+ (cd $(unsubdir)/emacs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-emacs: force
- [ -d $(unsubdir)/emacs ] && (cd $(unsubdir)/emacs$(subdir); \
+ if [ -d $(unsubdir)/emacs ] ; then \
+ (cd $(unsubdir)/emacs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-emacs: install-rcs install-gdbm force
- [ -d $(unsubdir)/emacs ] && (cd $(unsubdir)/emacs$(subdir); \
+ if [ -d $(unsubdir)/emacs ] ; then \
+ (cd $(unsubdir)/emacs$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### ispell
.PHONY: all-ispell just-ispell
all-ispell: just-ispell
just-ispell: all-emacs force
- [ -d $(unsubdir)/ispell ] && (cd $(unsubdir)/ispell$(subdir); \
+ if [ -d $(unsubdir)/ispell ] ; then \
+ (cd $(unsubdir)/ispell$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- all)
+ all) ; \
+ else \
+ true ; \
+ fi
clean-ispell: force
- [ -d $(unsubdir)/ispell ] && (cd $(unsubdir)/ispell$(subdir); \
+ if [ -d $(unsubdir)/ispell ] ; then \
+ (cd $(unsubdir)/ispell$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- clean)
+ clean) ; \
+ else \
+ true ; \
+ fi
install-ispell: install-rcs install-gdbm force
- [ -d $(unsubdir)/ispell ] && (cd $(unsubdir)/ispell$(subdir); \
+ if [ -d $(unsubdir)/ispell ] ; then \
+ (cd $(unsubdir)/ispell$(subdir); \
$(MAKE) \
"against=$(against)" \
"AR=$(AR)" \
"LDFLAGS=$(LDFLAGS)" \
"BISON=$(BISON)" \
"MAKEINFO=$(MAKEINFO)" \
- install)
+ install) ; \
+ else \
+ true ; \
+ fi
\f
### other supporting targets
# this is a bad hack.