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