1991-04-04 19:01:18 +00:00
|
|
|
#
|
1991-04-11 02:41:53 +00:00
|
|
|
# Makefile for directory with subdirs to build.
|
1992-03-11 02:01:42 +00:00
|
|
|
# Copyright (C) 1990, 1991, 1992 Free Software Foundation
|
1991-04-04 19:01:18 +00:00
|
|
|
#
|
1991-08-22 07:15:49 +00:00
|
|
|
# This file is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
|
|
#
|
1991-04-13 07:40:41 +00:00
|
|
|
|
1991-04-04 19:01:18 +00:00
|
|
|
srcdir = .
|
1991-11-01 00:25:28 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
prefix = /usr/local
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1992-03-11 02:01:42 +00:00
|
|
|
exec_prefix = $(prefix)
|
|
|
|
bindir = $(exec_prefix)/bin
|
|
|
|
libdir = $(exec_prefix)/lib
|
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
datadir = $(prefix)/lib
|
1992-03-11 02:01:42 +00:00
|
|
|
mandir = $(prefix)/man
|
1991-12-07 08:20:18 +00:00
|
|
|
man1dir = $(mandir)/man1
|
|
|
|
man2dir = $(mandir)/man2
|
|
|
|
man3dir = $(mandir)/man3
|
|
|
|
man4dir = $(mandir)/man4
|
|
|
|
man5dir = $(mandir)/man5
|
|
|
|
man6dir = $(mandir)/man6
|
|
|
|
man7dir = $(mandir)/man7
|
|
|
|
man8dir = $(mandir)/man8
|
|
|
|
man9dir = $(mandir)/man9
|
1992-03-11 02:01:42 +00:00
|
|
|
infodir = $(prefix)/info
|
1991-12-07 08:20:18 +00:00
|
|
|
includedir = $(prefix)/include
|
|
|
|
docdir = $(datadir)/doc
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
INSTALL = install -c
|
|
|
|
INSTALL_PROGRAM = $(INSTALL)
|
|
|
|
INSTALL_DATA = $(INSTALL)
|
1991-08-25 23:40:24 +00:00
|
|
|
|
1991-04-13 02:12:45 +00:00
|
|
|
AR = ar
|
1992-01-06 02:57:58 +00:00
|
|
|
AR_FLAGS = qc
|
1991-12-07 08:20:18 +00:00
|
|
|
RANLIB = ranlib
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1992-02-13 00:20:17 +00:00
|
|
|
BISON = `if [ -d $${rootme}/bison ] ; \
|
|
|
|
then echo $${rootme}/bison/bison -L $${rootme}/bison/ -y ; \
|
1992-01-18 02:03:00 +00:00
|
|
|
else echo bison -y ; fi`
|
1991-07-27 07:46:34 +00:00
|
|
|
|
1992-02-13 00:20:17 +00:00
|
|
|
MAKEINFO = `if [ -d $${rootme}/texinfo/C ] ; \
|
|
|
|
then echo $${rootme}/texinfo/C/makeinfo ; \
|
|
|
|
else echo makeinfo ; fi`
|
1991-11-13 09:23:05 +00:00
|
|
|
|
1992-03-20 00:51:23 +00:00
|
|
|
SUBDIRS = libiberty mmalloc glob readline bfd gdb binutils ld gas gcc libg++ libgcc clib newlib
|
1991-04-24 16:52:32 +00:00
|
|
|
OTHERS =
|
|
|
|
|
1991-10-25 02:14:50 +00:00
|
|
|
ALL = all.normal
|
1991-12-10 00:49:07 +00:00
|
|
|
INSTALL_TARGET = install.all
|
1991-11-11 10:17:11 +00:00
|
|
|
|
|
|
|
### for debugging
|
|
|
|
#GCCVERBOSE=-v
|
|
|
|
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-04-04 19:01:18 +00:00
|
|
|
#### host and target specific makefile fragments come in here.
|
1991-04-13 02:12:45 +00:00
|
|
|
###
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
.PHONY: all info install-info clean-info
|
|
|
|
|
1991-10-25 02:14:50 +00:00
|
|
|
all: $(ALL)
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-02-25 01:08:38 +00:00
|
|
|
info: cfg-paper.info configure.info
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; $(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)" "MAKEINFO=$(MAKEINFO)"
|
1991-11-21 08:42:27 +00:00
|
|
|
|
1992-03-11 02:01:42 +00:00
|
|
|
check:; rootme=`pwd` ; export rootme ; $(MAKE) subdir_do DO=check \
|
|
|
|
"DODIRS=`echo $(SUBDIRS) | sed -e \"s/libg\+\+//\"" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)"
|
|
|
|
if [ -d libg++ ] ; then \
|
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd libg++ ; \
|
|
|
|
$(MAKE) check "CC=$${rootme}/gcc/gcc \
|
|
|
|
-B$${rootme}/gcc/") ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
1991-12-28 01:27:15 +00:00
|
|
|
clean-info:
|
|
|
|
$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)"
|
1992-02-25 01:08:38 +00:00
|
|
|
rm -f cfg-paper.info* configure.info*
|
1991-12-28 01:27:15 +00:00
|
|
|
|
1991-12-19 00:22:09 +00:00
|
|
|
cfg-paper.info: cfg-paper.texi
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; $(MAKEINFO) -o cfg-paper.info $(srcdir)/cfg-paper.texi
|
1991-12-19 00:22:09 +00:00
|
|
|
|
1991-12-13 11:54:57 +00:00
|
|
|
configure.info: configure.texi
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; $(MAKEINFO) -o configure.info $(srcdir)/configure.texi
|
1991-12-13 11:54:57 +00:00
|
|
|
|
1991-12-12 06:25:48 +00:00
|
|
|
install-info: install-info-dirs force
|
1992-02-25 01:08:38 +00:00
|
|
|
[ -d $(infodir) ] || mkdir $(infodir)
|
1991-11-21 08:42:27 +00:00
|
|
|
$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)"
|
1991-12-19 00:22:09 +00:00
|
|
|
$(INSTALL_DATA) cfg-paper.info $(infodir)/cfg-paper.info
|
1992-02-08 08:57:08 +00:00
|
|
|
$(INSTALL_DATA) configure.info $(infodir)/configure.info
|
1991-12-12 06:25:48 +00:00
|
|
|
$(MAKE) dir.info install-dir.info
|
|
|
|
|
|
|
|
install-dir.info:
|
|
|
|
$(INSTALL_DATA) dir.info $(infodir)/dir.info
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-03-27 22:08:47 +00:00
|
|
|
all.normal: .stmp-libiberty .stmp-mmalloc .stmp-texinfo .stmp-bison \
|
|
|
|
.stmp-byacc .stmp-bfd .stmp-ld .stmp-gas .stmp-gcc \
|
|
|
|
.stmp-binutils .stmp-libg++ .stmp-readline .stmp-gdb \
|
|
|
|
.stmp-make .stmp-rcs .stmp-cvs .stmp-diff .stmp-grep \
|
|
|
|
.stmp-patch .stmp-emacs .stmp-ispell .stmp-fileutils \
|
1992-03-31 06:35:16 +00:00
|
|
|
.stmp-newlib .stmp-gprof .stmp-send_pr
|
1992-03-20 00:51:23 +00:00
|
|
|
all.cross: .stmp-libiberty .stmp-mmalloc .stmp-gas .stmp-bison .stmp-ld \
|
1992-03-20 00:53:45 +00:00
|
|
|
.stmp-bfd .stmp-libgcc .stmp-readline .stmp-gdb
|
1991-12-07 08:20:18 +00:00
|
|
|
# $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
|
|
|
|
|
1992-03-20 00:51:23 +00:00
|
|
|
clean: clean-stamps clean-libiberty clean-mmalloc clean-texinfo clean-bfd \
|
|
|
|
clean-newlib clean-binutils \
|
1992-03-11 05:57:50 +00:00
|
|
|
clean-bison clean-byacc clean-ld clean-gas \
|
1992-03-11 02:01:42 +00:00
|
|
|
clean-gcc clean-libgcc clean-readline clean-glob clean-gdb \
|
1991-12-28 01:27:15 +00:00
|
|
|
clean-make clean-diff clean-grep clean-rcs clean-gdbm \
|
1992-03-11 02:01:42 +00:00
|
|
|
clean-cvs clean-patch clean-emacs clean-ispell clean-fileutils \
|
1992-03-31 06:35:16 +00:00
|
|
|
clean-libg++ clean-gprof clean-send_pr
|
1992-03-11 02:01:42 +00:00
|
|
|
-rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
|
|
|
|
|
|
|
|
clean-stamps:
|
1992-03-11 05:57:50 +00:00
|
|
|
-rm -f .stmp-*
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-01-06 02:57:58 +00:00
|
|
|
install: $(INSTALL_TARGET) $(srcdir)/configure.man
|
|
|
|
$(INSTALL_DATA) $(srcdir)/configure.man $(man1dir)/configure.1
|
1991-12-10 00:49:07 +00:00
|
|
|
|
1992-03-27 22:08:47 +00:00
|
|
|
|
1992-03-20 00:51:23 +00:00
|
|
|
install.all: install-dirs install-libiberty install-mmalloc install-texinfo \
|
1992-03-11 02:01:42 +00:00
|
|
|
install-bfd install-binutils install-bison install-byacc \
|
1992-03-27 22:08:47 +00:00
|
|
|
install-ld install-gas install-gcc install-gprof \
|
1992-03-11 02:01:42 +00:00
|
|
|
install-libgcc install-readline install-glob install-gdb \
|
|
|
|
install-make install-cvs install-patch install-emacs \
|
1992-03-31 06:35:16 +00:00
|
|
|
install-ispell install-fileutils install-libg++ install-newlib \
|
|
|
|
install-send_pr
|
1992-03-11 02:01:42 +00:00
|
|
|
|
1992-03-20 00:51:23 +00:00
|
|
|
install.cross: install-dirs install-libiberty install-mmalloc install-binutils \
|
|
|
|
install-bison install-byacc install-ld install-gas install-libgcc \
|
1992-03-27 22:08:47 +00:00
|
|
|
install-readline install-glob install-gdb install-mmalloc install-gprof
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### libiberty
|
1992-03-11 05:57:50 +00:00
|
|
|
all-libiberty: .stmp-libiberty
|
|
|
|
.stmp-libiberty:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libiberty ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libiberty; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-libiberty
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-libiberty: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libiberty ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libiberty; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-libiberty: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libiberty ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libiberty; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1992-03-20 00:51:23 +00:00
|
|
|
### mmalloc
|
|
|
|
all-mmalloc: .stmp-mmalloc
|
|
|
|
.stmp-mmalloc:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./mmalloc ] ; then \
|
1992-03-20 00:51:23 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./mmalloc; \
|
|
|
|
$(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-mmalloc
|
|
|
|
|
|
|
|
clean-mmalloc: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./mmalloc ] ; then \
|
1992-03-20 00:51:23 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./mmalloc; \
|
|
|
|
$(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-mmalloc: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./mmalloc ] ; then \
|
1992-03-20 00:51:23 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./mmalloc; \
|
|
|
|
$(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
|
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### texinfo
|
1992-03-11 05:57:50 +00:00
|
|
|
all-texinfo: .stmp-libiberty .stmp-texinfo
|
|
|
|
.stmp-texinfo:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./texinfo ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./texinfo; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-texinfo
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-texinfo: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./texinfo ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./texinfo; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-texinfo: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./texinfo ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./texinfo; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### bfd
|
1992-03-11 05:57:50 +00:00
|
|
|
all-bfd: .stmp-bfd
|
|
|
|
.stmp-bfd:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./bfd ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./bfd; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-bfd
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-bfd: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./bfd ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./bfd; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-bfd: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./bfd ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./bfd; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### binutils
|
1992-03-11 05:57:50 +00:00
|
|
|
all-binutils: .stmp-libiberty .stmp-bfd .stmp-binutils
|
|
|
|
.stmp-binutils:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./binutils ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./binutils; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-binutils
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-binutils: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./binutils ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./binutils; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-binutils: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./binutils ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./binutils; \
|
|
|
|
$(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
|
|
|
|
|
|
|
|
### newlib
|
1992-03-11 05:57:50 +00:00
|
|
|
all-newlib: .stmp-newlib
|
|
|
|
.stmp-newlib:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./newlib ] ; then \
|
1992-03-11 02:01:42 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./newlib; \
|
|
|
|
$(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
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-newlib
|
1992-03-11 02:01:42 +00:00
|
|
|
|
|
|
|
clean-newlib: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./newlib ] ; then \
|
1992-03-11 02:01:42 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./newlib; \
|
|
|
|
$(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-newlib: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./newlib ] ; then \
|
1992-03-11 02:01:42 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./newlib; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1992-03-27 22:08:47 +00:00
|
|
|
### gprof
|
|
|
|
.PHONY: all-gprof just-gprof
|
|
|
|
all-gprof: .stmp-gprof
|
1992-03-31 06:35:16 +00:00
|
|
|
.stmp-gprof: .stmp-libiberty .stmp-bfd
|
|
|
|
@if [ -d ./gprof ] ; then \
|
1992-03-27 22:08:47 +00:00
|
|
|
(cd ./gprof; \
|
|
|
|
$(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-gprof
|
|
|
|
|
|
|
|
clean-gprof: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d $(unsubdir)/gprof ] ; then \
|
1992-03-27 22:08:47 +00:00
|
|
|
(cd $(unsubdir)/gprof$(subdir); \
|
|
|
|
$(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-gprof: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d $(unsubdir)/gprof ] ; then \
|
1992-03-27 22:08:47 +00:00
|
|
|
(cd $(unsubdir)/gprof$(subdir); \
|
|
|
|
$(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
|
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### byacc
|
1992-03-11 05:57:50 +00:00
|
|
|
all-byacc: .stmp-byacc
|
|
|
|
.stmp-byacc:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./byacc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./byacc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-byacc
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-byacc: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./byacc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./byacc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-byacc: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./byacc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./byacc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### bison
|
1992-03-11 05:57:50 +00:00
|
|
|
all-bison: .stmp-libiberty .stmp-bison
|
|
|
|
.stmp-bison:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./bison ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./bison; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
1992-02-25 01:08:38 +00:00
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
1991-12-07 08:20:18 +00:00
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-bison
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-bison: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./bison ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./bison; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
1992-02-25 01:08:38 +00:00
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
1991-12-07 08:20:18 +00:00
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-bison: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./bison ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./bison; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
1992-02-25 01:08:38 +00:00
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
1991-12-07 08:20:18 +00:00
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### gcc
|
1992-03-11 15:42:34 +00:00
|
|
|
all-gcc: .stmp-libiberty .stmp-bison .stmp-gas .stmp-gcc
|
1992-03-11 05:57:50 +00:00
|
|
|
.stmp-gcc:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gcc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gcc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-gcc
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-gcc: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gcc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gcc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-gcc:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gcc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gcc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### readline
|
1992-03-11 05:57:50 +00:00
|
|
|
all-readline: .stmp-readline
|
|
|
|
.stmp-readline:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./readline ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./readline; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-readline
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-readline: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./readline ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./readline; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-readline: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./readline ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./readline; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### glob
|
1992-03-11 05:57:50 +00:00
|
|
|
all-glob: .stmp-glob
|
|
|
|
.stmp-glob:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./glob ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./glob; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-glob
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-glob: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./glob ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./glob; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-glob: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./glob ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./glob; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### gas
|
1992-03-11 05:57:50 +00:00
|
|
|
all-gas: .stmp-libiberty .stmp-bfd .stmp-gas
|
|
|
|
.stmp-gas:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gas ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gas; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-gas
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-gas: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gas ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gas; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-gas: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gas ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gas; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### ld
|
1992-03-11 05:57:50 +00:00
|
|
|
all-ld: .stmp-libiberty .stmp-bfd .stmp-bison .stmp-ld
|
|
|
|
.stmp-ld:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./ld ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./ld; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-ld
|
1991-10-25 02:14:50 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
clean-ld: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./ld ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./ld; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-04-24 16:52:32 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
install-ld: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./ld ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./ld; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1992-03-11 02:01:42 +00:00
|
|
|
### libgcc (and libgcc1)
|
1992-03-11 05:57:50 +00:00
|
|
|
all-libgcc1: all-gas all-binutils .stmp-libgcc1
|
|
|
|
.stmp-libgcc1:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libgcc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libgcc; \
|
1991-12-19 00:22:09 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1992-03-11 02:01:42 +00:00
|
|
|
libgcc1.a) ; \
|
1991-12-19 00:22:09 +00:00
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-libgcc1
|
1991-12-19 00:22:09 +00:00
|
|
|
|
1992-03-11 02:01:42 +00:00
|
|
|
clean-libgcc1: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libgcc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libgcc; \
|
1991-12-19 00:22:09 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1992-03-11 02:01:42 +00:00
|
|
|
clean-libgcc1) ; \
|
1991-12-19 00:22:09 +00:00
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
|
|
|
|
1992-03-11 02:01:42 +00:00
|
|
|
install-libgcc1: force
|
|
|
|
echo libgcc1 is a component, not an installable target
|
1991-12-19 00:22:09 +00:00
|
|
|
|
1992-03-11 05:57:50 +00:00
|
|
|
all-libgcc: all-gas all-gcc all-binutils .stmp-libgcc
|
|
|
|
.stmp-libgcc:
|
1992-01-06 02:57:58 +00:00
|
|
|
true
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libgcc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libgcc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-libgcc
|
1991-11-21 08:42:27 +00:00
|
|
|
|
1992-03-11 02:01:42 +00:00
|
|
|
clean-libgcc: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libgcc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libgcc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-03-11 02:01:42 +00:00
|
|
|
install-libgcc: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libgcc ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libgcc; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### gdb
|
1992-03-20 00:51:23 +00:00
|
|
|
all-gdb: .stmp-bfd .stmp-libiberty .stmp-mmalloc .stmp-readline .stmp-glob \
|
|
|
|
.stmp-bison .stmp-gdb
|
1992-03-11 05:57:50 +00:00
|
|
|
.stmp-gdb:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gdb ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gdb; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-gdb
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-gdb: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gdb ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gdb; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-gdb: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gdb ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gdb; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### make
|
1992-03-11 05:57:50 +00:00
|
|
|
all-make: all-libiberty .stmp-make
|
|
|
|
.stmp-make:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./make ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./make; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-make
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-make: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./make ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./make; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-make: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./make ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./make; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### diff
|
1992-03-11 05:57:50 +00:00
|
|
|
all-diff: .stmp-diff
|
|
|
|
.stmp-diff:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./diff ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./diff; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-diff
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-diff: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./diff ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./diff; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-diff: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./diff ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./diff/; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### grep
|
1992-03-11 05:57:50 +00:00
|
|
|
all-grep: .stmp-grep
|
|
|
|
.stmp-grep:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./grep ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./grep; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-grep
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-grep: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./grep ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./grep; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-grep: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./grep ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./grep; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### rcs
|
1992-03-11 05:57:50 +00:00
|
|
|
all-rcs: .stmp-diff .stmp-grep .stmp-rcs
|
|
|
|
.stmp-rcs:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./rcs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./rcs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-rcs
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-rcs: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./rcs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./rcs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-rcs: install-grep install-diff force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./rcs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./rcs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### gdbm
|
1992-03-11 05:57:50 +00:00
|
|
|
all-gdbm: .stmp-gdbm
|
|
|
|
.stmp-gdbm:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gdbm ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gdbm; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-gdbm
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
clean-gdbm: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gdbm ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gdbm; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
|
|
|
install-gdbm: force
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./gdbm ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./gdbm; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### cvs
|
1992-03-11 05:57:50 +00:00
|
|
|
|
|
|
|
all-cvs: .stmp-cvs .stmp-rcs .stmp-grep .stmp-diff
|
1992-03-11 10:08:54 +00:00
|
|
|
.stmp-cvs: .stmp-gdbm
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./cvs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./cvs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-cvs
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
clean-cvs: clean-gdbm
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./cvs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./cvs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
install-cvs: install-rcs install-gdbm
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./cvs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./cvs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1992-02-07 00:36:15 +00:00
|
|
|
### patch
|
1992-03-11 05:57:50 +00:00
|
|
|
all-patch: .stmp-patch
|
1992-03-11 10:08:54 +00:00
|
|
|
.stmp-patch:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./patch ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./patch; \
|
1992-02-07 00:36:15 +00:00
|
|
|
$(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
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-patch
|
1992-02-07 00:36:15 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
clean-patch:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./patch ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./patch; \
|
1992-02-07 00:36:15 +00:00
|
|
|
$(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
|
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
install-patch:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./patch ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./patch; \
|
1992-02-07 00:36:15 +00:00
|
|
|
$(MAKE) \
|
|
|
|
bindir=$(bindir) \
|
|
|
|
man1dir=$(man1dir) \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### emacs
|
1992-03-11 05:57:50 +00:00
|
|
|
all-emacs: .stmp-emacs
|
1992-03-11 10:08:54 +00:00
|
|
|
.stmp-emacs:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./emacs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./emacs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-emacs
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
clean-emacs:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./emacs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./emacs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
install-emacs: install-rcs install-gdbm
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./emacs ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./emacs; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### ispell
|
1992-03-11 10:08:54 +00:00
|
|
|
all-ispell: .stmp-emacs .stmp-ispell
|
|
|
|
.stmp-ispell:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./ispell ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./ispell; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-ispell
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
clean-ispell:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./ispell ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./ispell; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1991-12-07 08:20:18 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
install-ispell: install-rcs install-gdbm
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./ispell ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./ispell; \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1991-12-10 00:49:07 +00:00
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-28 03:15:17 +00:00
|
|
|
### fileutils
|
1992-03-11 05:57:50 +00:00
|
|
|
all-fileutils: .stmp-fileutils
|
1992-03-11 10:08:54 +00:00
|
|
|
.stmp-fileutils:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./fileutils ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./fileutils; \
|
1991-12-28 03:15:17 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-fileutils
|
1991-12-28 03:15:17 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
clean-fileutils:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./fileutils ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./fileutils; \
|
1991-12-28 03:15:17 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
install-fileutils:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./fileutils ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./fileutils; \
|
1991-12-28 03:15:17 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1992-03-31 06:35:16 +00:00
|
|
|
### send_pr
|
|
|
|
all-send_pr: .stmp-send_pr
|
|
|
|
.stmp-send_pr:
|
|
|
|
@if [ -d ./send_pr ] ; then \
|
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./send_pr; \
|
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"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-send_pr
|
|
|
|
|
|
|
|
clean-send_pr:
|
|
|
|
@if [ -d ./send_pr ] ; then \
|
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./send_pr; \
|
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"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-send_pr:
|
|
|
|
@if [ -d ./send_pr ] ; then \
|
|
|
|
rootme=`pwd` ; export rootme ; \
|
|
|
|
(cd ./send_pr; \
|
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
|
|
|
|
1992-01-06 02:57:58 +00:00
|
|
|
### libg++
|
1992-03-11 05:57:50 +00:00
|
|
|
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
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libg++ ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libg++; \
|
1992-01-06 02:57:58 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
1992-03-11 05:57:50 +00:00
|
|
|
"CC=${GXX}" \
|
|
|
|
"XTRAFLAGS=${XTRAFLAGS}" \
|
1992-01-06 02:57:58 +00:00
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
all) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-03-11 05:57:50 +00:00
|
|
|
touch .stmp-libg++
|
1992-01-06 02:57:58 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
clean-libg++:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libg++ ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libg++; \
|
1992-01-06 02:57:58 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
clean) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
install-libg++:
|
1992-03-31 06:35:16 +00:00
|
|
|
@if [ -d ./libg++ ] ; then \
|
1992-02-13 00:20:17 +00:00
|
|
|
rootme=`pwd` ; export rootme ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
(cd ./libg++; \
|
1992-01-06 02:57:58 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
install) ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi
|
1992-01-18 02:03:00 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
### other supporting targets
|
1991-10-25 02:14:50 +00:00
|
|
|
# this is a bad hack.
|
|
|
|
all.xclib: all.normal
|
|
|
|
if [ -d clib ] ; then \
|
|
|
|
(cd clib ; $(MAKE)) ; \
|
|
|
|
fi
|
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
subdir_do:
|
1991-06-09 20:27:20 +00:00
|
|
|
for i in $(DODIRS); do \
|
1992-03-11 02:01:42 +00:00
|
|
|
if [ -f ./$$i/localenv ] ; then \
|
|
|
|
if (rootme=`pwd` ; export rootme ; cd ./$$i; \
|
1991-10-25 02:14:50 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
1991-11-13 09:23:05 +00:00
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
$(DO)) ; then true ; \
|
1991-10-25 02:14:50 +00:00
|
|
|
else exit 1 ; fi ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
else if [ -d ./$$i ] ; then \
|
|
|
|
if (rootme=`pwd` ; export rootme ; cd ./$$i; \
|
1991-06-09 20:27:20 +00:00
|
|
|
$(MAKE) \
|
|
|
|
"against=$(against)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
1991-12-07 08:20:18 +00:00
|
|
|
"CC=$(CC)" \
|
1991-07-27 07:46:34 +00:00
|
|
|
"RANLIB=$(RANLIB)" \
|
1991-09-25 04:34:40 +00:00
|
|
|
"LOADLIBES=$(LOADLIBES)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
1991-11-13 09:23:05 +00:00
|
|
|
"BISON=$(BISON)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
$(DO)) ; then true ; \
|
1991-06-09 20:27:20 +00:00
|
|
|
else exit 1 ; fi ; \
|
|
|
|
else true ; fi ; \
|
1991-10-25 02:14:50 +00:00
|
|
|
fi ; \
|
1991-06-09 20:27:20 +00:00
|
|
|
done
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
bootstrap:
|
|
|
|
$(MAKE) all info
|
1991-04-17 01:34:44 +00:00
|
|
|
$(MAKE) stage1
|
1991-04-24 16:52:32 +00:00
|
|
|
$(MAKE) pass "stagepass=stage1"
|
|
|
|
$(MAKE) stage2
|
|
|
|
$(MAKE) pass "stagepass=stage2"
|
1991-06-09 20:27:20 +00:00
|
|
|
$(MAKE) comparison
|
1991-04-24 16:52:32 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
bootstrap2:
|
1991-04-24 16:52:32 +00:00
|
|
|
$(MAKE) pass "stagepass=stage1"
|
|
|
|
$(MAKE) stage2
|
|
|
|
$(MAKE) pass "stagepass=stage2"
|
1991-06-09 20:27:20 +00:00
|
|
|
$(MAKE) comparison
|
1991-04-24 16:52:32 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
bootstrap3:
|
1991-04-24 16:52:32 +00:00
|
|
|
$(MAKE) pass "stagepass=stage2"
|
1991-06-09 20:27:20 +00:00
|
|
|
$(MAKE) comparison
|
1991-04-24 16:52:32 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
pass:
|
1992-03-11 02:01:42 +00:00
|
|
|
cp $(srcdir)/gcc/gstdarg.h ./gas/stdarg.h
|
1991-12-07 08:20:18 +00:00
|
|
|
$(MAKE) subdir_do "DO=all info" "DODIRS=$(SUBDIRS)" \
|
1992-03-11 02:01:42 +00:00
|
|
|
"CC=`pwd`/gcc/$(stagepass)/gcc \
|
|
|
|
-O $(GCCVERBOSE) -I`pwd`/gcc/include \
|
|
|
|
-B`pwd`/gcc/$(stagepass)/ \
|
|
|
|
-B`pwd`/gas/$(stagepass)/ \
|
|
|
|
-B`pwd`/ld/$(stagepass)/" \
|
|
|
|
"AR=`pwd`/binutils/$(stagepass)/ar" \
|
|
|
|
"LD=`pwd`/gcc/$(stagepass)/gcc $(GCCVERBOSE)" \
|
|
|
|
"RANLIB=`pwd`/binutils/$(stagepass)/ranlib" \
|
|
|
|
"LOADLIBES=`pwd`/libgcc/$(stagepass)/libgcc.a /lib/libc.a" \
|
1991-04-24 16:52:32 +00:00
|
|
|
"LDFLAGS=-nostdlib /lib/crt0.o \
|
1992-03-11 02:01:42 +00:00
|
|
|
-L`pwd`/libgcc/$(stagepass)/ \
|
|
|
|
-B`pwd`/ld/$(stagepass)/"
|
1991-04-17 01:34:44 +00:00
|
|
|
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
stage1:
|
1991-05-19 00:36:45 +00:00
|
|
|
$(MAKE) subdir_do DO=stage1 "DODIRS=$(SUBDIRS)"
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
stage2:
|
1991-05-19 00:36:45 +00:00
|
|
|
$(MAKE) subdir_do DO=stage2 "DODIRS=$(SUBDIRS)"
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
stage3:
|
1991-05-19 00:36:45 +00:00
|
|
|
$(MAKE) subdir_do DO=stage3 "DODIRS=$(SUBDIRS)"
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1991-12-07 08:20:18 +00:00
|
|
|
stage4:
|
1991-05-19 00:36:45 +00:00
|
|
|
$(MAKE) subdir_do DO=stage4 "DODIRS=$(SUBDIRS)"
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1991-06-09 20:27:20 +00:00
|
|
|
against=stage2
|
|
|
|
|
|
|
|
comparison:; $(MAKE) subdir_do DO=comparison against=$(against) "DODIRS=$(SUBDIRS)"
|
|
|
|
|
1991-05-19 00:36:45 +00:00
|
|
|
de-stage1:; $(MAKE) subdir_do DO=de-stage1 "DODIRS=$(SUBDIRS)"
|
|
|
|
de-stage2:; $(MAKE) subdir_do DO=de-stage2 "DODIRS=$(SUBDIRS)"
|
|
|
|
de-stage3:; $(MAKE) subdir_do DO=de-stage3 "DODIRS=$(SUBDIRS)"
|
|
|
|
de-stage4:; $(MAKE) subdir_do DO=de-stage4 "DODIRS=$(SUBDIRS)"
|
1991-04-24 16:52:32 +00:00
|
|
|
|
1991-09-20 08:41:45 +00:00
|
|
|
# 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.
|
1991-11-08 00:08:14 +00:00
|
|
|
|
|
|
|
MAKEDIRS= \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(prefix) \
|
1992-03-11 02:01:42 +00:00
|
|
|
$(exec_prefix) \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(bindir) \
|
|
|
|
$(libdir) \
|
1992-03-11 02:01:42 +00:00
|
|
|
$(tooldir) \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(includedir) \
|
|
|
|
$(datadir) \
|
|
|
|
$(docdir) \
|
|
|
|
$(mandir) \
|
|
|
|
$(man1dir) \
|
|
|
|
$(man5dir)
|
|
|
|
|
|
|
|
# $(man2dir) \
|
|
|
|
# $(man3dir) \
|
|
|
|
# $(man4dir) \
|
|
|
|
# $(man6dir) \
|
|
|
|
# $(man7dir) \
|
|
|
|
# $(man8dir)
|
1991-11-08 00:08:14 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
install-dirs:
|
1991-11-08 00:08:14 +00:00
|
|
|
for i in $(MAKEDIRS) ; do \
|
1991-11-12 08:43:56 +00:00
|
|
|
echo Making $$i... ; \
|
1992-03-11 02:01:42 +00:00
|
|
|
[ -d $$i ] || mkdir $$i || exit 1 ; \
|
1991-11-08 00:08:14 +00:00
|
|
|
done
|
1991-11-06 08:12:56 +00:00
|
|
|
|
1991-11-21 08:42:27 +00:00
|
|
|
MAKEINFODIRS= \
|
1991-12-07 08:20:18 +00:00
|
|
|
$(prefix) \
|
|
|
|
$(infodir)
|
1991-11-21 08:42:27 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
install-info-dirs:
|
1991-12-12 06:25:48 +00:00
|
|
|
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
|
1991-11-21 08:42:27 +00:00
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
dir.info:
|
1991-12-11 04:15:50 +00:00
|
|
|
$(srcdir)/texinfo/gen-info-dir $(infodir) > dir.info.new
|
|
|
|
mv -f dir.info.new dir.info
|
1991-11-13 23:57:20 +00:00
|
|
|
|
1991-04-04 19:01:18 +00:00
|
|
|
etags tags: TAGS
|
|
|
|
|
1992-03-11 10:08:54 +00:00
|
|
|
TAGS:
|
1991-04-04 19:01:18 +00:00
|
|
|
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
|
|
|
|
|
1991-05-19 00:36:45 +00:00
|
|
|
force:
|
1991-04-04 19:01:18 +00:00
|
|
|
|
|
|
|
# with the gnu make, this is done automatically.
|
|
|
|
|
1991-10-02 07:24:45 +00:00
|
|
|
Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
|
1991-10-01 03:46:00 +00:00
|
|
|
$(SHELL) ./config.status
|
1991-04-04 19:01:18 +00:00
|
|
|
|
1991-07-31 02:47:14 +00:00
|
|
|
#
|
|
|
|
# Build GDB distributions that contain BFD, Include, Libiberty, Readline, etc
|
|
|
|
|
1992-01-18 02:03:00 +00:00
|
|
|
DEVO_SUPPORT= README cfg-paper.texi Makefile.in configure configure.in \
|
1992-01-19 00:04:43 +00:00
|
|
|
config.sub config configure.man
|
1992-03-20 00:51:23 +00:00
|
|
|
GDB_SUPPORT_DIRS= bfd include libiberty mmalloc readline glob
|
1991-09-20 08:41:45 +00:00
|
|
|
GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS) texinfo/fsf/texinfo.tex
|
1991-07-31 02:47:14 +00:00
|
|
|
|
1991-09-20 08:41:45 +00:00
|
|
|
setup-dirs: force_update
|
1991-07-31 02:47:14 +00:00
|
|
|
./configure sun4
|
|
|
|
make clean
|
|
|
|
./configure -rm sun4
|
1991-09-25 04:34:40 +00:00
|
|
|
chmod og=u `find $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`
|
1991-09-20 08:41:45 +00:00
|
|
|
|
|
|
|
bfd.ilrt.tar.Z: setup-dirs
|
1991-07-31 02:47:14 +00:00
|
|
|
rm -f bfd.ilrt.tar.Z
|
1991-09-20 08:41:45 +00:00
|
|
|
tar cf - $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) \
|
1991-07-31 02:47:14 +00:00
|
|
|
| compress -v >bfd.ilrt.tar.Z
|
|
|
|
|
1991-09-20 08:41:45 +00:00
|
|
|
gdb.tar.Z: setup-dirs
|
|
|
|
(cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir)
|
|
|
|
$(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Z
|
|
|
|
|
|
|
|
make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/fsf/texinfo.tex
|
|
|
|
rm -rf proto-toplev; mkdir proto-toplev
|
|
|
|
ln -s ../gdb/proto-gdb.dir proto-toplev/gdb
|
|
|
|
(cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \
|
|
|
|
ln -s ../$$i . ; \
|
|
|
|
done)
|
1992-02-07 00:36:15 +00:00
|
|
|
# Put only one copy (four hard links) of COPYING in the tar file.
|
|
|
|
rm proto-toplev/bfd/COPYING
|
|
|
|
ln proto-toplev/gdb/COPYING proto-toplev/bfd/COPYING
|
|
|
|
rm proto-toplev/include/COPYING
|
|
|
|
ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING
|
|
|
|
rm proto-toplev/readline/COPYING
|
|
|
|
ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING
|
1991-11-22 07:17:49 +00:00
|
|
|
# Take out texinfo from configurable dirs
|
|
|
|
rm proto-toplev/configure.in
|
|
|
|
sed '/^configdirs=/s/texinfo //' <configure.in >proto-toplev/configure.in
|
1991-12-07 08:20:18 +00:00
|
|
|
# Take out glob from buildable dirs
|
|
|
|
rm proto-toplev/Makefile.in
|
|
|
|
sed '/^SUBDIRS =/s/glob //' <Makefile.in >proto-toplev/Makefile.in
|
1992-01-29 07:52:01 +00:00
|
|
|
# Take out texinfo from buildable dirs
|
|
|
|
cp proto-toplev/Makefile.in temp.$$
|
1992-03-31 06:31:05 +00:00
|
|
|
sed '/^all\.normal: /s/\.stmp-texinfo //' <temp.$$ >temp1.$$
|
1992-01-29 07:52:01 +00:00
|
|
|
sed '/^clean: /s/clean-texinfo //' <temp1.$$ >temp.$$
|
|
|
|
sed '/^install\.all: /s/install-texinfo //' <temp.$$ >proto-toplev/Makefile.in
|
|
|
|
rm temp.$$ temp1.$$
|
1991-09-20 08:41:45 +00:00
|
|
|
mkdir proto-toplev/texinfo
|
|
|
|
mkdir proto-toplev/texinfo/fsf
|
|
|
|
ln -s ../../../texinfo/fsf/texinfo.tex proto-toplev/texinfo/fsf/
|
1991-09-25 04:34:40 +00:00
|
|
|
chmod og=u `find proto-toplev -print`
|
1991-09-20 08:41:45 +00:00
|
|
|
(VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
|
|
|
|
echo "==> Making gdb-$$VER.tar.Z"; \
|
|
|
|
ln -s proto-toplev gdb-$$VER; \
|
|
|
|
tar cfh - gdb-$$VER \
|
|
|
|
| compress -v >gdb-$$VER.tar.Z)
|
|
|
|
|
1991-07-31 02:47:14 +00:00
|
|
|
force_update:
|
|
|
|
|
1991-11-06 08:12:56 +00:00
|
|
|
nothing:
|
|
|
|
|
1991-04-04 19:01:18 +00:00
|
|
|
# end of Makefile.in
|