5dc6fb4fd1777c2b0361e2e063616b29188a02b8
[deliverable/binutils-gdb.git] / bfd / Makefile.in
1 # Makefile template for Configure for the BFD library.
2 # Copyright (C) 1990, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
3 # Written by Cygnus Support.
4 #
5 # This file is part of BFD, the Binary File Descriptor library.
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 VPATH = @srcdir@
22 srcdir = @srcdir@
23
24 prefix = @prefix@
25
26 exec_prefix = @exec_prefix@
27 bindir = $(exec_prefix)/bin
28 libdir = $(exec_prefix)/lib
29
30 datadir = $(prefix)/lib
31 mandir = $(prefix)/man
32 man1dir = $(mandir)/man1
33 man2dir = $(mandir)/man2
34 man3dir = $(mandir)/man3
35 man4dir = $(mandir)/man4
36 man5dir = $(mandir)/man5
37 man6dir = $(mandir)/man6
38 man7dir = $(mandir)/man7
39 man8dir = $(mandir)/man8
40 man9dir = $(mandir)/man9
41 infodir = $(prefix)/info
42 includedir = $(prefix)/include
43 oldincludedir =
44 docdir = doc
45
46 SHELL = /bin/sh
47
48 INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
49 INSTALL_PROGRAM = $(INSTALL)
50 INSTALL_DATA = $(INSTALL)
51
52 AR = ar
53 AR_FLAGS = rc
54 CFLAGS = -g
55 MAKEINFO = makeinfo
56 RANLIB = @RANLIB@
57
58 CC_FOR_BUILD = $(CC)
59
60 INCDIR = $(srcdir)/../include
61 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
62 DEP = mkdep
63
64 SUBDIRS = doc
65
66 TARGETLIB = libbfd.a
67
68 # bfd.h goes here, for now
69 BFD_H = bfd.h
70
71 # Some of these files should be in BFD*_BACKENDS below, but some programs
72 # won't link without them. So, in order for some of the minimal-bfd
73 # hacks to work, they're also included here for now.
74 # gdb: elf.o
75 # objdump: elf.o
76 #
77 # Also, Jim Kingdon notes:
78 # Writing S-records should be included in all (or at least most)
79 # *-*-coff, *-*-aout, etc., configurations, because people will want to
80 # be able to use objcopy to create S-records. (S-records are not useful
81 # for the debugger, so if you are downloading things as S-records you
82 # need two copies of the executable, one to download and one for the
83 # debugger).
84 BFD_LIBS = \
85 archive.o archures.o bfd.o cache.o coffgen.o core.o \
86 format.o init.o libbfd.o opncls.o reloc.o \
87 section.o syms.o targets.o hash.o linker.o \
88 elf.o srec.o binary.o tekhex.o
89
90 # This list is alphabetized to make it easier to keep in sync
91 # with the decls and initializer in archures.c.
92 ALL_MACHINES = \
93 cpu-a29k.o \
94 cpu-alpha.o \
95 $(start-sanitize-arc) \
96 cpu-arc.o \
97 $(end-sanitize-arc) \
98 cpu-arm.o \
99 cpu-h8300.o \
100 cpu-h8500.o \
101 cpu-hppa.o \
102 cpu-i386.o \
103 cpu-i960.o \
104 cpu-m68k.o \
105 cpu-m88k.o \
106 cpu-mips.o \
107 cpu-ns32k.o \
108 cpu-powerpc.o \
109 $(start-sanitize-rce) \
110 cpu-rce.o \
111 $(end-sanitize-rce) \
112 cpu-rs6000.o \
113 cpu-sh.o \
114 cpu-sparc.o \
115 cpu-vax.o \
116 cpu-we32k.o \
117 cpu-w65.o \
118 cpu-z8k.o
119
120 # The .o files needed by all of the 32 bit vectors that are configured into
121 # target_vector in targets.c if configured with --enable-targets=all.
122 BFD32_BACKENDS = \
123 aout-adobe.o \
124 aout-ns32k.o \
125 $(start-sanitize-rce) \
126 aout-rce.o \
127 $(end-sanitize-rce) \
128 aout0.o \
129 aout32.o \
130 bout.o \
131 cf-i386lynx.o \
132 cf-m68klynx.o \
133 cf-sparclynx.o \
134 coff-a29k.o \
135 coff-apollo.o \
136 coff-arm.o \
137 coff-h8300.o \
138 coff-h8500.o \
139 coff-i386.o \
140 coff-go32.o \
141 coff-i960.o \
142 coff-m68k.o \
143 coff-m88k.o \
144 coff-mips.o \
145 coff-rs6000.o \
146 coff-sh.o \
147 coff-sparc.o \
148 coff-u68k.o \
149 coff-we32k.o \
150 coff-w65.o \
151 coff-z8k.o \
152 cofflink.o \
153 ecoff.o \
154 ecofflink.o \
155 $(start-sanitize-arc) \
156 elf32-arc.o \
157 $(end-sanitize-arc) \
158 elf32-gen.o \
159 elf32-hppa.o \
160 elf32-i386.o \
161 elf32-i860.o \
162 elf32-m68k.o \
163 elf32-m88k.o \
164 elf32-mips.o \
165 elf32-ppc.o \
166 elf32-sparc.o \
167 elf32.o \
168 elflink.o \
169 hp300hpux.o \
170 som.o \
171 i386aout.o \
172 i386bsd.o \
173 i386linux.o \
174 i386lynx.o \
175 i386msdos.o \
176 i386netbsd.o \
177 i386mach3.o \
178 i386os9k.o \
179 ieee.o \
180 m68klynx.o \
181 m68knetbsd.o \
182 m88kmach3.o \
183 mipsbsd.o \
184 newsos3.o \
185 nlm.o \
186 nlm32-i386.o \
187 nlm32-sparc.o \
188 nlm32-ppc.o \
189 nlm32.o \
190 ns32knetbsd.o \
191 oasys.o \
192 pc532-mach.o \
193 pe-arm.o \
194 pei-arm.o \
195 pe-i386.o \
196 pei-i386.o \
197 reloc16.o \
198 sparclynx.o \
199 sparcnetbsd.o \
200 stab-syms.o \
201 sunos.o \
202 tekhex.o \
203 versados.o
204
205 # The .o files needed by all of the 64 bit vectors that are configured into
206 # target_vector in targets.c if configured with --enable-targets=all
207 # and --enable-64-bit-bfd.
208 BFD64_BACKENDS = \
209 aout64.o \
210 coff-alpha.o \
211 demo64.o \
212 elf64-gen.o \
213 elf64-sparc.o \
214 elf64.o \
215 nlm32-alpha.o \
216 nlm64.o
217
218 OPTIONAL_BACKENDS = \
219 aix386-core.o \
220 hpux-core.o \
221 irix-core.o \
222 lynx-core.o \
223 osf-core.o \
224 trad-core.o \
225 cisco-core.o
226
227 # These are defined by configure.in:
228 WORDSIZE = @wordsize@
229 ALL_BACKENDS = @all_backends@
230 BFD_BACKENDS = @bfd_backends@
231 BFD_MACHINES = @bfd_machines@
232 TDEFAULTS = @tdefaults@
233
234 all:
235
236 #### host and target dependent Makefile fragments come in here.
237 # @target_makefile_frag@
238 # @host_makefile_frag@
239 ###
240
241 FLAGS_TO_PASS = \
242 "prefix=$(prefix)" \
243 "exec_prefix=$(exec_prefix)" \
244 "against=$(against)" \
245 "AR=$(AR)" \
246 "AR_FLAGS=$(AR_FLAGS)" \
247 "CC=$(CC)" \
248 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
249 "CFLAGS=$(CFLAGS)" \
250 "RANLIB=$(RANLIB)" \
251 "MAKEINFO=$(MAKEINFO)" \
252 "INSTALL=$(INSTALL)" \
253 "INSTALL_DATA=$(INSTALL_DATA)" \
254 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
255 "BISON=$(BISON)"
256
257 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) @COREFLAG@ $(TDEFINES) $(CSEARCH) $(CSWITCHES)
258 .c.o:
259 $(CC) -c $(ALL_CFLAGS) $<
260
261 # C source files that correspond to .o's.
262 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
263 archures.c coff-i386.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
264 coff-i960.c srec.c binary.c tekhex.c oasys.c ieee.c aout0.c \
265 ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
266 coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
267 section.c core.c syms.c stab-syms.c reloc.c init.c \
268 coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
269 i386aout.c i386linux.c i386mach3.c i386netbsd.c i386os9k.c \
270 bout.c aout-adobe.c coff-we32k.c coff-w65.c \
271 i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
272 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c cpu-w65.c \
273 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
274 mipsbsd.c cpu-sh.c \
275 elf.c elflink.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c \
276 elf32-m68k.c elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c \
277 elf32-ppc.c elf64.c elf64-gen.c elf64-sparc.c \
278 nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
279 nlm64.c coff-alpha.c cpu-alpha.c nlm32-ppc.c \
280 hp300bsd.c hp300hpux.c \
281 i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
282 sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
283 irix-core.c lynx-core.c osf-core.c hash.c linker.c cofflink.c \
284 m68knetbsd.c ns32knetbsd.c sparcnetbsd.c pe-i386.c pei-i386.c \
285 versados.c coff-arm.c pe-arm.c pei-arm.c
286
287 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
288 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
289 elfcode.h hppa_stubs.h libaout.h libbfd.h \
290 libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
291 liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h
292
293 STAGESTUFF = $(TARGETLIB) $(OFILES)
294
295 all: Makefile $(TARGETLIB)
296 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
297
298 .NOEXPORT:
299 MAKEOVERRIDES=
300
301 .PHONY: check installcheck
302 check:
303 @echo No testsuites exist for the BFD library. Nothing to check.
304
305 installcheck:
306 @echo No testsuites exist for the BFD library. Nothing to check.
307
308 info dvi : force
309 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
310
311 clean-info:
312 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
313
314 install-info: force
315 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
316
317 diststuff: info headers
318
319 # Various kinds of .o files to put in libbfd.a:
320 # BFD_LIBS Generic routines, always needed.
321 # BFD_BACKENDS Routines the configured targets need.
322 # BFD_MACHINES Architecture-specific routines the configured targets need.
323 # COREFILE Core file routines for a native configuration
324 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
325
326 ofiles : Makefile
327 rm -f ofiles
328 f=""; \
329 for i in $(OFILES) ; do \
330 case " $$f " in \
331 *" $$i "*) ;; \
332 *) f="$$f $$i" ;; \
333 esac ; \
334 done ; \
335 echo $$f > ofiles
336
337 $(TARGETLIB): $(OFILES) ofiles
338 rm -f $(TARGETLIB)
339 @echo ofiles = `cat ofiles`
340 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
341 $(RANLIB) $(TARGETLIB)
342
343 # When compiling archures.c and targets.c, supply the default target
344 # info from configure.
345
346
347 targets.o: targets.c Makefile
348 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
349
350 archures.o: archures.c Makefile
351 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
352
353 elf32-target.h : elfxx-target.h
354 rm -f elf32-target.h
355 sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
356 mv -f elf32-target.new elf32-target.h
357
358 elf64-target.h : elfxx-target.h
359 rm -f elf64-target.h
360 sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
361 mv -f elf64-target.new elf64-target.h
362
363 subdir_do: force
364 @for i in $(DODIRS); do \
365 if [ -d ./$$i ] ; then \
366 if (cd ./$$i; \
367 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
368 else exit 1 ; fi ; \
369 else true ; fi ; \
370 done
371
372 tags etags: TAGS
373
374 TAGS: force
375 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
376
377 do_mostlyclean:
378 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log
379 do_clean: do_mostlyclean
380 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles \
381 elf32-target.h elf64-target.h
382 do_distclean: do_clean
383 rm -f Makefile config.status sysdep.h config.cache
384
385 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
386 # make-stds.texi says it depends on whether they can be regenerated using
387 # this makefile. Well, they can, but only via an explicit "make headers";
388 # the makefile does not regenerate them as needed. So I guess we should not
389 # remove them in realclean.
390 do_realclean: do_distclean
391
392 mostlyclean: do_mostlyclean
393 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
394 clean: do_clean
395 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
396 distclean:
397 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
398 $(MAKE) do_distclean
399 clobber realclean:
400 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
401 $(MAKE) do_realclean
402
403 # Mark everything as depending on config.status, since the timestamp on
404 # sysdep.h might actually move backwards if we reconfig and relink it
405 # to a different hosts/h-xxx.h file. This will force a recompile anyway.
406 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
407 RECONFIG = config.status
408 $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
409 $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
410 $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
411 $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
412
413 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
414 cpu-i386.o:cpu-i386.c
415 cpu-z8k.o: cpu-z8k.c
416 cpu-h8500.o: cpu-h8500.c
417 cpu-we32k.o: cpu-we32k.c
418
419 saber:
420 #suppress 65 on bfd_map_over_sections
421 #suppress 66 on bfd_map_over_sections
422 #suppress 67 on bfd_map_over_sections
423 #suppress 68 on bfd_map_over_sections
424 #suppress 69 on bfd_map_over_sections
425 #suppress 70 on bfd_map_over_sections
426 #suppress 110 in bfd_map_over_sections
427 #suppress 112 in bfd_map_over_sections
428 #suppress 530
429 #suppress 590 in swap_exec_header
430 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
431 #suppress 590 in bfd_dont_truncate_arname
432 #suppress 590 on ignore
433 #suppress 590 on abfd
434 #setopt load_flags $(CFLAGS)
435 #load $(CFILES)
436
437
438 #-----------------------------------------------------------------------------
439 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
440 #
441 # 'VERSION' file must be present and contain a string of the form "x.y"
442 #-----------------------------------------------------------------------------
443
444 ver960.c: FORCE
445 rm -f ver960.c
446 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
447
448
449 # This target should be invoked before building a new release.
450 # 'VERSION' file must be present and contain a string of the form "x.y"
451 #
452 roll:
453 @V=`cat VERSION` ; \
454 MAJ=`sed 's/\..*//' VERSION` ; \
455 MIN=`sed 's/.*\.//' VERSION` ; \
456 V=$$MAJ.`expr $$MIN + 1` ; \
457 rm -f VERSION ; \
458 echo $$V >VERSION ; \
459 echo Version $$V
460
461 # Dummy target to force execution of dependent targets.
462 #
463 force:
464
465 install:
466 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
467 $(RANLIB) $(libdir)/libbfd.a
468 # Install BFD include file, and others that it needs. Install them
469 # both in GCC's include directory, and in the system include dir
470 # if configured as $(oldincludedir) -- which it usually isnt.
471 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
472 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
473 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
474 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
475 -if test -z "$(oldincludedir)"; then true; else \
476 test -d $(oldincludedir) || mkdir $(oldincludedir); \
477 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
478 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
479 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
480 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
481 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
482 fi
483
484 Makefile: Makefile.in config.status
485 $(SHELL) config.status
486
487 config.status: configure configure.host config.bfd @frags@
488 $(SHELL) config.status --recheck
489
490 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
491 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
492 rm -f .dep1
493 $(MAKE) DEP=$(DEP) .dep1
494 sed -f dep.sed <.dep1 >.dep
495
496 # This rule really wants a mkdep that runs "gcc -MM".
497 .dep1: $(CFILES)
498 rm -f .dep2
499 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
500 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
501 $(srcdir)/../move-if-change .dep2 .dep1
502
503 dep.sed: dep-in.sed config.status
504 sed <$(srcdir)/dep-in.sed >dep.sed \
505 -e 's!@BFD_H@!$(BFD_H)!' \
506 -e 's!@INCDIR@!$(INCDIR)!' \
507 -e 's!@SRCDIR@!$(srcdir)!'
508
509 dep: .dep
510 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
511 cat .dep >> tmp-Makefile
512 $(srcdir)/../move-if-change tmp-Makefile Makefile
513
514 dep-in: .dep
515 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
516 cat .dep >> tmp-Makefile.in
517 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
518
519 host-aout.o: Makefile
520
521 # The following program can be used to generate a simple config file
522 # which can be folded into an h-XXX file for a new host, with some editing.
523 aout-params.h: gen-aout
524 ./gen-aout host > aout-params.h
525 gen-aout: $(srcdir)/gen-aout.c Makefile
526 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
527
528 BFDIN_H= $(srcdir)/bfd-in2.h
529
530 $(BFD_H): stmp-bfd.h ; @true
531
532 # The file ../include/bfd.h is from earlier attempts to get this right.
533 # If the file is still there, kill it.
534 # The weird sh*t with grep is to avoid printing "exit 1 (ignored)" type
535 # messages from make, and avoid various ways in which different versions
536 # of make will screw up exit status checks.
537 # -grep... -> make prints "exit 1" message
538 # grep ... ; exit 0 -> sun(?) make notices grep failure
539 # grep ... || exit 0 -> bsd4.4 make still notices
540 # if grep ... -> seems okay so far
541 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
542 rm -f bfd.h-new 64 ../include/bfd.h
543 if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; \
544 else true; fi
545 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
546 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
547 -e '/64-bit.*sysdep.h/ r 64' \
548 < $(srcdir)/bfd-in2.h \
549 > bfd.h-new
550 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
551 rm -f 64
552 touch stmp-bfd.h
553
554 # Could really use a "copy-if-change"...
555 headers:
556 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
557 cp $(docdir)/bfd.h bfd-in2.h-new
558 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
559 cp $(docdir)/libbfd.h libbfd.h-new
560 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
561 cp $(docdir)/libcoff.h libcoff.h-new
562 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
563
564 bfd.info:
565 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
566
567 bfd.dvi:
568 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
569
570 bfd.ps:
571 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
572
573 start-sanitize-arc:
574 elf32-arc.o: elf32-arc.c libelf.h $(INCDIR)/elf/common.h \
575 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
576 $(INCDIR)/elf/arc.h elf32-target.h
577 end-sanitize-arc:
578
579 # What appears below is generated by a hacked mkdep using gcc -MM.
580
581 # DO NOT DELETE THIS LINE -- mkdep uses it.
582 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
583
584 libbfd.o: libbfd.c
585 opncls.o: opncls.c
586 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
587 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
588 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
589 $(INCDIR)/elf/external.h
590 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
591 targets.o: targets.c
592 cache.o: cache.c
593 archures.o: archures.c
594 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
595 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
596 coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
597 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
598 coffcode.h coffswap.h
599 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
600 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
601 $(INCDIR)/aout/ar.h
602 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
603 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
604 $(INCDIR)/aout/ar.h
605 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
606 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
607 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
608 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
609 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
610 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
611 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
612 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
613 srec.o: srec.c $(INCDIR)/libiberty.h
614 binary.o: binary.c
615 tekhex.o: tekhex.c $(INCDIR)/libiberty.h
616 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
617 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
618 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
619 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
620 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
621 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
622 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
623 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
624 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
625 libcoff.h libecoff.h
626 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
627 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
628 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
629 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
630 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
631 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
632 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
633 coffcode.h coffswap.h
634 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
635 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
636 coffcode.h coffswap.h
637 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
638 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
639 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
640 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
641 coffcode.h coffswap.h
642 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
643 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
644 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
645 $(INCDIR)/bfdlink.h
646 format.o: format.c
647 section.o: section.c
648 core.o: core.c
649 syms.o: syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
650 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
651 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
652 reloc.o: reloc.c $(INCDIR)/bfdlink.h
653 init.o: init.c
654 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
655 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
656 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
657 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
658 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
659 ecoffswap.h
660 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
661 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
662 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
663 cisco-core.o: cisco-core.c
664 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
665 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
666 $(INCDIR)/bfdlink.h aout-target.h
667 i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
668 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
669 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
670 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
671 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
672 $(INCDIR)/bfdlink.h aout-target.h
673 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
674 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
675 $(INCDIR)/bfdlink.h aout-target.h
676 i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
677 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
678 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
679 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
680 $(INCDIR)/os9k.h
681 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
682 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
683 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
684 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
685 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
686 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
687 coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
688 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
689 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
690 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
691 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
692 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
693 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
694 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
695 aout-target.h
696 cpu-h8300.o: cpu-h8300.c
697 cpu-i960.o: cpu-i960.c
698 cpu-sparc.o: cpu-sparc.c
699 cpu-m68k.o: cpu-m68k.c
700 cpu-m88k.o: cpu-m88k.c
701 cpu-vax.o: cpu-vax.c
702 cpu-mips.o: cpu-mips.c
703 cpu-a29k.o: cpu-a29k.c
704 cpu-i386.o: cpu-i386.c
705 cpu-powerpc.o: cpu-powerpc.c
706 cpu-w65.o: cpu-w65.c
707 cpu-rs6000.o: cpu-rs6000.c
708 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
709 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
710 som.o: som.c
711 cpu-hppa.o: cpu-hppa.c
712 cpu-we32k.o: cpu-we32k.c
713 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
714 $(INCDIR)/coff/internal.h libcoff.h
715 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
716 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
717 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
718 cpu-sh.o: cpu-sh.c
719 elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
720 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
721 elflink.o: elflink.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
722 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
723 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
724 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
725 elfcore.h elflink.h
726 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \
727 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
728 elf32-target.h
729 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h libelf.h \
730 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
731 elf32-target.h
732 elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
733 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
734 elf32-target.h
735 elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h libelf.h \
736 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
737 elf32-target.h
738 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
739 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
740 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
741 elf32-target.h
742 elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
743 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
744 elf32-target.h
745 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
746 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
747 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
748 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
749 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
750 elf32-target.h
751 elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
752 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
753 elf32-target.h
754 elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h libelf.h \
755 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
756 $(INCDIR)/elf/ppc.h elf32-target.h
757 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
758 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
759 elfcore.h elflink.h
760 elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
761 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
762 elf64-target.h
763 elf64-sparc.o: elf64-sparc.c libelf.h $(INCDIR)/elf/common.h \
764 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
765 elf64-target.h
766 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
767 $(INCDIR)/nlm/external.h
768 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
769 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
770 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
771 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
772 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
773 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
774 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
775 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
776 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
777 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
778 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
779 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
780 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
781 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
782 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
783 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
784 ecoffswap.h
785 cpu-alpha.o: cpu-alpha.c
786 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
787 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
788 nlmswap.h nlm-target.h
789 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
790 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
791 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
792 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
793 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
794 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
795 aout-target.h
796 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
797 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
798 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
799 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
800 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
801 coffcode.h coffswap.h
802 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
803 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
804 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
805 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
806 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
807 coffcode.h coffswap.h
808 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
809 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
810 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
811 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
812 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
813 coffcode.h coffswap.h
814 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
815 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
816 hpux-core.o: hpux-core.c
817 irix-core.o: irix-core.c
818 lynx-core.o: lynx-core.c
819 osf-core.o: osf-core.c
820 hash.o: hash.c
821 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
822 cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
823 libcoff.h
824 m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
825 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
826 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
827 ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
828 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
829 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
830 sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
831 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
832 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
833 pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
834 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
835 $(INCDIR)/bfdlink.h coffcode.h coffswap.h
836 pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
837 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
838 $(INCDIR)/bfdlink.h coffcode.h peicode.h
839 versados.o: versados.c $(INCDIR)/libiberty.h
840 coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
841 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
842 pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
843 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
844 $(INCDIR)/bfdlink.h coffcode.h coffswap.h
845 pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
846 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
847 $(INCDIR)/bfdlink.h coffcode.h peicode.h
848
849 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.046038 seconds and 4 git commands to generate.