]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/doc/Makefile.in
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / bfd / doc / Makefile.in
CommitLineData
53d3ce37 1# Makefile.in generated automatically by automake 1.3 from Makefile.am
a7571b17 2
97ca325a 3# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
bc6b39f5 4# This Makefile.in is free software; the Free Software Foundation
97ca325a
ILT
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
8792d414 7
97ca325a
ILT
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
a7571b17 12
97ca325a
ILT
13
14SHELL = @SHELL@
bc6b39f5
ILT
15
16srcdir = @srcdir@
17top_srcdir = @top_srcdir@
18VPATH = @srcdir@
19prefix = @prefix@
8c693660 20exec_prefix = @exec_prefix@
64cebbc5 21
bc6b39f5
ILT
22bindir = @bindir@
23sbindir = @sbindir@
24libexecdir = @libexecdir@
61e51cd7 25datadir = @datadir@
bc6b39f5
ILT
26sysconfdir = @sysconfdir@
27sharedstatedir = @sharedstatedir@
28localstatedir = @localstatedir@
29libdir = @libdir@
61e51cd7 30infodir = @infodir@
bc6b39f5 31mandir = @mandir@
61e51cd7 32includedir = @includedir@
bc6b39f5 33oldincludedir = /usr/include
a7571b17 34
53d3ce37
TT
35DISTDIR =
36
bc6b39f5
ILT
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = ..
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
8792d414 47
61e51cd7
ILT
48INSTALL = @INSTALL@
49INSTALL_PROGRAM = @INSTALL_PROGRAM@
50INSTALL_DATA = @INSTALL_DATA@
bc6b39f5
ILT
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
97ca325a
ILT
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
bc6b39f5
ILT
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66AR = @AR@
53d3ce37 67AS = @AS@
bc6b39f5
ILT
68BFD_HOST_64BIT_LONG = @BFD_HOST_64BIT_LONG@
69BFD_HOST_64_BIT = @BFD_HOST_64_BIT@
70BFD_HOST_64_BIT_DEFINED = @BFD_HOST_64_BIT_DEFINED@
71BFD_HOST_U_64_BIT = @BFD_HOST_U_64_BIT@
53d3ce37
TT
72CATALOGS = @CATALOGS@
73CATOBJEXT = @CATOBJEXT@
44edf916 74CC = @CC@
97ca325a 75CC_FOR_BUILD = @CC_FOR_BUILD@
bc6b39f5
ILT
76COREFILE = @COREFILE@
77COREFLAG = @COREFLAG@
53d3ce37
TT
78DATADIRNAME = @DATADIRNAME@
79DLLTOOL = @DLLTOOL@
bc6b39f5 80EXEEXT = @EXEEXT@
97ca325a 81EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
53d3ce37
TT
82GMOFILES = @GMOFILES@
83GMSGFMT = @GMSGFMT@
84GT_NO = @GT_NO@
85GT_YES = @GT_YES@
bc6b39f5 86HDEFINES = @HDEFINES@
53d3ce37
TT
87INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
88INSTOBJEXT = @INSTOBJEXT@
89INTLDEPS = @INTLDEPS@
90INTLLIBS = @INTLLIBS@
91INTLOBJS = @INTLOBJS@
bc6b39f5
ILT
92LD = @LD@
93LIBTOOL = @LIBTOOL@
94LN_S = @LN_S@
95MAINT = @MAINT@
96MAKEINFO = @MAKEINFO@
53d3ce37
TT
97MKINSTALLDIRS = @MKINSTALLDIRS@
98MSGFMT = @MSGFMT@
97ca325a 99NM = @NM@
bc6b39f5 100PACKAGE = @PACKAGE@
53d3ce37
TT
101POFILES = @POFILES@
102POSUB = @POSUB@
bc6b39f5
ILT
103RANLIB = @RANLIB@
104TDEFINES = @TDEFINES@
53d3ce37
TT
105USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
106USE_NLS = @USE_NLS@
bc6b39f5 107VERSION = @VERSION@
53d3ce37
TT
108WIN32LDFLAGS = @WIN32LDFLAGS@
109WIN32LIBADD = @WIN32LIBADD@
bc6b39f5
ILT
110all_backends = @all_backends@
111bfd_backends = @bfd_backends@
112bfd_machines = @bfd_machines@
53d3ce37 113l = @l@
bc6b39f5
ILT
114tdefaults = @tdefaults@
115wordsize = @wordsize@
8792d414 116
97ca325a 117AUTOMAKE_OPTIONS = cygnus
5e377ed2 118
40c0f22d 119DOCFILES = aoutx.texi archive.texi archures.texi \
25496d0c 120 bfdt.texi cache.texi coffcode.texi \
f3e7b8b0 121 core.texi elf.texi elfcode.texi format.texi libbfd.texi \
40c0f22d 122 opncls.texi reloc.texi section.texi \
8c693660 123 syms.texi targets.texi init.texi hash.texi linker.texi
40c0f22d
RP
124
125PROTOS = archive.p archures.p bfd.p \
a1711bb4 126 core.p format.p \
40c0f22d
RP
127 libbfd.p opncls.p reloc.p \
128 section.p syms.p targets.p \
a1711bb4 129 format.p core.p init.p
40c0f22d 130
8c693660 131IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip coffcode.ip
40c0f22d
RP
132
133# SRCDOC, SRCPROT, SRCIPROT only used to sidestep Sun Make bug in interaction
134# between VPATH and suffix rules. If you use GNU Make, perhaps other Makes,
135# you don't need these three:
38dc9747
RP
136SRCDOC = $(srcdir)/../aoutx.h $(srcdir)/../archive.c \
137 $(srcdir)/../archures.c $(srcdir)/../bfd.c \
138 $(srcdir)/../cache.c $(srcdir)/../coffcode.h \
61e51cd7 139 $(srcdir)/../corefile.c $(srcdir)/../elf.c \
f3e7b8b0 140 $(srcdir)/../elfcode.h $(srcdir)/../format.c \
38dc9747
RP
141 $(srcdir)/../libbfd.c $(srcdir)/../opncls.c \
142 $(srcdir)/../reloc.c $(srcdir)/../section.c \
8c693660
KR
143 $(srcdir)/../syms.c $(srcdir)/../targets.c \
144 $(srcdir)/../hash.c $(srcdir)/../linker.c
38dc9747
RP
145
146SRCPROT = $(srcdir)/../archive.c $(srcdir)/../archures.c \
61e51cd7 147 $(srcdir)/../bfd.c $(srcdir)/../coffcode.h $(srcdir)/../corefile.c \
38dc9747
RP
148 $(srcdir)/../format.c $(srcdir)/../libbfd.c \
149 $(srcdir)/../opncls.c $(srcdir)/../reloc.c \
150 $(srcdir)/../section.c $(srcdir)/../syms.c \
f3e7b8b0 151 $(srcdir)/../targets.c $(srcdir)/../init.c
38dc9747
RP
152
153SRCIPROT = $(srcdir)/../cache.c $(srcdir)/../libbfd.c \
154 $(srcdir)/../reloc.c $(srcdir)/../cpu-h8300.c \
155 $(srcdir)/../cpu-i960.c $(srcdir)/../archures.c \
8c693660 156 $(srcdir)/../init.c
40c0f22d 157
76b527fa
PB
158TEXIDIR = $(srcdir)/../../texinfo/fsf
159
bc6b39f5
ILT
160info_TEXINFOS = bfd.texinfo
161
97ca325a 162MKDOC = chew$(EXEEXT_FOR_BUILD)
bc6b39f5
ILT
163
164MOSTLYCLEANFILES = $(MKDOC) *.o
165
97ca325a
ILT
166CLEANFILES = s-* *.p *.ip
167
168DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log
169
170MAINTAINERCLEANFILES = $(DOCFILES)
bc6b39f5
ILT
171mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
172CONFIG_HEADER = ../config.h
173CONFIG_CLEAN_FILES =
174TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
175TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
176INFO_DEPS = bfd.info
177DVIS = bfd.dvi
178TEXINFOS = bfd.texinfo
179DIST_COMMON = ChangeLog Makefile.am Makefile.in
180
181
182DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
183
184TAR = tar
185GZIP = --best
53d3ce37 186all: Makefile
bc6b39f5
ILT
187
188.SUFFIXES:
53d3ce37
TT
189.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
190$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
bc6b39f5
ILT
191 cd $(top_srcdir) && $(AUTOMAKE) --cygnus doc/Makefile
192
53d3ce37 193Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
bc6b39f5
ILT
194 cd $(top_builddir) \
195 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
196
197
198bfd.info: bfd.texinfo
199bfd.dvi: bfd.texinfo
200
201
202DVIPS = dvips
203
204.texi.info:
205 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
206 $(MAKEINFO) -I $(srcdir) $<
207
208.texi.dvi:
209 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
210 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
211
212.texi:
213 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
214 $(MAKEINFO) -I $(srcdir) $<
215
216.texinfo.info:
217 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
218 $(MAKEINFO) -I $(srcdir) $<
219
220.texinfo:
221 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
222 $(MAKEINFO) -I $(srcdir) $<
223
224.texinfo.dvi:
225 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
226 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
53d3ce37
TT
227
228.txi.info:
229 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
230 $(MAKEINFO) -I $(srcdir) $<
231
232.txi.dvi:
233 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
234 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
235
236.txi:
237 @rm -f $@ $@-[0-9] $@-[0-9][0-9]
238 $(MAKEINFO) -I $(srcdir) $<
bc6b39f5
ILT
239.dvi.ps:
240 $(DVIPS) $< -o $@
241
242install-info-am: $(INFO_DEPS)
243 @$(NORMAL_INSTALL)
53d3ce37 244 $(mkinstalldirs) $(DESTDIR)$(infodir)
bc6b39f5
ILT
245 @for file in $(INFO_DEPS); do \
246 if test -f $$file; then d=.; else d=$(srcdir); fi; \
247 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
248 if test -f $$d/$$ifile; then \
53d3ce37
TT
249 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
250 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
bc6b39f5
ILT
251 else : ; fi; \
252 done; \
253 done
254 @$(POST_INSTALL)
255 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
256 for file in $(INFO_DEPS); do \
53d3ce37
TT
257 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
258 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
bc6b39f5
ILT
259 done; \
260 else : ; fi
261
262uninstall-info:
263 $(PRE_UNINSTALL)
264 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
265 ii=yes; \
266 else ii=; fi; \
267 for file in $(INFO_DEPS); do \
97ca325a 268 test -z "$ii" \
53d3ce37 269 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
bc6b39f5 270 done
53d3ce37 271 @$(NORMAL_UNINSTALL)
bc6b39f5 272 for file in $(INFO_DEPS); do \
53d3ce37 273 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
bc6b39f5
ILT
274 done
275
276dist-info: $(INFO_DEPS)
277 for base in $(INFO_DEPS); do \
278 if test -f $$base; then d=.; else d=$(srcdir); fi; \
279 for file in `cd $$d && eval echo $$base*`; do \
280 test -f $(distdir)/$$file \
281 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
282 || cp -p $$d/$$file $(distdir)/$$file; \
283 done; \
284 done
285
286mostlyclean-aminfo:
97ca325a
ILT
287 -rm -f bfd.aux bfd.cp bfd.cps bfd.dvi bfd.fn bfd.fns bfd.ky bfd.kys \
288 bfd.ps bfd.log bfd.pg bfd.toc bfd.tp bfd.tps bfd.vr bfd.vrs \
289 bfd.op bfd.tr bfd.cv bfd.cn
bc6b39f5
ILT
290
291clean-aminfo:
40c0f22d 292
bc6b39f5 293distclean-aminfo:
f8a75482 294
bc6b39f5 295maintainer-clean-aminfo:
97ca325a
ILT
296 for i in $(INFO_DEPS); do \
297 rm -f $$i; \
298 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
299 rm -f $$i-[0-9]*; \
300 fi; \
301 done
bc6b39f5
ILT
302clean-info: mostlyclean-aminfo
303tags: TAGS
304TAGS:
76b527fa 305
bc6b39f5
ILT
306
307distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
308
309subdir = doc
310
311distdir: $(DISTFILES)
312 @for file in $(DISTFILES); do \
313 if test -f $$file; then d=.; else d=$(srcdir); fi; \
314 test -f $(distdir)/$$file \
315 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
316 || cp -p $$d/$$file $(distdir)/$$file; \
8792d414 317 done
bc6b39f5
ILT
318 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
319info: $(INFO_DEPS)
320dvi: $(DVIS)
97ca325a 321check:
bc6b39f5
ILT
322 $(MAKE)
323installcheck:
324install-info: install-info-am
325install-exec:
326 @$(NORMAL_INSTALL)
327
328install-data:
329 @$(NORMAL_INSTALL)
330
331install: install-exec install-data all
332 @:
333
334uninstall:
335
bc6b39f5
ILT
336install-strip:
337 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
338installdirs:
339
340
341mostlyclean-generic:
97ca325a 342 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
bc6b39f5
ILT
343
344clean-generic:
97ca325a 345 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
bc6b39f5
ILT
346
347distclean-generic:
97ca325a
ILT
348 -rm -f Makefile $(DISTCLEANFILES)
349 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
350 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
bc6b39f5
ILT
351
352maintainer-clean-generic:
97ca325a
ILT
353 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
354 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
bc6b39f5
ILT
355mostlyclean: mostlyclean-aminfo mostlyclean-generic
356
357clean: clean-aminfo clean-generic mostlyclean
358
359distclean: distclean-aminfo distclean-generic clean
97ca325a
ILT
360 -rm -f config.status
361 -rm -f libtool
bc6b39f5
ILT
362
363maintainer-clean: maintainer-clean-aminfo maintainer-clean-generic \
364 distclean
365 @echo "This command is intended for maintainers to use;"
366 @echo "it deletes files that may require special tools to rebuild."
367
53d3ce37 368.PHONY: install-info-am uninstall-info mostlyclean-aminfo \
bc6b39f5
ILT
369distclean-aminfo clean-aminfo maintainer-clean-aminfo tags distdir info \
370dvi installcheck install-info install-exec install-data install \
371uninstall all installdirs mostlyclean-generic distclean-generic \
372clean-generic maintainer-clean-generic clean mostlyclean distclean \
373maintainer-clean
8792d414 374
a1711bb4 375
75ff7895 376$(MKDOC): chew.o
481d3f5a 377 $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(LOADLIBES) $(LDFLAGS)
75ff7895
DZ
378
379chew.o: chew.c
481d3f5a 380 $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include $(H_CFLAGS) $(CFLAGS) $(srcdir)/chew.c
a1711bb4
SC
381
382protos: libbfd.h libcoff.h bfd.h
383
bc6b39f5 384bfd.info bfd.dvi: $(DOCFILES) bfdsumm.texi bfd.texinfo
481d3f5a
DM
385
386# We can't replace these rules with an implicit rule, because
387# makes without VPATH support couldn't find the .h files in `..'.
388
25496d0c 389# We use s-XXX targets so that we can distribute the info files,
44edf916
ILT
390# and permit people to rebuild them, without requiring the makeinfo
391# program. If somebody tries to rebuild info, but none of the .texi
392# files have changed, then this Makefile will build chew, and will
393# build all of the stamp files, but will not actually have to rebuild
394# bfd.info.
395
25496d0c 396s-aoutx: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str
bc6b39f5 397 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp
44edf916 398 $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi
25496d0c
ILT
399 touch s-aoutx
400aoutx.texi: s-aoutx
44edf916 401
25496d0c 402s-archive: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str
bc6b39f5 403 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp
44edf916 404 $(srcdir)/../../move-if-change archive.tmp archive.texi
25496d0c
ILT
405 touch s-archive
406archive.texi: s-archive
44edf916 407
25496d0c 408s-archures: $(MKDOC) $(srcdir)/../archures.c $(srcdir)/doc.str
bc6b39f5 409 ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp
44edf916 410 $(srcdir)/../../move-if-change archures.tmp archures.texi
25496d0c
ILT
411 touch s-archures
412archures.texi: s-archures
44edf916 413
25496d0c
ILT
414# We use bfdt.texi, rather than bfd.texi, to avoid conflicting with
415# bfd.texinfo on an 8.3 filesystem.
416s-bfd: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str
bc6b39f5 417 ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp
25496d0c
ILT
418 $(srcdir)/../../move-if-change bfd.tmp bfdt.texi
419 touch s-bfd
420bfdt.texi: s-bfd
44edf916 421
25496d0c 422s-cache: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str
bc6b39f5 423 ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp
44edf916 424 $(srcdir)/../../move-if-change cache.tmp cache.texi
25496d0c
ILT
425 touch s-cache
426cache.texi: s-cache
44edf916 427
25496d0c 428s-coffcode: $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str
bc6b39f5 429 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp
44edf916 430 $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi
25496d0c
ILT
431 touch s-coffcode
432coffcode.texi: s-coffcode
44edf916 433
25496d0c 434s-core: $(MKDOC) $(srcdir)/../corefile.c $(srcdir)/doc.str
bc6b39f5 435 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp
44edf916 436 $(srcdir)/../../move-if-change core.tmp core.texi
25496d0c
ILT
437 touch s-core
438core.texi: s-core
44edf916 439
25496d0c 440s-elf: $(MKDOC) $(srcdir)/../elf.c $(srcdir)/doc.str
bc6b39f5 441 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp
44edf916 442 $(srcdir)/../../move-if-change elf.tmp elf.texi
25496d0c
ILT
443 touch s-elf
444elf.texi: s-elf
44edf916 445
25496d0c 446s-elfcode: $(MKDOC) $(srcdir)/../elfcode.h $(srcdir)/doc.str
bc6b39f5 447 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp
44edf916 448 $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi
25496d0c
ILT
449 touch s-elfcode
450elfcode.texi: s-elfcode
44edf916 451
25496d0c 452s-format: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str
bc6b39f5 453 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp
44edf916 454 $(srcdir)/../../move-if-change format.tmp format.texi
25496d0c
ILT
455 touch s-format
456format.texi: s-format
44edf916 457
25496d0c 458s-libbfd: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str
bc6b39f5 459 ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp
44edf916 460 $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi
25496d0c
ILT
461 touch s-libbfd
462libbfd.texi: s-libbfd
44edf916 463
25496d0c 464s-opncls: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str
bc6b39f5 465 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.tmp
44edf916 466 $(srcdir)/../../move-if-change opncls.tmp opncls.texi
25496d0c
ILT
467 touch s-opncls
468opncls.texi: s-opncls
44edf916 469
97ca325a 470s-reloc: $(MKDOC) $(srcdir)/../reloc.c $(srcdir)/doc.str
bc6b39f5 471 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp
44edf916 472 $(srcdir)/../../move-if-change reloc.tmp reloc.texi
25496d0c
ILT
473 touch s-reloc
474reloc.texi: s-reloc
44edf916 475
25496d0c 476s-section: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str
bc6b39f5 477 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp
44edf916 478 $(srcdir)/../../move-if-change section.tmp section.texi
25496d0c
ILT
479 touch s-section
480section.texi: s-section
44edf916 481
97ca325a 482s-syms: $(MKDOC) $(srcdir)/../syms.c $(srcdir)/doc.str
bc6b39f5 483 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp
44edf916 484 $(srcdir)/../../move-if-change syms.tmp syms.texi
25496d0c
ILT
485 touch s-syms
486syms.texi: s-syms
44edf916 487
25496d0c 488s-targets: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str
bc6b39f5 489 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp
44edf916 490 $(srcdir)/../../move-if-change targets.tmp targets.texi
25496d0c
ILT
491 touch s-targets
492targets.texi: s-targets
44edf916 493
25496d0c 494s-init: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str
bc6b39f5 495 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp
44edf916 496 $(srcdir)/../../move-if-change init.tmp init.texi
25496d0c
ILT
497 touch s-init
498init.texi: s-init
44edf916 499
25496d0c 500s-hash: $(MKDOC) $(srcdir)/../hash.c $(srcdir)/doc.str
bc6b39f5 501 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp
44edf916 502 $(srcdir)/../../move-if-change hash.tmp hash.texi
25496d0c
ILT
503 touch s-hash
504hash.texi: s-hash
44edf916 505
25496d0c 506s-linker: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str
bc6b39f5 507 ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp
44edf916 508 $(srcdir)/../../move-if-change linker.tmp linker.texi
25496d0c
ILT
509 touch s-linker
510linker.texi: s-linker
a1711bb4
SC
511
512libbfd.h: $(srcdir)/../libbfd-in.h \
a1711bb4
SC
513 $(srcdir)/../init.c \
514 $(srcdir)/../libbfd.c \
515 $(srcdir)/../cache.c \
a1711bb4 516 $(srcdir)/../reloc.c \
1a15b9fc 517 $(srcdir)/../archures.c \
61e51cd7 518 $(srcdir)/proto.str \
64cebbc5 519 $(MKDOC)
a1711bb4 520 cat $(srcdir)/../libbfd-in.h >libbfd.h
97ca325a
ILT
521 ./$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../init.c >>libbfd.h
522 ./$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../libbfd.c >>libbfd.h
523 ./$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../cache.c >>libbfd.h
524 ./$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../reloc.c >>libbfd.h
525 ./$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../archures.c >>libbfd.h
526 ./$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../elf.c >>libbfd.h
a1711bb4
SC
527
528libcoff.h: $(srcdir)/../libcoff-in.h \
61e51cd7
ILT
529 $(srcdir)/../coffcode.h \
530 $(srcdir)/proto.str \
64cebbc5 531 $(MKDOC)
a1711bb4 532 cat $(srcdir)/../libcoff-in.h >libcoff.h
97ca325a 533 ./$(MKDOC) -i -f $(srcdir)/proto.str < $(srcdir)/../coffcode.h >>libcoff.h
a1711bb4
SC
534
535bfd.h: $(srcdir)/../bfd-in.h \
536 $(srcdir)/../init.c \
537 $(srcdir)/../opncls.c \
538 $(srcdir)/../libbfd.c \
539 $(srcdir)/../section.c \
540 $(srcdir)/../archures.c \
541 $(srcdir)/../reloc.c \
542 $(srcdir)/../syms.c \
76b527fa 543 $(srcdir)/../bfd.c \
a1711bb4 544 $(srcdir)/../archive.c \
61e51cd7 545 $(srcdir)/../corefile.c \
a1711bb4 546 $(srcdir)/../targets.c \
fd8c21f9 547 $(srcdir)/../format.c \
61e51cd7 548 $(srcdir)/proto.str \
64cebbc5 549 $(MKDOC)
a1711bb4 550 cat $(srcdir)/../bfd-in.h >bfd.h
bc6b39f5
ILT
551 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../init.c >>bfd.h
552 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../opncls.c >>bfd.h
553 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../libbfd.c >>bfd.h
554 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../section.c >>bfd.h
555 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archures.c >>bfd.h
556 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../reloc.c >>bfd.h
557 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../syms.c >>bfd.h
558 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../bfd.c >>bfd.h
559 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archive.c >>bfd.h
560 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../corefile.c >>bfd.h
561 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../targets.c >>bfd.h
562 ./$(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../format.c >>bfd.h
61e51cd7
ILT
563 echo "#ifdef __cplusplus" >>bfd.h
564 echo "}" >>bfd.h
565 echo "#endif" >>bfd.h
a7571b17 566 echo "#endif" >>bfd.h
fafbc319 567
bc6b39f5
ILT
568# Tell versions [3.59,3.63) of GNU make to not export all variables.
569# Otherwise a system limit (for SysV at least) may be exceeded.
570.NOEXPORT: