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