Commit | Line | Data |
---|---|---|
6d4eea05 | 1 | # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am |
252b5132 | 2 | |
6d4eea05 | 3 | # Copyright (C) 1994, 1995-8, 1999, 2001 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@ |
7562a296 | 119 | bfd_libs = @bfd_libs@ |
252b5132 | 120 | bfd_machines = @bfd_machines@ |
8c96f6f4 | 121 | bfd_version = @bfd_version@ |
8c96f6f4 | 122 | bfd_version_string = @bfd_version_string@ |
d172d4ba NC |
123 | bfdincludedir = @bfdincludedir@ |
124 | bfdlibdir = @bfdlibdir@ | |
252b5132 RH |
125 | l = @l@ |
126 | tdefaults = @tdefaults@ | |
127 | wordsize = @wordsize@ | |
128 | ||
129 | AUTOMAKE_OPTIONS = cygnus | |
130 | ||
59bc061d NC |
131 | DOCFILES = aoutx.texi archive.texi archures.texi \ |
132 | bfdt.texi cache.texi coffcode.texi \ | |
93509525 KD |
133 | core.texi elf.texi elfcode.texi format.texi \ |
134 | libbfd.texi bfdwin.texi bfdio.texi \ | |
59bc061d NC |
135 | opncls.texi reloc.texi section.texi \ |
136 | syms.texi targets.texi init.texi hash.texi linker.texi \ | |
137 | mmo.texi | |
252b5132 RH |
138 | |
139 | ||
59bc061d NC |
140 | PROTOS = archive.p archures.p bfd.p \ |
141 | core.p format.p \ | |
93509525 | 142 | bfdio.p bfdwin.p \ |
59bc061d NC |
143 | libbfd.p opncls.p reloc.p \ |
144 | section.p syms.p targets.p \ | |
145 | format.p core.p init.p | |
252b5132 RH |
146 | |
147 | ||
148 | IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip coffcode.ip | |
149 | ||
150 | # SRCDOC, SRCPROT, SRCIPROT only used to sidestep Sun Make bug in interaction | |
151 | # between VPATH and suffix rules. If you use GNU Make, perhaps other Makes, | |
152 | # you don't need these three: | |
59bc061d NC |
153 | SRCDOC = $(srcdir)/../aoutx.h $(srcdir)/../archive.c \ |
154 | $(srcdir)/../archures.c $(srcdir)/../bfd.c \ | |
93509525 | 155 | $(srcdir)/../bfdio.c $(srcdir)/../bfdwin.c \ |
59bc061d NC |
156 | $(srcdir)/../cache.c $(srcdir)/../coffcode.h \ |
157 | $(srcdir)/../corefile.c $(srcdir)/../elf.c \ | |
158 | $(srcdir)/../elfcode.h $(srcdir)/../format.c \ | |
159 | $(srcdir)/../libbfd.c $(srcdir)/../opncls.c \ | |
160 | $(srcdir)/../reloc.c $(srcdir)/../section.c \ | |
161 | $(srcdir)/../syms.c $(srcdir)/../targets.c \ | |
162 | $(srcdir)/../hash.c $(srcdir)/../linker.c \ | |
163 | $(srcdir)/../mmo.c | |
252b5132 RH |
164 | |
165 | ||
59bc061d NC |
166 | SRCPROT = $(srcdir)/../archive.c $(srcdir)/../archures.c \ |
167 | $(srcdir)/../bfd.c $(srcdir)/../coffcode.h $(srcdir)/../corefile.c \ | |
168 | $(srcdir)/../format.c $(srcdir)/../libbfd.c \ | |
93509525 | 169 | $(srcdir)/../bfdio.c $(srcdir)/../bfdwin.c \ |
59bc061d NC |
170 | $(srcdir)/../opncls.c $(srcdir)/../reloc.c \ |
171 | $(srcdir)/../section.c $(srcdir)/../syms.c \ | |
172 | $(srcdir)/../targets.c $(srcdir)/../init.c | |
252b5132 RH |
173 | |
174 | ||
59bc061d | 175 | SRCIPROT = $(srcdir)/../cache.c $(srcdir)/../libbfd.c \ |
93509525 | 176 | $(srcdir)/../bfdio.c $(srcdir)/../bfdwin.c \ |
59bc061d NC |
177 | $(srcdir)/../reloc.c $(srcdir)/../cpu-h8300.c \ |
178 | $(srcdir)/../cpu-i960.c $(srcdir)/../archures.c \ | |
179 | $(srcdir)/../init.c | |
252b5132 RH |
180 | |
181 | ||
182 | TEXIDIR = $(srcdir)/../../texinfo/fsf | |
183 | ||
184 | info_TEXINFOS = bfd.texinfo | |
185 | ||
186 | MKDOC = chew$(EXEEXT_FOR_BUILD) | |
187 | ||
59bc061d NC |
188 | LIBBFD_H_DEP = \ |
189 | $(srcdir)/../libbfd-in.h \ | |
190 | $(srcdir)/../init.c \ | |
191 | $(srcdir)/../libbfd.c \ | |
93509525 KD |
192 | $(srcdir)/../bfdio.c \ |
193 | $(srcdir)/../bfdwin.c \ | |
59bc061d NC |
194 | $(srcdir)/../cache.c \ |
195 | $(srcdir)/../reloc.c \ | |
196 | $(srcdir)/../archures.c \ | |
197 | $(srcdir)/../elf.c \ | |
198 | $(srcdir)/header.sed \ | |
199 | $(srcdir)/proto.str \ | |
200 | $(MKDOC) | |
201 | ||
202 | ||
203 | LIBCOFF_H_DEP = \ | |
204 | $(srcdir)/../libcoff-in.h \ | |
205 | $(srcdir)/../coffcode.h \ | |
206 | $(srcdir)/header.sed \ | |
207 | $(srcdir)/proto.str \ | |
208 | $(MKDOC) | |
209 | ||
210 | ||
211 | BFD_H_DEP = \ | |
212 | $(srcdir)/../bfd-in.h \ | |
213 | $(srcdir)/../init.c \ | |
214 | $(srcdir)/../opncls.c \ | |
215 | $(srcdir)/../libbfd.c \ | |
93509525 KD |
216 | $(srcdir)/../bfdio.c \ |
217 | $(srcdir)/../bfdwin.c \ | |
59bc061d NC |
218 | $(srcdir)/../section.c \ |
219 | $(srcdir)/../archures.c \ | |
220 | $(srcdir)/../reloc.c \ | |
221 | $(srcdir)/../syms.c \ | |
222 | $(srcdir)/../bfd.c \ | |
223 | $(srcdir)/../archive.c \ | |
224 | $(srcdir)/../corefile.c \ | |
225 | $(srcdir)/../targets.c \ | |
226 | $(srcdir)/../format.c \ | |
eda81658 DJ |
227 | $(srcdir)/../linker.c \ |
228 | $(srcdir)/../simple.c \ | |
59bc061d NC |
229 | $(srcdir)/header.sed \ |
230 | $(srcdir)/proto.str \ | |
231 | $(srcdir)/../version.h \ | |
232 | $(MKDOC) | |
4eef72c7 AM |
233 | |
234 | ||
252b5132 RH |
235 | noinst_TEXINFOS = bfdint.texi |
236 | ||
237 | MOSTLYCLEANFILES = $(MKDOC) *.o | |
238 | ||
239 | CLEANFILES = s-* *.p *.ip | |
240 | ||
241 | DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log | |
242 | ||
243 | MAINTAINERCLEANFILES = $(DOCFILES) | |
244 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
245 | CONFIG_HEADER = ../config.h | |
246 | CONFIG_CLEAN_FILES = | |
247 | TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi` | |
248 | TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex | |
249 | INFO_DEPS = bfd.info | |
250 | DVIS = bfd.dvi | |
251 | TEXINFOS = bfd.texinfo | |
252 | DIST_COMMON = ChangeLog Makefile.am Makefile.in | |
253 | ||
254 | ||
a2d91340 | 255 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
252b5132 | 256 | |
3af9a47b | 257 | TAR = gtar |
252b5132 RH |
258 | GZIP_ENV = --best |
259 | all: all-redirect | |
260 | .SUFFIXES: | |
261 | .SUFFIXES: .dvi .info .ps .texi .texinfo .txi | |
262 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | |
263 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus doc/Makefile | |
264 | ||
265 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
266 | cd $(top_builddir) \ | |
267 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
268 | ||
269 | ||
270 | bfd.info: bfd.texinfo | |
271 | bfd.dvi: bfd.texinfo | |
272 | ||
273 | ||
274 | DVIPS = dvips | |
275 | ||
276 | .texi.info: | |
277 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
278 | $(MAKEINFO) -I $(srcdir) $< | |
279 | ||
280 | .texi.dvi: | |
a2d91340 | 281 | TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \ |
252b5132 RH |
282 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
283 | ||
284 | .texi: | |
285 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
286 | $(MAKEINFO) -I $(srcdir) $< | |
287 | ||
288 | .texinfo.info: | |
289 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
290 | $(MAKEINFO) -I $(srcdir) $< | |
291 | ||
292 | .texinfo: | |
293 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
294 | $(MAKEINFO) -I $(srcdir) $< | |
295 | ||
296 | .texinfo.dvi: | |
a2d91340 | 297 | TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \ |
252b5132 RH |
298 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
299 | ||
300 | .txi.info: | |
301 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
302 | $(MAKEINFO) -I $(srcdir) $< | |
303 | ||
304 | .txi.dvi: | |
a2d91340 | 305 | TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \ |
252b5132 RH |
306 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
307 | ||
308 | .txi: | |
309 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] | |
310 | $(MAKEINFO) -I $(srcdir) $< | |
311 | .dvi.ps: | |
312 | $(DVIPS) $< -o $@ | |
313 | ||
314 | install-info-am: $(INFO_DEPS) | |
315 | @$(NORMAL_INSTALL) | |
316 | $(mkinstalldirs) $(DESTDIR)$(infodir) | |
317 | @list='$(INFO_DEPS)'; \ | |
318 | for file in $$list; do \ | |
319 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
a2d91340 | 320 | for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ |
252b5132 RH |
321 | if test -f $$d/$$ifile; then \ |
322 | echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ | |
323 | $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ | |
324 | else : ; fi; \ | |
325 | done; \ | |
326 | done | |
327 | @$(POST_INSTALL) | |
328 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ | |
329 | list='$(INFO_DEPS)'; \ | |
330 | for file in $$list; do \ | |
331 | echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\ | |
332 | install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\ | |
333 | done; \ | |
334 | else : ; fi | |
335 | ||
336 | uninstall-info: | |
337 | $(PRE_UNINSTALL) | |
338 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ | |
a2d91340 AC |
339 | ii=yes; \ |
340 | else ii=; fi; \ | |
341 | list='$(INFO_DEPS)'; \ | |
342 | for file in $$list; do \ | |
6d4eea05 | 343 | test -z "$$ii" \ |
a2d91340 AC |
344 | || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ |
345 | done | |
252b5132 | 346 | @$(NORMAL_UNINSTALL) |
a2d91340 | 347 | list='$(INFO_DEPS)'; \ |
252b5132 | 348 | for file in $$list; do \ |
a2d91340 | 349 | (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ |
252b5132 RH |
350 | done |
351 | ||
352 | dist-info: $(INFO_DEPS) | |
353 | list='$(INFO_DEPS)'; \ | |
354 | for base in $$list; do \ | |
355 | if test -f $$base; then d=.; else d=$(srcdir); fi; \ | |
a2d91340 | 356 | for file in `cd $$d && eval echo $$base*`; do \ |
252b5132 | 357 | test -f $(distdir)/$$file \ |
a2d91340 | 358 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
252b5132 RH |
359 | || cp -p $$d/$$file $(distdir)/$$file; \ |
360 | done; \ | |
361 | done | |
362 | ||
363 | mostlyclean-aminfo: | |
a2d91340 AC |
364 | -rm -f bfd.aux bfd.cp bfd.cps bfd.dvi bfd.fn bfd.fns bfd.ky bfd.kys \ |
365 | bfd.ps bfd.log bfd.pg bfd.toc bfd.tp bfd.tps bfd.vr bfd.vrs \ | |
366 | bfd.op bfd.tr bfd.cv bfd.cn | |
252b5132 RH |
367 | |
368 | clean-aminfo: | |
369 | ||
370 | distclean-aminfo: | |
371 | ||
372 | maintainer-clean-aminfo: | |
373 | for i in $(INFO_DEPS); do \ | |
374 | rm -f $$i; \ | |
375 | if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ | |
376 | rm -f $$i-[0-9]*; \ | |
377 | fi; \ | |
378 | done | |
379 | clean-info: mostlyclean-aminfo | |
380 | tags: TAGS | |
381 | TAGS: | |
382 | ||
383 | ||
384 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |
385 | ||
a2d91340 AC |
386 | subdir = doc |
387 | ||
252b5132 RH |
388 | distdir: $(DISTFILES) |
389 | @for file in $(DISTFILES); do \ | |
390 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
391 | if test -d $$d/$$file; then \ | |
a2d91340 | 392 | cp -pr $$d/$$file $(distdir)/$$file; \ |
252b5132 RH |
393 | else \ |
394 | test -f $(distdir)/$$file \ | |
a2d91340 AC |
395 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
396 | || cp -p $$d/$$file $(distdir)/$$file || :; \ | |
252b5132 RH |
397 | fi; \ |
398 | done | |
399 | $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info | |
400 | info-am: $(INFO_DEPS) | |
401 | info: info-am | |
402 | dvi-am: $(DVIS) | |
403 | dvi: dvi-am | |
404 | check-am: | |
405 | check: check-am | |
406 | installcheck-am: | |
407 | installcheck: installcheck-am | |
408 | install-info-am: | |
409 | install-info: install-info-am | |
410 | install-exec-am: | |
411 | install-exec: install-exec-am | |
412 | ||
413 | install-data-am: | |
414 | install-data: install-data-am | |
415 | ||
416 | install-am: all-am | |
417 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
418 | install: install-am | |
419 | uninstall-am: | |
420 | uninstall: uninstall-am | |
421 | all-am: Makefile | |
422 | all-redirect: all-am | |
423 | install-strip: | |
a2d91340 | 424 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
252b5132 RH |
425 | installdirs: |
426 | ||
427 | ||
428 | mostlyclean-generic: | |
429 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) | |
430 | ||
431 | clean-generic: | |
432 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
433 | ||
434 | distclean-generic: | |
435 | -rm -f Makefile $(CONFIG_CLEAN_FILES) | |
436 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
437 | -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) | |
438 | ||
439 | maintainer-clean-generic: | |
440 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) | |
441 | mostlyclean-am: mostlyclean-aminfo mostlyclean-generic | |
442 | ||
443 | mostlyclean: mostlyclean-am | |
444 | ||
445 | clean-am: clean-aminfo clean-generic mostlyclean-am | |
446 | ||
447 | clean: clean-am | |
448 | ||
449 | distclean-am: distclean-aminfo distclean-generic clean-am | |
450 | -rm -f libtool | |
451 | ||
452 | distclean: distclean-am | |
453 | ||
454 | maintainer-clean-am: maintainer-clean-aminfo maintainer-clean-generic \ | |
455 | distclean-am | |
456 | @echo "This command is intended for maintainers to use;" | |
457 | @echo "it deletes files that may require special tools to rebuild." | |
458 | ||
459 | maintainer-clean: maintainer-clean-am | |
460 | ||
461 | .PHONY: install-info-am uninstall-info mostlyclean-aminfo \ | |
462 | distclean-aminfo clean-aminfo maintainer-clean-aminfo tags distdir \ | |
463 | info-am info dvi-am dvi check check-am installcheck-am installcheck \ | |
464 | install-info-am install-info install-exec-am install-exec \ | |
465 | install-data-am install-data install-am install uninstall-am uninstall \ | |
a2d91340 | 466 | all-redirect all-am all installdirs mostlyclean-generic \ |
252b5132 RH |
467 | distclean-generic clean-generic maintainer-clean-generic clean \ |
468 | mostlyclean distclean maintainer-clean | |
469 | ||
470 | ||
471 | $(MKDOC): chew.o | |
472 | $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(LOADLIBES) $(LDFLAGS) | |
473 | ||
474 | chew.o: chew.c | |
475 | $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS) $(srcdir)/chew.c | |
476 | ||
477 | protos: libbfd.h libcoff.h bfd.h | |
478 | ||
479 | bfd.info bfd.dvi: $(DOCFILES) bfdsumm.texi bfd.texinfo | |
480 | ||
481 | # We can't replace these rules with an implicit rule, because | |
482 | # makes without VPATH support couldn't find the .h files in `..'. | |
483 | ||
484 | # We use s-XXX targets so that we can distribute the info files, | |
485 | # and permit people to rebuild them, without requiring the makeinfo | |
486 | # program. If somebody tries to rebuild info, but none of the .texi | |
487 | # files have changed, then this Makefile will build chew, and will | |
488 | # build all of the stamp files, but will not actually have to rebuild | |
489 | # bfd.info. | |
490 | ||
491 | s-aoutx: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str | |
492 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.tmp | |
493 | $(srcdir)/../../move-if-change aoutx.tmp aoutx.texi | |
494 | touch s-aoutx | |
495 | aoutx.texi: s-aoutx | |
496 | ||
497 | s-archive: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str | |
498 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.tmp | |
499 | $(srcdir)/../../move-if-change archive.tmp archive.texi | |
500 | touch s-archive | |
501 | archive.texi: s-archive | |
502 | ||
503 | s-archures: $(MKDOC) $(srcdir)/../archures.c $(srcdir)/doc.str | |
504 | ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.tmp | |
505 | $(srcdir)/../../move-if-change archures.tmp archures.texi | |
506 | touch s-archures | |
507 | archures.texi: s-archures | |
508 | ||
509 | # We use bfdt.texi, rather than bfd.texi, to avoid conflicting with | |
510 | # bfd.texinfo on an 8.3 filesystem. | |
511 | s-bfd: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str | |
512 | ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.tmp | |
513 | $(srcdir)/../../move-if-change bfd.tmp bfdt.texi | |
514 | touch s-bfd | |
515 | bfdt.texi: s-bfd | |
516 | ||
517 | s-cache: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str | |
518 | ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.tmp | |
519 | $(srcdir)/../../move-if-change cache.tmp cache.texi | |
520 | touch s-cache | |
521 | cache.texi: s-cache | |
522 | ||
523 | s-coffcode: $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str | |
524 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.tmp | |
525 | $(srcdir)/../../move-if-change coffcode.tmp coffcode.texi | |
526 | touch s-coffcode | |
527 | coffcode.texi: s-coffcode | |
528 | ||
529 | s-core: $(MKDOC) $(srcdir)/../corefile.c $(srcdir)/doc.str | |
530 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../corefile.c >core.tmp | |
531 | $(srcdir)/../../move-if-change core.tmp core.texi | |
532 | touch s-core | |
533 | core.texi: s-core | |
534 | ||
535 | s-elf: $(MKDOC) $(srcdir)/../elf.c $(srcdir)/doc.str | |
536 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.tmp | |
537 | $(srcdir)/../../move-if-change elf.tmp elf.texi | |
538 | touch s-elf | |
539 | elf.texi: s-elf | |
540 | ||
541 | s-elfcode: $(MKDOC) $(srcdir)/../elfcode.h $(srcdir)/doc.str | |
542 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.tmp | |
543 | $(srcdir)/../../move-if-change elfcode.tmp elfcode.texi | |
544 | touch s-elfcode | |
545 | elfcode.texi: s-elfcode | |
546 | ||
3c3bdf30 NC |
547 | s-mmo: $(MKDOC) $(srcdir)/../mmo.c $(srcdir)/doc.str |
548 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../mmo.c >mmo.tmp | |
549 | $(srcdir)/../../move-if-change mmo.tmp mmo.texi | |
550 | touch s-mmo | |
551 | mmo.texi: s-mmo | |
552 | ||
252b5132 RH |
553 | s-format: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str |
554 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.tmp | |
555 | $(srcdir)/../../move-if-change format.tmp format.texi | |
556 | touch s-format | |
557 | format.texi: s-format | |
558 | ||
559 | s-libbfd: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str | |
560 | ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.tmp | |
561 | $(srcdir)/../../move-if-change libbfd.tmp libbfd.texi | |
562 | touch s-libbfd | |
563 | libbfd.texi: s-libbfd | |
564 | ||
93509525 KD |
565 | s-bfdio: $(MKDOC) $(srcdir)/../bfdio.c $(srcdir)/doc.str |
566 | ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdio.c >bfdio.tmp | |
567 | $(srcdir)/../../move-if-change bfdio.tmp bfdio.texi | |
568 | touch s-bfdio | |
569 | bfdio.texi: s-bfdio | |
570 | ||
571 | s-bfdwin: $(MKDOC) $(srcdir)/../bfdwin.c $(srcdir)/doc.str | |
572 | ./$(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfdwin.c >bfdwin.tmp | |
573 | $(srcdir)/../../move-if-change bfdwin.tmp bfdwin.texi | |
574 | touch s-bfdwin | |
575 | bfdwin.texi: s-bfdwin | |
576 | ||
252b5132 RH |
577 | s-opncls: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str |
578 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../opncls.c >opncls.tmp | |
579 | $(srcdir)/../../move-if-change opncls.tmp opncls.texi | |
580 | touch s-opncls | |
581 | opncls.texi: s-opncls | |
582 | ||
583 | s-reloc: $(MKDOC) $(srcdir)/../reloc.c $(srcdir)/doc.str | |
584 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.tmp | |
585 | $(srcdir)/../../move-if-change reloc.tmp reloc.texi | |
586 | touch s-reloc | |
587 | reloc.texi: s-reloc | |
588 | ||
589 | s-section: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str | |
590 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.tmp | |
591 | $(srcdir)/../../move-if-change section.tmp section.texi | |
592 | touch s-section | |
593 | section.texi: s-section | |
594 | ||
595 | s-syms: $(MKDOC) $(srcdir)/../syms.c $(srcdir)/doc.str | |
596 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.tmp | |
597 | $(srcdir)/../../move-if-change syms.tmp syms.texi | |
598 | touch s-syms | |
599 | syms.texi: s-syms | |
600 | ||
601 | s-targets: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str | |
602 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.tmp | |
603 | $(srcdir)/../../move-if-change targets.tmp targets.texi | |
604 | touch s-targets | |
605 | targets.texi: s-targets | |
606 | ||
607 | s-init: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str | |
608 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.tmp | |
609 | $(srcdir)/../../move-if-change init.tmp init.texi | |
610 | touch s-init | |
611 | init.texi: s-init | |
612 | ||
613 | s-hash: $(MKDOC) $(srcdir)/../hash.c $(srcdir)/doc.str | |
614 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.tmp | |
615 | $(srcdir)/../../move-if-change hash.tmp hash.texi | |
616 | touch s-hash | |
617 | hash.texi: s-hash | |
618 | ||
619 | s-linker: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str | |
620 | ./$(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.tmp | |
621 | $(srcdir)/../../move-if-change linker.tmp linker.texi | |
622 | touch s-linker | |
623 | linker.texi: s-linker | |
624 | ||
4eef72c7 AM |
625 | libbfd.h: $(LIBBFD_H_DEP) |
626 | echo "$(LIBBFD_H_DEP)" | sed -f $(srcdir)/header.sed > $@ | |
627 | for file in $(LIBBFD_H_DEP); do \ | |
628 | case $$file in \ | |
629 | *-in.h) cat $$file >> $@ ;; \ | |
630 | */header.sed) break ;; \ | |
796f6cb7 | 631 | *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ,' \ |
c46f20ef | 632 | -e 's,$$,. */,' >> $@ ; \ |
86fb1dec | 633 | ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ |
4eef72c7 AM |
634 | esac; \ |
635 | done | |
252b5132 | 636 | |
4eef72c7 AM |
637 | libcoff.h: $(LIBCOFF_H_DEP) |
638 | echo "$(LIBCOFF_H_DEP)" | sed -f $(srcdir)/header.sed > $@ | |
639 | for file in $(LIBCOFF_H_DEP); do \ | |
640 | case $$file in \ | |
641 | *-in.h) cat $$file >> $@ ;; \ | |
642 | */header.sed) break ;; \ | |
796f6cb7 | 643 | *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ,' \ |
c46f20ef | 644 | -e 's,$$,. */,' >> $@ ; \ |
86fb1dec | 645 | ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ |
4eef72c7 AM |
646 | esac; \ |
647 | done | |
648 | ||
649 | bfd.h: $(BFD_H_DEP) | |
650 | echo "$(BFD_H_DEP)" | sed -f $(srcdir)/header.sed > $@ | |
651 | for file in $(BFD_H_DEP); do \ | |
652 | case $$file in \ | |
653 | *-in.h) cat $$file >> $@ ;; \ | |
654 | */header.sed) break ;; \ | |
796f6cb7 | 655 | *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ,' \ |
c46f20ef | 656 | -e 's,$$,. */,' >> $@ ; \ |
86fb1dec | 657 | ./$(MKDOC) -f $(srcdir)/proto.str < $$file >> $@ ;; \ |
4eef72c7 AM |
658 | esac; \ |
659 | done | |
660 | echo "#ifdef __cplusplus" >> $@ | |
661 | echo "}" >> $@ | |
662 | echo "#endif" >> $@ | |
663 | echo "#endif" >> $@ | |
252b5132 | 664 | |
7562a296 HPN |
665 | # We want install to imply install-info as per GNU standards, despite the |
666 | # cygnus option. | |
667 | install: install-info | |
668 | ||
252b5132 RH |
669 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
670 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
671 | .NOEXPORT: |