(binutils.tar.z, &c): Updated for making binutils FSF release.
(taz): Try harder to catch errors in subdir invocations of make.
This commit is contained in:
parent
6e50aeb481
commit
7f9cb3b2de
2 changed files with 81 additions and 16 deletions
50
ChangeLog
50
ChangeLog
|
@ -1,8 +1,58 @@
|
|||
Tue May 18 15:23:19 1993 Ken Raeburn (raeburn@cygnus.com)
|
||||
|
||||
* Makefile.in (DISTSTUFFDIRS): Renamed from PROTODIRS. Add ld and
|
||||
gprof.
|
||||
(taz): Run "make diststuff" in those directories instead of "make
|
||||
proto-dir". Look for "VERSION=" only at start of line in subdir
|
||||
Makefile. Use "gzip -9" for compression.
|
||||
(TEXINFO_SUPPORT, DIST_SUPPORT, BINUTILS_SUPPORT_DIRS): New vars.
|
||||
(binutils.tar.z): New target.
|
||||
|
||||
Mon May 17 17:01:15 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
|
||||
|
||||
* Makefile.in (taz): Include gpl.texinfo.
|
||||
|
||||
Fri May 14 06:48:38 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
|
||||
|
||||
* Makefile.in (setup-dirs): Merged into "taz" target.
|
||||
(taz): Only do `proto-dir' stuff if a directory is actually needed
|
||||
for this target.
|
||||
|
||||
Wed May 12 13:09:44 1993 Ian Lance Taylor (ian@cygnus.com)
|
||||
|
||||
* Makefile.in (MUNCH_NM): New variable, defined to be $(NM).
|
||||
(FLAGS_TO_PASS): Pass down MUNCH_NM.
|
||||
(HOST_CC, HOST_PREFIX, HOST_PREFIX_1): New variables.
|
||||
(EXTRA_GCC_FLAGS): Pass down HOST_* variables.
|
||||
(gcc-no-fixedincludes): Correct for current gcc Makefile.
|
||||
|
||||
Tue May 11 10:14:25 1993 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* Makefile.in (make-gdb.tar.Z): Add configure, config.guess,
|
||||
config.sub, and move-if-change to gdb testsuite distribution
|
||||
archive, so the testsuite can be extracted, configured, and
|
||||
run separately from the gdb distribution. Blow away the Chill
|
||||
tests that require a Chill compiled executable, since GNU Chill
|
||||
is not yet publically available.
|
||||
|
||||
Mon May 10 17:22:26 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
||||
|
||||
* test-build.mk: set environment variables in a single command,
|
||||
instead of a list of assignments and exports
|
||||
|
||||
* config.guess: recognize Alpha/OSF1 systems
|
||||
|
||||
Mon May 10 14:55:51 1993 K. Richard Pixley (rich@rtl.cygnus.com)
|
||||
|
||||
* configure: Change help message to prefer --options rather than
|
||||
-options.
|
||||
|
||||
Mon May 10 05:58:35 1993 Ken Raeburn (raeburn@kr-pc.cygnus.com)
|
||||
|
||||
* config.sub: Convergent Tech. "miniframe" uses m68010, sez
|
||||
zippy@ecst.csuchico.edu.
|
||||
* config.guess: Recognize miniframe.
|
||||
|
||||
Sun May 9 17:47:57 1993 Rob Savoye (rob at darkstar.cygnus.com)
|
||||
|
||||
* Makefile.in: Use srcroot to find runtest rather than rootme.
|
||||
|
|
47
Makefile.in
47
Makefile.in
|
@ -652,6 +652,7 @@ gcc-no-fixedincludes:
|
|||
rm -rf gcc/tmp-include; \
|
||||
mv gcc/include gcc/tmp-include 2>/dev/null; \
|
||||
mkdir gcc/include; \
|
||||
cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
|
||||
touch gcc/stmp-fixinc; \
|
||||
rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
|
||||
rootme=`pwd`; export rootme; \
|
||||
|
@ -1045,30 +1046,35 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
|
|||
# When you use `make setup-dirs' or `make taz' you should always redefine
|
||||
# this macro.
|
||||
SUPPORT_FILES = list-of-support-files-for-tool-in-question
|
||||
# Directories that might want `make proto-dir' run.
|
||||
PROTODIRS= gdb
|
||||
# Directories that might want `make diststuff' run.
|
||||
DISTSTUFFDIRS= ld gprof gdb
|
||||
|
||||
.PHONY: taz
|
||||
|
||||
taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
|
||||
taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex texinfo/gpl.texinfo
|
||||
./configure sun4
|
||||
$(MAKE) clean
|
||||
./configure -rm sun4
|
||||
chmod og=u `find etc $(DEVO_SUPPORT) $(SUPPORT_FILES) -print`
|
||||
# Make links, and run "proto-dir" stuff when needed.
|
||||
# Make links, and run "make diststuff" when needed.
|
||||
# The `echo' for setting `p' is to convert all whitespace to spaces.
|
||||
# Then the `case' further below should tell whether $$d is in
|
||||
# PROTODIRS.
|
||||
# DISTSTUFFDIRS.
|
||||
rm -rf proto-toplev ; mkdir proto-toplev
|
||||
dirs="$(TOOL) $(DEVO_SUPPORT) $(SUPPORT_FILES)" ; \
|
||||
p=" `echo $(PROTODIRS)` " ; \
|
||||
set -e ; dirs="$(TOOL) $(DEVO_SUPPORT) $(SUPPORT_FILES)" ; \
|
||||
p=" `echo $(DISTSTUFFDIRS)` " ; \
|
||||
for d in $$dirs ; do \
|
||||
if [ -d $$d ]; then \
|
||||
case " $(PROTODIRS) " in \
|
||||
"* $$d *") (cd $$d ; $(MAKE) -f Makefile.in proto-dir) ; \
|
||||
ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ;; \
|
||||
*) ln -s ../$$d proto-toplev/$$d ;; \
|
||||
case " $$p " in \
|
||||
*" $$d "*) \
|
||||
echo making diststuff in $$d ; \
|
||||
(cd $$d ; $(MAKE) -f Makefile.in diststuff) || exit 1 ;; \
|
||||
esac ; \
|
||||
if [ -d $$d/proto-$$d.dir ]; then \
|
||||
ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \
|
||||
else \
|
||||
ln -s ../$$d proto-toplev/$$d ; \
|
||||
fi ; \
|
||||
else ln -s ../$$d proto-toplev/$$d ; fi ; \
|
||||
done
|
||||
#
|
||||
|
@ -1093,23 +1099,32 @@ taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
|
|||
#
|
||||
mkdir proto-toplev/texinfo
|
||||
ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
|
||||
ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/
|
||||
ln -s ../../texinfo/tex3patch proto-toplev/texinfo/
|
||||
chmod og=u `find proto-toplev -print`
|
||||
(VER=`sed <$(TOOL)/Makefile.in -n 's/VERSION *= *//p'`; \
|
||||
(VER=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \
|
||||
echo "==> Making $(TOOL)-$$VER.tar.z"; \
|
||||
ln -s proto-toplev $(TOOL)-$$VER; \
|
||||
tar cfh - $(TOOL)-$$VER \
|
||||
| $(GZIP) -v >$(TOOL)-$$VER.tar.z)
|
||||
| $(GZIP) -v -9 >$(TOOL)-$$VER.tar.z)
|
||||
|
||||
GAS_SUPPORT_DIRS= bfd include libiberty opcodes
|
||||
TEXINFO_SUPPORT= texinfo/texinfo.tex texinfo/gpl.texinfo
|
||||
DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)
|
||||
|
||||
.PHONY: gas.tar.z
|
||||
gas.tar.z: $(DEVO_SUPPORT) $(GAS_SUPPORT_DIRS) gas texinfo/texinfo.tex
|
||||
GAS_SUPPORT_DIRS= bfd include libiberty opcodes
|
||||
gas.tar.z: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas
|
||||
$(MAKE) -f Makefile.in taz SUPPORT_FILES="$(GAS_SUPPORT_DIRS)" TOOL=gas
|
||||
|
||||
# The FSF "binutils" release includes gprof and ld.
|
||||
.PHONY: binutils.tar.z
|
||||
BINUTILS_SUPPORT_DIRS= bfd include libiberty opcodes ld gprof
|
||||
binutils.tar.z: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils
|
||||
$(MAKE) -f Makefile.in taz SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS)" TOOL=binutils
|
||||
|
||||
.PHONY: gas+binutils.tar.z
|
||||
GASB_SUPPORT_DIRS= $(GAS_SUPPORT_DIRS) binutils ld gprof
|
||||
gas+binutils.tar.z: $(DEVO_SUPPORT) $(GASB_SUPPORT_DIRS) gas texinfo/texinfo.tex
|
||||
gas+binutils.tar.z: $(DIST_SUPPORT) $(GASB_SUPPORT_DIRS) gas
|
||||
$(MAKE) -f Makefile.in taz SUPPORT_FILES="$(GASB_SUPPORT_DIRS)" TOOL=gas
|
||||
|
||||
.NOEXPORT:
|
||||
|
|
Loading…
Reference in a new issue