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