Makefile.in revision 33965
133965Sjdp#
233965Sjdp# Makefile
333965Sjdp#   Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation
433965Sjdp#
533965Sjdp# This file is free software; you can redistribute it and/or modify
633965Sjdp# it under the terms of the GNU General Public License as published by
733965Sjdp# the Free Software Foundation; either version 2 of the License, or
833965Sjdp# (at your option) any later version.
933965Sjdp# 
1033965Sjdp# This program is distributed in the hope that it will be useful,
1133965Sjdp# but WITHOUT ANY WARRANTY; without even the implied warranty of
1233965Sjdp# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1333965Sjdp# GNU General Public License for more details.
1433965Sjdp# 
1533965Sjdp# You should have received a copy of the GNU General Public License
1633965Sjdp# along with this program; if not, write to the Free Software
1733965Sjdp# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
1833965Sjdp#
1933965Sjdp
2033965SjdpVPATH = @srcdir@
2133965Sjdpsrcdir = @srcdir@
2233965Sjdp
2333965Sjdpprefix = @prefix@
2433965Sjdp
2533965Sjdpexec_prefix = @exec_prefix@
2633965Sjdpbindir = @bindir@
2733965Sjdplibdir = @libdir@
2833965Sjdp
2933965Sjdpdatadir = @datadir@
3033965Sjdpmandir = @mandir@
3133965Sjdpman1dir = $(mandir)/man1
3233965Sjdpman2dir = $(mandir)/man2
3333965Sjdpman3dir = $(mandir)/man3
3433965Sjdpman4dir = $(mandir)/man4
3533965Sjdpman5dir = $(mandir)/man5
3633965Sjdpman6dir = $(mandir)/man6
3733965Sjdpman7dir = $(mandir)/man7
3833965Sjdpman8dir = $(mandir)/man8
3933965Sjdpman9dir = $(mandir)/man9
4033965Sjdpinfodir = @infodir@
4133965Sjdpincludedir = @includedir@
4233965Sjdp
4333965SjdpMKDOC=./chew
4433965SjdpSHELL = /bin/sh
4533965Sjdp
4633965SjdpINSTALL = @INSTALL@
4733965SjdpINSTALL_PROGRAM = @INSTALL_PROGRAM@
4833965SjdpINSTALL_DATA = @INSTALL_DATA@
4933965Sjdp
5033965SjdpMAKEINFO = makeinfo
5133965SjdpTEXI2DVI = texi2dvi
5233965SjdpCFLAGS = -g
5333965Sjdp
5433965SjdpCC_FOR_BUILD = $(CC)
5533965Sjdp
5633965Sjdp#### Host, target, and site specific Makefile fragments come in here.
5733965Sjdp###
5833965Sjdp
5933965Sjdp.c.o:
6033965Sjdp	$(CC) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include $(H_CFLAGS) $(CFLAGS) $<
6133965Sjdp
6233965SjdpDOCFILES = aoutx.texi  archive.texi archures.texi \
6333965Sjdp	bfd.texi  cache.texi coffcode.texi \
6433965Sjdp	core.texi elf.texi elfcode.texi  format.texi  libbfd.texi  \
6533965Sjdp	opncls.texi  reloc.texi  section.texi  \
6633965Sjdp	syms.texi  targets.texi init.texi hash.texi linker.texi
6733965Sjdp
6833965SjdpPROTOS = archive.p archures.p bfd.p \
6933965Sjdp	 core.p format.p \
7033965Sjdp	libbfd.p opncls.p reloc.p \
7133965Sjdp	section.p syms.p targets.p  \
7233965Sjdp	format.p  core.p init.p
7333965Sjdp
7433965SjdpIPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip coffcode.ip
7533965Sjdp
7633965Sjdp# SRCDOC, SRCPROT, SRCIPROT only used to sidestep Sun Make bug in interaction 
7733965Sjdp# between VPATH and suffix rules.  If you use GNU Make, perhaps other Makes,
7833965Sjdp# you don't need these three:
7933965SjdpSRCDOC = $(srcdir)/../aoutx.h  $(srcdir)/../archive.c \
8033965Sjdp	$(srcdir)/../archures.c $(srcdir)/../bfd.c \
8133965Sjdp	$(srcdir)/../cache.c $(srcdir)/../coffcode.h \
8233965Sjdp	$(srcdir)/../corefile.c $(srcdir)/../elf.c \
8333965Sjdp	$(srcdir)/../elfcode.h  $(srcdir)/../format.c \
8433965Sjdp	$(srcdir)/../libbfd.c $(srcdir)/../opncls.c \
8533965Sjdp	$(srcdir)/../reloc.c  $(srcdir)/../section.c \
8633965Sjdp	$(srcdir)/../syms.c  $(srcdir)/../targets.c \
8733965Sjdp	$(srcdir)/../hash.c $(srcdir)/../linker.c
8833965Sjdp
8933965SjdpSRCPROT = $(srcdir)/../archive.c $(srcdir)/../archures.c \
9033965Sjdp	$(srcdir)/../bfd.c $(srcdir)/../coffcode.h $(srcdir)/../corefile.c \
9133965Sjdp	$(srcdir)/../format.c $(srcdir)/../libbfd.c \
9233965Sjdp	$(srcdir)/../opncls.c $(srcdir)/../reloc.c \
9333965Sjdp	$(srcdir)/../section.c $(srcdir)/../syms.c \
9433965Sjdp	$(srcdir)/../targets.c $(srcdir)/../init.c
9533965Sjdp
9633965SjdpSRCIPROT = $(srcdir)/../cache.c $(srcdir)/../libbfd.c \
9733965Sjdp	$(srcdir)/../reloc.c $(srcdir)/../cpu-h8300.c \
9833965Sjdp	$(srcdir)/../cpu-i960.c $(srcdir)/../archures.c \
9933965Sjdp	$(srcdir)/../init.c
10033965Sjdp
10133965SjdpSTAGESTUFF = $(DOCFILES) *.info*
10233965Sjdp
10333965SjdpTEXIDIR = $(srcdir)/../../texinfo/fsf
10433965Sjdp
10533965Sjdpall install:
10633965Sjdp
10733965Sjdpinfo: bfd.info
10833965Sjdp
10933965Sjdpdvi: bfd.dvi
11033965Sjdp
11133965Sjdpinstall-info: info
11233965Sjdp	if [ -r bfd.info ]; then \
11333965Sjdp	  dir=.; \
11433965Sjdp	else \
11533965Sjdp	  dir=$(srcdir); \
11633965Sjdp	fi; \
11733965Sjdp	for i in `cd $$dir; echo *.info*`; do \
11833965Sjdp	  $(INSTALL_DATA) $$dir/$$i $(infodir)/$$i; \
11933965Sjdp	done
12033965Sjdp
12133965Sjdpdocs: $(MKDOC) protos bfd.info bfd.dvi bfd.ps
12233965Sjdp
12333965Sjdp$(MKDOC): chew.o
12433965Sjdp	$(CC_FOR_BUILD) -o $(MKDOC) chew.o $(LOADLIBES) $(LDFLAGS)
12533965Sjdp
12633965Sjdpchew.o: chew.c
12733965Sjdp	$(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include $(H_CFLAGS) $(CFLAGS) $(srcdir)/chew.c
12833965Sjdp
12933965Sjdpprotos: libbfd.h libcoff.h bfd.h
13033965Sjdp
13133965Sjdp
13233965Sjdp# We can't replace these rules with an implicit rule, because
13333965Sjdp# makes without VPATH support couldn't find the .h files in `..'.
13433965Sjdp
13533965Sjdp# We use stamp-XXX targets so that we can distribute the info files,
13633965Sjdp# and permit people to rebuild them, without requiring the makeinfo
13733965Sjdp# program.  If somebody tries to rebuild info, but none of the .texi
13833965Sjdp# files have changed, then this Makefile will build chew, and will
13933965Sjdp# build all of the stamp files, but will not actually have to rebuild
14033965Sjdp# bfd.info.
14133965Sjdp
14233965Sjdpstamp-aoutx: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str
14333965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp
14433965Sjdp	$(srcdir)/../../move-if-change aoutx.tmp aoutx.texi
14533965Sjdp	touch stamp-aoutx
14633965Sjdpaoutx.texi: stamp-aoutx
14733965Sjdp
14833965Sjdpstamp-archive: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str
14933965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp
15033965Sjdp	$(srcdir)/../../move-if-change archive.tmp archive.texi
15133965Sjdp	touch stamp-archive
15233965Sjdparchive.texi: stamp-archive
15333965Sjdp
15433965Sjdpstamp-archures: $(MKDOC) $(srcdir)/../archures.c $(srcdir)/doc.str
15533965Sjdp	$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp
15633965Sjdp	$(srcdir)/../../move-if-change archures.tmp archures.texi
15733965Sjdp	touch stamp-archures
15833965Sjdparchures.texi: stamp-archures
15933965Sjdp
16033965Sjdpstamp-bfd: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str
16133965Sjdp	$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp
16233965Sjdp	$(srcdir)/../../move-if-change bfd.tmp bfd.texi
16333965Sjdp	touch stamp-bfd
16433965Sjdpbfd.texi: stamp-bfd
16533965Sjdp
16633965Sjdpstamp-cache: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str
16733965Sjdp	$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp
16833965Sjdp	$(srcdir)/../../move-if-change cache.tmp cache.texi
16933965Sjdp	touch stamp-cache
17033965Sjdpcache.texi: stamp-cache
17133965Sjdp
17233965Sjdpstamp-coffcode: $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str
17333965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp
17433965Sjdp	$(srcdir)/../../move-if-change coffcode.tmp coffcode.texi
17533965Sjdp	touch stamp-coffcode
17633965Sjdpcoffcode.texi: stamp-coffcode
17733965Sjdp
17833965Sjdpstamp-core: $(MKDOC) $(srcdir)/../corefile.c $(srcdir)/doc.str
17933965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp
18033965Sjdp	$(srcdir)/../../move-if-change core.tmp core.texi
18133965Sjdp	touch stamp-core
18233965Sjdpcore.texi: stamp-core
18333965Sjdp
18433965Sjdpstamp-elf: $(MKDOC) $(srcdir)/../elf.c $(srcdir)/doc.str
18533965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp
18633965Sjdp	$(srcdir)/../../move-if-change elf.tmp elf.texi
18733965Sjdp	touch stamp-elf
18833965Sjdpelf.texi: stamp-elf
18933965Sjdp
19033965Sjdpstamp-elfcode: $(MKDOC) $(srcdir)/../elfcode.h $(srcdir)/doc.str
19133965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp
19233965Sjdp	$(srcdir)/../../move-if-change elfcode.tmp elfcode.texi
19333965Sjdp	touch stamp-elfcode
19433965Sjdpelfcode.texi: stamp-elfcode
19533965Sjdp
19633965Sjdpstamp-format: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str
19733965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp
19833965Sjdp	$(srcdir)/../../move-if-change format.tmp format.texi
19933965Sjdp	touch stamp-format
20033965Sjdpformat.texi: stamp-format
20133965Sjdp
20233965Sjdpstamp-libbfd: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str
20333965Sjdp	$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp
20433965Sjdp	$(srcdir)/../../move-if-change libbfd.tmp libbfd.texi
20533965Sjdp	touch stamp-libbfd
20633965Sjdplibbfd.texi: stamp-libbfd
20733965Sjdp
20833965Sjdpstamp-opncls: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str
20933965Sjdp	$(MKDOC) -f $(srcdir)/doc.str  <$(srcdir)/../opncls.c >opncls.tmp
21033965Sjdp	$(srcdir)/../../move-if-change opncls.tmp opncls.texi
21133965Sjdp	touch stamp-opncls
21233965Sjdpopncls.texi: stamp-opncls
21333965Sjdp
21433965Sjdpstamp-reloc: $(MKDOC) $(srcdir)/../reloc.c
21533965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp
21633965Sjdp	$(srcdir)/../../move-if-change reloc.tmp reloc.texi
21733965Sjdp	touch stamp-reloc
21833965Sjdpreloc.texi: stamp-reloc
21933965Sjdp
22033965Sjdpstamp-section: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str
22133965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp
22233965Sjdp	$(srcdir)/../../move-if-change section.tmp section.texi
22333965Sjdp	touch stamp-section
22433965Sjdpsection.texi: stamp-section
22533965Sjdp
22633965Sjdpstamp-syms: $(MKDOC) $(srcdir)/../syms.c
22733965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp
22833965Sjdp	$(srcdir)/../../move-if-change syms.tmp syms.texi
22933965Sjdp	touch stamp-syms
23033965Sjdpsyms.texi: stamp-syms
23133965Sjdp
23233965Sjdpstamp-targets: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str
23333965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp
23433965Sjdp	$(srcdir)/../../move-if-change targets.tmp targets.texi
23533965Sjdp	touch stamp-targets
23633965Sjdptargets.texi: stamp-targets
23733965Sjdp
23833965Sjdpstamp-init: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str
23933965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp
24033965Sjdp	$(srcdir)/../../move-if-change init.tmp init.texi
24133965Sjdp	touch stamp-init
24233965Sjdpinit.texi: stamp-init
24333965Sjdp
24433965Sjdpstamp-hash: $(MKDOC) $(srcdir)/../hash.c $(srcdir)/doc.str
24533965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp
24633965Sjdp	$(srcdir)/../../move-if-change hash.tmp hash.texi
24733965Sjdp	touch stamp-hash
24833965Sjdphash.texi: stamp-hash
24933965Sjdp
25033965Sjdpstamp-linker: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str
25133965Sjdp	$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp
25233965Sjdp	$(srcdir)/../../move-if-change linker.tmp linker.texi
25333965Sjdp	touch stamp-linker
25433965Sjdplinker.texi: stamp-linker
25533965Sjdp
25633965Sjdplibbfd.h: $(srcdir)/../libbfd-in.h	\
25733965Sjdp	$(srcdir)/../init.c		\
25833965Sjdp	$(srcdir)/../libbfd.c		\
25933965Sjdp	$(srcdir)/../cache.c		\
26033965Sjdp	$(srcdir)/../reloc.c		\
26133965Sjdp	$(srcdir)/../cpu-h8300.c	\
26233965Sjdp	$(srcdir)/../cpu-i960.c		\
26333965Sjdp	$(srcdir)/../archures.c		\
26433965Sjdp	$(srcdir)/../elfcode.h		\
26533965Sjdp	$(srcdir)/proto.str		\
26633965Sjdp	$(MKDOC)
26733965Sjdp	cat $(srcdir)/../libbfd-in.h >libbfd.h 
26833965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../init.c >>libbfd.h
26933965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../libbfd.c >>libbfd.h
27033965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cache.c >>libbfd.h
27133965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../reloc.c >>libbfd.h
27233965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cpu-h8300.c >>libbfd.h
27333965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cpu-i960.c >>libbfd.h
27433965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../archures.c >>libbfd.h
27533965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../elf.c >>libbfd.h
27633965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../elfcode.h >>libbfd.h
27733965Sjdp
27833965Sjdplibcoff.h: $(srcdir)/../libcoff-in.h	\
27933965Sjdp	$(srcdir)/../coffcode.h		\
28033965Sjdp	$(srcdir)/proto.str		\
28133965Sjdp	$(MKDOC)
28233965Sjdp	cat $(srcdir)/../libcoff-in.h >libcoff.h
28333965Sjdp	$(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../coffcode.h >>libcoff.h
28433965Sjdp
28533965Sjdpbfd.h: $(srcdir)/../bfd-in.h 		\
28633965Sjdp	$(srcdir)/../init.c 		\
28733965Sjdp	$(srcdir)/../opncls.c 		\
28833965Sjdp	$(srcdir)/../libbfd.c 		\
28933965Sjdp	$(srcdir)/../section.c 		\
29033965Sjdp	$(srcdir)/../archures.c		\
29133965Sjdp	$(srcdir)/../reloc.c		\
29233965Sjdp	$(srcdir)/../syms.c		\
29333965Sjdp	$(srcdir)/../bfd.c		\
29433965Sjdp	$(srcdir)/../archive.c		\
29533965Sjdp	$(srcdir)/../corefile.c		\
29633965Sjdp	$(srcdir)/../targets.c		\
29733965Sjdp	$(srcdir)/../format.c		\
29833965Sjdp	$(srcdir)/proto.str		\
29933965Sjdp	$(MKDOC)
30033965Sjdp	cat $(srcdir)/../bfd-in.h >bfd.h
30133965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../init.c >>bfd.h
30233965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../opncls.c >>bfd.h
30333965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../libbfd.c >>bfd.h
30433965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../section.c >>bfd.h
30533965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archures.c >>bfd.h
30633965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../reloc.c >>bfd.h
30733965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../syms.c >>bfd.h
30833965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../bfd.c >>bfd.h
30933965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archive.c >>bfd.h
31033965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../corefile.c >>bfd.h
31133965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../targets.c >>bfd.h
31233965Sjdp	$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../format.c >>bfd.h	
31333965Sjdp	echo "#ifdef __cplusplus" >>bfd.h
31433965Sjdp	echo "}" >>bfd.h
31533965Sjdp	echo "#endif" >>bfd.h
31633965Sjdp	echo "#endif" >>bfd.h
31733965Sjdp
31833965Sjdp
31933965Sjdpclean-info: clean
32033965Sjdp
32133965Sjdpmostlyclean:
32233965Sjdp	rm -rf *.log *.ps *~* *.dvi *# $(MKDOC) *.o
32333965Sjdp
32433965Sjdpclean: mostlyclean
32533965Sjdp	rm -rf $(STAGESTUFF) stamp-*
32633965Sjdp	rm -f *.p *.ip  bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log 
32733965Sjdp
32833965Sjdpdistclean: mostlyclean
32933965Sjdp	rm -f *.p *.ip  bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log 
33033965Sjdp	rm -f stamp-*
33133965Sjdp	rm -f Makefile config.status
33233965Sjdp
33333965Sjdpmaintainer-clean realclean: clean
33433965Sjdp	rm -f Makefile config.status
33533965Sjdp
33633965Sjdpbfd.info: $(DOCFILES) bfdsumm.texi bfd.texinfo
33733965Sjdp	$(MAKEINFO) -I$(srcdir) -o bfd.info $(srcdir)/bfd.texinfo
33833965Sjdp
33933965Sjdpbfd.dvi: $(DOCFILES) bfdsumm.texi bfd.texinfo
34033965Sjdp	$(TEXI2DVI) $(srcdir)/bfd.texinfo
34133965Sjdp
34233965Sjdpbfd.ps: bfd.dvi
34333965Sjdp	dvips bfd -o
34433965Sjdp
34533965Sjdpquickdoc: $(DOCFILES) bfdsumm.texi bfd.texinfo
34633965Sjdp	TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
34733965Sjdp
34833965Sjdpstage1: force
34933965Sjdp	- mkdir stage1
35033965Sjdp	- mv -f $(STAGESTUFF) stage1
35133965Sjdp
35233965Sjdpstage2: force
35333965Sjdp	- mkdir stage2
35433965Sjdp	- mv -f $(STAGESTUFF) stage2
35533965Sjdp
35633965Sjdpstage3: force
35733965Sjdp	- mkdir stage3
35833965Sjdp	- mv -f $(STAGESTUFF) stage3
35933965Sjdp
36033965Sjdpagainst=stage2
36133965Sjdp
36233965Sjdpcomparison: force
36333965Sjdp	for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i || exit 1 ; done
36433965Sjdp
36533965Sjdpde-stage1: force
36633965Sjdp	- (cd stage1 ; mv -f $(STAGESTUFF) ..)
36733965Sjdp	- rmdir stage1
36833965Sjdp
36933965Sjdpde-stage2: force
37033965Sjdp	- (cd stage2 ; mv -f $(STAGESTUFF) ..)
37133965Sjdp	- rmdir stage2
37233965Sjdp
37333965Sjdpde-stage3: force
37433965Sjdp	- (cd stage3 ; mv -f $(STAGESTUFF) ..)
37533965Sjdp	- rmdir stage3
37633965Sjdp
37733965Sjdpforce:
37833965Sjdp
37933965SjdpMakefile: $(srcdir)/Makefile.in
38033965Sjdp	cd .. && CONFIG_FILES=doc/$@ CONFIG_HEADERS= $(SHELL) ./config.status
38133965Sjdp
382