xref: /openbsd-src/gnu/usr.bin/binutils/src-release (revision cf2f2c5620d6d9a4fd01930983c4b9a1f76d7aa3)
1d2201f2fSdrahn#   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
2*cf2f2c56Smiod#   1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
3d2201f2fSdrahn#
4d2201f2fSdrahn# This file is free software; you can redistribute it and/or modify
5d2201f2fSdrahn# it under the terms of the GNU General Public License as published by
6d2201f2fSdrahn# the Free Software Foundation; either version 2 of the License, or
7d2201f2fSdrahn# (at your option) any later version.
8d2201f2fSdrahn#
9d2201f2fSdrahn# This program is distributed in the hope that it will be useful,
10d2201f2fSdrahn# but WITHOUT ANY WARRANTY; without even the implied warranty of
11d2201f2fSdrahn# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12d2201f2fSdrahn# GNU General Public License for more details.
13d2201f2fSdrahn#
14d2201f2fSdrahn# You should have received a copy of the GNU General Public License
15d2201f2fSdrahn# along with this program; if not, write to the Free Software
16d2201f2fSdrahn# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17d2201f2fSdrahn#
18d2201f2fSdrahn
19d2201f2fSdrahn# This Makefile contains release scripts for gdb, binutils, and other
20d2201f2fSdrahn# packages which live in src.  It used to be part of the top level Makefile,
21d2201f2fSdrahn# but that turned out to be very messy and hard to maintain.
22d2201f2fSdrahn
23d2201f2fSdrahn# This stuff really ought to be cleaned up and turned into something other
24d2201f2fSdrahn# than a Makefile.  As it is it's heavily recursive.
25d2201f2fSdrahn
26d2201f2fSdrahn# This is the name of this script (!).  Needed due to horrible recursion.
27d2201f2fSdrahnSELF = src-release
28d2201f2fSdrahn
29d2201f2fSdrahnSHELL = /bin/sh
30d2201f2fSdrahn
31d2201f2fSdrahnBZIPPROG = bzip2
32d2201f2fSdrahnMD5PROG = md5sum
33d2201f2fSdrahn
34d2201f2fSdrahn# pwd command to use.  Allow user to override default by setting PWDCMD in
35d2201f2fSdrahn# the environment to account for automounters.  The make variable must not
36d2201f2fSdrahn# be called PWDCMD, otherwise the value set here is passed to make
37d2201f2fSdrahn# subprocesses and overrides the setting from the user's environment.
38d2201f2fSdrahnPWD = $${PWDCMD-pwd}
39d2201f2fSdrahn
40d2201f2fSdrahn#
41d2201f2fSdrahn# Support for building net releases
42d2201f2fSdrahn
43d2201f2fSdrahn# Files in devo used in any net release.
44d2201f2fSdrahn# ChangeLog omitted because it may refer to files which are not in this
45d2201f2fSdrahn# distribution (perhaps it would be better to include it anyway).
46d2201f2fSdrahnDEVO_SUPPORT= README Makefile.in configure configure.in \
47d2201f2fSdrahn	config.guess config.if config.sub config move-if-change \
48d2201f2fSdrahn	COPYING COPYING.LIB install-sh config-ml.in symlink-tree \
49d2201f2fSdrahn	mkinstalldirs ltconfig ltmain.sh missing ylwrap \
50d2201f2fSdrahn	libtool.m4 gettext.m4 ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh \
51d2201f2fSdrahn	Makefile.def Makefile.tpl src-release
52d2201f2fSdrahn
53d2201f2fSdrahn# Files in devo/etc used in any net release.
54d2201f2fSdrahn# ChangeLog omitted because it may refer to files which are not in this
55d2201f2fSdrahn# distribution (perhaps it would be better to include it anyway).
56d2201f2fSdrahnETC_SUPPORT= Makefile.in configure configure.in standards.texi \
57d2201f2fSdrahn	make-stds.texi standards.info* configure.texi configure.info* \
58d2201f2fSdrahn	configbuild.* configdev.* fdl.texi texi2pod.pl
59d2201f2fSdrahn
60d2201f2fSdrahn
61d2201f2fSdrahn# When you use `make setup-dirs' or `make taz' you should always redefine
62d2201f2fSdrahn# this macro.
63d2201f2fSdrahnSUPPORT_FILES = list-of-support-files-for-tool-in-question
64d2201f2fSdrahn
65d2201f2fSdrahn# NOTE: No double quotes in the below.  It is used within shell script
66d2201f2fSdrahn# as VER="$(VER)"
67d2201f2fSdrahnVER = `	if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $(TOOL)/configure.in >/dev/null 2>&1; then \
68d2201f2fSdrahn	  sed < bfd/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
69d2201f2fSdrahn	elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
70d2201f2fSdrahn	  sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \
71d2201f2fSdrahn	elif test -f $(TOOL)/version.in; then \
72d2201f2fSdrahn	  head -1 $(TOOL)/version.in; \
73d2201f2fSdrahn	elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \
74d2201f2fSdrahn	  sed < $(TOOL)/Makefile.in -n 's/^VERSION *= *//p'; \
75d2201f2fSdrahn	else \
76d2201f2fSdrahn	  echo VERSION; \
77d2201f2fSdrahn	fi`
78d2201f2fSdrahnPACKAGE = $(TOOL)
79d2201f2fSdrahn
80d2201f2fSdrahn.PHONY: taz
81d2201f2fSdrahntaz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
82d2201f2fSdrahn	$(MAKE) -f $(SELF) do-proto-toplev \
83d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
84d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
85d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
86d2201f2fSdrahn	$(MAKE) -f $(SELF) do-md5sum \
87d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
88d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
89d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
90d2201f2fSdrahn	$(MAKE) -f $(SELF) do-tar \
91d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
92d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
93d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
94d2201f2fSdrahn	$(MAKE) -f $(SELF) do-bz2 \
95d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
96d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
97d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
98d2201f2fSdrahn
99d2201f2fSdrahn.PHONY: gdb-tar
100d2201f2fSdrahngdb-tar: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
101d2201f2fSdrahn	$(MAKE) -f $(SELF) do-proto-toplev \
102d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
103d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
104d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
105d2201f2fSdrahn	$(MAKE) -f $(SELF) do-md5sum \
106d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
107d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
108d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
109d2201f2fSdrahn	$(MAKE) -f $(SELF) do-djunpack \
110d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
111d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
112d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
113d2201f2fSdrahn	$(MAKE) -f $(SELF) do-tar \
114d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
115d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
116d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
117d2201f2fSdrahn
118d2201f2fSdrahn.PHONY: gdb-taz
119d2201f2fSdrahngdb-taz: gdb-tar $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
120d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-tar \
121d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
122d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
123d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
124d2201f2fSdrahn	$(MAKE) -f $(SELF) do-bz2 \
125d2201f2fSdrahn		TOOL=$(TOOL) PACKAGE="$(PACKAGE)" VER="$(VER)" \
126d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
127d2201f2fSdrahn		SUPPORT_FILES="$(SUPPORT_FILES)"
128d2201f2fSdrahn
129d2201f2fSdrahn.PHONY: do-proto-toplev
130d2201f2fSdrahndo-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
131d2201f2fSdrahn	echo "==> Making $(PACKAGE)-$(VER)/"
132d2201f2fSdrahn	# Take out texinfo from a few places.
133d2201f2fSdrahn	sed -e '/^all\.normal: /s/\all-texinfo //' \
134d2201f2fSdrahn	    -e '/^	install-texinfo /d' \
135d2201f2fSdrahn	<Makefile.in >tmp
136d2201f2fSdrahn	mv -f tmp Makefile.in
137d2201f2fSdrahn	#
138*cf2f2c56Smiod	./configure i686-pc-linux-gnu
139d2201f2fSdrahn	$(MAKE) configure-host configure-target \
140d2201f2fSdrahn	    ALL_GCC="" ALL_GCC_C="" ALL_GCC_CXX="" \
141d2201f2fSdrahn	    CC_FOR_TARGET="$(CC)" CXX_FOR_TARGET="$(CXX)"
142d2201f2fSdrahn	# Make links, and run "make diststuff" or "make info" when needed.
143d2201f2fSdrahn	rm -rf proto-toplev ; mkdir proto-toplev
144d2201f2fSdrahn	set -e ; dirs="$(TOOL) $(DEVO_SUPPORT) $(SUPPORT_FILES)" ; \
145d2201f2fSdrahn	for d in $$dirs ; do \
146d2201f2fSdrahn	  if [ -d $$d ]; then \
147d2201f2fSdrahn	    if [ ! -f $$d/Makefile ] ; then true ; \
148d2201f2fSdrahn	    elif grep '^diststuff:' $$d/Makefile >/dev/null ; then \
149d2201f2fSdrahn		(cd $$d ; $(MAKE) diststuff ) || exit 1 ; \
150d2201f2fSdrahn	    elif grep '^info:' $$d/Makefile >/dev/null ; then \
151d2201f2fSdrahn	        (cd $$d ; $(MAKE) info ) || exit 1 ; \
152d2201f2fSdrahn	    fi ; \
153d2201f2fSdrahn	    if [ -d $$d/proto-$$d.dir ]; then \
154d2201f2fSdrahn	      ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \
155d2201f2fSdrahn	    else \
156d2201f2fSdrahn	      ln -s ../$$d proto-toplev/$$d ; \
157d2201f2fSdrahn	    fi ; \
158d2201f2fSdrahn	  else ln -s ../$$d proto-toplev/$$d ; fi ; \
159d2201f2fSdrahn	done
160d2201f2fSdrahn	cd etc && $(MAKE) info
161d2201f2fSdrahn	$(MAKE) distclean
162*cf2f2c56Smiod	# Kludge for pr gdb/708.  'configure' configures in
163*cf2f2c56Smiod	# dejagnu/example/calc, but 'make distclean' does not clean in
164*cf2f2c56Smiod	# dejagnu/example.  Someday somebody might fix this in dejagnu,
165*cf2f2c56Smiod	# and then import a new dejagnu into sourceware.  Right now, a
166*cf2f2c56Smiod	# couple of 'rm' commands will get the gdb snapshots working
167*cf2f2c56Smiod	# again.  -- chastain 2003-08-15
168*cf2f2c56Smiod	rm -f dejagnu/example/calc/config.status
169*cf2f2c56Smiod	rm -f dejagnu/example/calc/config.log
170*cf2f2c56Smiod	# Kludge for pr gdb/857.  intl/Makefile.in lacks a couple
171*cf2f2c56Smiod	# of files in the distclean rule.  Zack W is planning to make
172*cf2f2c56Smiod	# the gcc version of intl/ the master version and then push
173*cf2f2c56Smiod	# that version to src soon.  See:
174*cf2f2c56Smiod	#   http://sources.redhat.com/ml/binutils/2003-07/msg00032.html
175*cf2f2c56Smiod	# After the src version of intl/ is upgraded, we can look at
176*cf2f2c56Smiod	# moving this logic into intl/Makefile.in distclean rule
177*cf2f2c56Smiod	# if it is still needed.  -- chastain 2003-09-12
178*cf2f2c56Smiod	rm -f intl/config.cache
179*cf2f2c56Smiod	rm -f intl/config.status
180*cf2f2c56Smiod	rm -f intl/config.h
181*cf2f2c56Smiod	rm -f intl/stamp-h
182d2201f2fSdrahn	#
183d2201f2fSdrahn	mkdir proto-toplev/etc
184d2201f2fSdrahn	(cd proto-toplev/etc; \
185d2201f2fSdrahn	 for i in $(ETC_SUPPORT); do \
186d2201f2fSdrahn		ln -s ../../etc/$$i . ; \
187d2201f2fSdrahn	 done)
188d2201f2fSdrahn	#
189d2201f2fSdrahn	# Take out texinfo from configurable dirs
190d2201f2fSdrahn	rm proto-toplev/configure.in
191d2201f2fSdrahn	sed -e '/^host_tools=/s/texinfo //' \
192d2201f2fSdrahn	    <configure.in >proto-toplev/configure.in
193d2201f2fSdrahn	#
194d2201f2fSdrahn	mkdir proto-toplev/texinfo
195d2201f2fSdrahn	ln -s ../../texinfo/texinfo.tex		proto-toplev/texinfo/
196d2201f2fSdrahn	if test -r texinfo/util/tex3patch ; then \
197d2201f2fSdrahn	  mkdir proto-toplev/texinfo/util && \
198d2201f2fSdrahn	  ln -s ../../../texinfo/util/tex3patch	proto-toplev/texinfo/util ; \
199d2201f2fSdrahn	else true; fi
200d2201f2fSdrahn	chmod -R og=u . || chmod og=u `find . -print`
201d2201f2fSdrahn	#
202d2201f2fSdrahn	# Create .gmo files from .po files.
203d2201f2fSdrahn	for f in `find . -name '*.po' -type f -print`; do \
204d2201f2fSdrahn	     msgfmt -o `echo $$f | sed -e 's/\.po$$/.gmo/'` $$f ; \
205d2201f2fSdrahn	done
206d2201f2fSdrahn	#
207d2201f2fSdrahn	-rm -f $(PACKAGE)-$(VER)
208d2201f2fSdrahn	ln -s proto-toplev $(PACKAGE)-$(VER)
209d2201f2fSdrahn
210*cf2f2c56SmiodCVS_NAMES= \( -name CVS -o -name '.cvsignore' \)
211*cf2f2c56Smiod
212d2201f2fSdrahn.PHONY: do-tar
213d2201f2fSdrahndo-tar:
214d2201f2fSdrahn	echo "==> Making $(PACKAGE)-$(VER).tar"
215d2201f2fSdrahn	-rm -f $(PACKAGE)-$(VER).tar
216*cf2f2c56Smiod	find $(PACKAGE)-$(VER) -follow $(CVS_NAMES) -prune \
217*cf2f2c56Smiod			-o -type f -print \
218d2201f2fSdrahn		| tar cTfh - $(PACKAGE)-$(VER).tar
219d2201f2fSdrahn
220d2201f2fSdrahn.PHONY: do-bz2
221d2201f2fSdrahndo-bz2:
222d2201f2fSdrahn	echo "==> Bzipping $(PACKAGE)-$(VER).tar.bz2"
223d2201f2fSdrahn	-rm -f $(PACKAGE)-$(VER).tar.bz2
224d2201f2fSdrahn	$(BZIPPROG) -v -9 $(PACKAGE)-$(VER).tar
225d2201f2fSdrahn
226d2201f2fSdrahn.PHONY: do-md5sum
227d2201f2fSdrahndo-md5sum:
228d2201f2fSdrahn	echo "==> Adding md5 checksum to top-level directory"
229*cf2f2c56Smiod	cd proto-toplev && find * -follow $(CVS_NAMES) -prune \
230*cf2f2c56Smiod			-o -type f -print \
231d2201f2fSdrahn		| xargs $(MD5PROG) > ../md5.sum
232d2201f2fSdrahn	mv md5.sum proto-toplev
233d2201f2fSdrahn
234d2201f2fSdrahn.PHONY: do-djunpack
235d2201f2fSdrahndo-djunpack:
236d2201f2fSdrahn	echo "==> Adding updated djunpack.bat to top-level directory"
237*cf2f2c56Smiod	echo - 's /gdb-[0-9\.]*/$(PACKAGE)-'"$(VER)"'/'
238d2201f2fSdrahn	sed < djunpack.bat > djunpack.new \
239*cf2f2c56Smiod		-e 's/gdb-[0-9][0-9\.]*/$(PACKAGE)-'"$(VER)"'/'
240d2201f2fSdrahn	mv djunpack.new djunpack.bat
241d2201f2fSdrahn	-rm -f proto-toplev/djunpack.bat
242d2201f2fSdrahn	ln -s ../djunpack.bat proto-toplev/djunpack.bat
243d2201f2fSdrahn
244d2201f2fSdrahnTEXINFO_SUPPORT= texinfo/texinfo.tex
245d2201f2fSdrahnDIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)
246d2201f2fSdrahn
247d2201f2fSdrahn.PHONY: gas.tar.bz2
248d2201f2fSdrahnGAS_SUPPORT_DIRS= bfd include libiberty opcodes intl setup.com makefile.vms mkdep
249d2201f2fSdrahngas.tar.bz2: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas
250d2201f2fSdrahn	$(MAKE) -f $(SELF) taz TOOL=gas \
251d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
252d2201f2fSdrahn		SUPPORT_FILES="$(GAS_SUPPORT_DIRS)"
253d2201f2fSdrahn
254d2201f2fSdrahn# The FSF "binutils" release includes gprof and ld.
255d2201f2fSdrahn.PHONY: binutils.tar.bz2
256*cf2f2c56SmiodBINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof intl setup.com makefile.vms mkdep cpu
257d2201f2fSdrahnbinutils.tar.bz2: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils
258d2201f2fSdrahn	$(MAKE) -f $(SELF) taz TOOL=binutils \
259d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
260d2201f2fSdrahn		SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS)"
261d2201f2fSdrahn
262d2201f2fSdrahn.PHONY: gas+binutils.tar.bz2
263d2201f2fSdrahnGASB_SUPPORT_DIRS= $(GAS_SUPPORT_DIRS) binutils ld gprof
264d2201f2fSdrahngas+binutils.tar.bz2: $(DIST_SUPPORT) $(GASB_SUPPORT_DIRS) gas
265d2201f2fSdrahn	$(MAKE) -f $(SELF) taz TOOL=gas \
266d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
267d2201f2fSdrahn		SUPPORT_FILES="$(GASB_SUPPORT_DIRS)"
268d2201f2fSdrahn
269d2201f2fSdrahnGNATS_SUPPORT_DIRS=include libiberty send-pr
270d2201f2fSdrahngnats.tar.bz2: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats
271d2201f2fSdrahn	$(MAKE) -f  $(SELF) taz TOOL=gnats \
272d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
273d2201f2fSdrahn		SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"
274d2201f2fSdrahn
275d2201f2fSdrahn.PHONY: gdb.tar.bz2
276d2201f2fSdrahnGDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils intl
277d2201f2fSdrahngdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
278d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-taz TOOL=gdb \
279d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
280d2201f2fSdrahn		SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
281d2201f2fSdrahn.PHONY: gdb.tar
282d2201f2fSdrahngdb.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
283d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-tar TOOL=gdb \
284d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
285d2201f2fSdrahn		SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
286d2201f2fSdrahn
287d2201f2fSdrahnDEJAGNU_SUPPORT_DIRS=  tcl expect libiberty
288d2201f2fSdrahn.PHONY: dejagnu.tar.bz2
289d2201f2fSdrahndejagnu.tar.bz2: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu
290*cf2f2c56Smiod	$(MAKE) -f $(SELF) gdb-taz TOOL=dejagnu \
291*cf2f2c56Smiod		MD5PROG="$(MD5PROG)" \
292*cf2f2c56Smiod		SUPPORT_FILES="$(DEJAGNU_SUPPORT_DIRS)"
293*cf2f2c56Smiod.PHONY: dejagnu.tar
294*cf2f2c56Smioddejagnu.tar: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu
295*cf2f2c56Smiod	$(MAKE) -f $(SELF) gdb-tar TOOL=dejagnu \
296d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
297d2201f2fSdrahn		SUPPORT_FILES="$(DEJAGNU_SUPPORT_DIRS)"
298d2201f2fSdrahn
299d2201f2fSdrahn.PHONY: gdb+dejagnu.tar.bz2
300d2201f2fSdrahnGDBD_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl expect dejagnu
301d2201f2fSdrahngdb+dejagnu.tar.bz2: $(DIST_SUPPORT) $(GDBD_SUPPORT_DIRS) gdb
302d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-taz TOOL=gdb PACKAGE=gdb+dejagnu \
303d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
304d2201f2fSdrahn		SUPPORT_FILES="$(GDBD_SUPPORT_DIRS)"
305d2201f2fSdrahn.PHONY: gdb+dejagnu.tar
306d2201f2fSdrahngdb+dejagnu.tar: $(DIST_SUPPORT) $(GDBD_SUPPORT_DIRS) gdb
307d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-tar TOOL=gdb PACKAGE=gdb+dejagnu \
308d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
309d2201f2fSdrahn		SUPPORT_FILES="$(GDBD_SUPPORT_DIRS)"
310d2201f2fSdrahn
311d2201f2fSdrahn.PHONY: insight.tar.bz2
312d2201f2fSdrahnINSIGHT_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl tk itcl tix libgui
313d2201f2fSdrahninsight.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
314d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-taz TOOL=gdb PACKAGE=insight \
315d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
316d2201f2fSdrahn		SUPPORT_FILES="$(INSIGHT_SUPPORT_DIRS)"
317d2201f2fSdrahn.PHONY: insight.tar
318d2201f2fSdrahninsight.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
319d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-tar TOOL=gdb PACKAGE=insight \
320d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
321d2201f2fSdrahn		SUPPORT_FILES="$(INSIGHT_SUPPORT_DIRS)"
322d2201f2fSdrahn
323d2201f2fSdrahn.PHONY: insight+dejagnu.tar.bz2
324d2201f2fSdrahnINSIGHTD_SUPPORT_DIRS= $(INSIGHT_SUPPORT_DIRS) expect dejagnu
325d2201f2fSdrahninsight+dejagnu.tar.bz2: $(DIST_SUPPORT) $(INSIGHTD_SUPPORT_DIRS) gdb
326d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-taz TOOL=gdb PACKAGE="insight+dejagnu" \
327d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
328d2201f2fSdrahn		SUPPORT_FILES="$(INSIGHTD_SUPPORT_DIRS)"
329d2201f2fSdrahn.PHONY: insight+dejagnu.tar
330d2201f2fSdrahninsight+dejagnu.tar: $(DIST_SUPPORT) $(INSIGHTD_SUPPORT_DIRS) gdb
331d2201f2fSdrahn	$(MAKE) -f $(SELF) gdb-tar TOOL=gdb PACKAGE="insight+dejagnu" \
332d2201f2fSdrahn		MD5PROG="$(MD5PROG)" \
333d2201f2fSdrahn		SUPPORT_FILES="$(INSIGHTD_SUPPORT_DIRS)"
334d2201f2fSdrahn
335d2201f2fSdrahn.NOEXPORT:
336d2201f2fSdrahnMAKEOVERRIDES=
337