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