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.
5 # This file is part of BFD, the Binary File Descriptor library.
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.
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.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
25 exec_prefix = $(prefix)
26 bindir = $(exec_prefix)/bin
27 libdir = $(exec_prefix)/lib
29 datadir = $(prefix)/lib
30 mandir = $(prefix)/man
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = $(prefix)/info
41 includedir = $(prefix)/include
47 INSTALL = `cd $(srcdir)/..; pwd`/install.sh -c
48 INSTALL_PROGRAM = $(INSTALL)
49 INSTALL_DATA = $(INSTALL)
60 INCDIR = $(srcdir)/../include
61 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
69 # bfd.h goes here, for now
72 # Some of these files should be in BFD*_BACKENDS below, but some programs
73 # won't link without them. So, in order for some of the minimal-bfd
74 # hacks to work, they're also included here for now.
78 # Also, Jim Kingdon notes:
79 # Writing S-records should be included in all (or at least most)
80 # *-*-coff, *-*-aout, etc., configurations, because people will want to
81 # be able to use objcopy to create S-records. (S-records are not useful
82 # for the debugger, so if you are downloading things as S-records you
83 # need two copies of the executable, one to download and one for the
86 archive.o archures.o bfd.o cache.o coffgen.o core.o \
87 format.o init.o libbfd.o opncls.o reloc.o \
88 section.o syms.o targets.o hash.o linker.o \
89 elf.o srec.o binary.o tekhex.o
91 # This list is alphabetized to make it easier to keep in sync
92 # with the decls and initializer in archures.c.
96 $(start-sanitize-arc) \
110 $(start-sanitize-rce) \
112 $(end-sanitize-rce) \
121 # The .o files needed by all of the 32 bit vectors that are configured into
122 # target_vector in targets.c if configured with --enable-targets=all.
126 $(start-sanitize-rce) \
128 $(end-sanitize-rce) \
155 $(start-sanitize-arc) \
157 $(end-sanitize-arc) \
204 # The .o files needed by all of the 64 bit vectors that are configured into
205 # target_vector in targets.c if configured with --enable-targets=all
206 # and --enable-64-bit-bfd.
217 OPTIONAL_BACKENDS = \
226 # These are defined by configure.in:
228 # BFD_BACKENDS = $(BFD32_BACKENDS)
232 #### host and target dependent Makefile fragments come in here.
237 "exec_prefix=$(exec_prefix)" \
238 "against=$(against)" \
240 "AR_FLAGS=$(AR_FLAGS)" \
242 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
245 "MAKEINFO=$(MAKEINFO)" \
246 "INSTALL=$(INSTALL)" \
247 "INSTALL_DATA=$(INSTALL_DATA)" \
248 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
251 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
253 $(CC) -c $(ALL_CFLAGS) $<
255 # C source files that correspond to .o's.
256 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
257 archures.c coff-i386.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
258 coff-i960.c srec.c binary.c tekhex.c oasys.c ieee.c aout0.c \
259 ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
260 coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
261 section.c core.c syms.c stab-syms.c reloc.c init.c \
262 coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
263 i386aout.c i386linux.c i386mach3.c i386netbsd.c i386os9k.c \
264 bout.c aout-adobe.c coff-we32k.c coff-w65.c \
265 i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
266 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c cpu-w65.c \
267 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
269 elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
270 elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \
271 elf64.c elf64-gen.c elf64-sparc.c \
272 nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
273 nlm64.c coff-alpha.c cpu-alpha.c nlm32-ppc.c \
274 hp300bsd.c hp300hpux.c \
275 i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
276 sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
277 irix-core.c lynx-core.c osf-core.c hash.c linker.c cofflink.c \
278 m68knetbsd.c ns32knetbsd.c sparcnetbsd.c pe-i386.c pei-i386.c \
281 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
282 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
283 elfcode.h hppa_stubs.h libaout.h libbfd.h \
284 libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
285 liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h
287 STAGESTUFF = $(TARGETLIB) $(OFILES)
289 all: Makefile $(TARGETLIB)
290 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
295 .PHONY: check installcheck
297 @echo No testsuites exist for the BFD library. Nothing to check.
300 @echo No testsuites exist for the BFD library. Nothing to check.
303 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
306 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
309 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
311 diststuff: info headers
313 # Various kinds of .o files to put in libbfd.a:
314 # BFD_LIBS Generic routines, always needed.
315 # BFD_BACKENDS Routines the configured targets need.
316 # BFD_MACHINES Architecture-specific routines the configured targets need.
317 # HDEPFILES Routines the host needs, regardless of target.
318 # TDEPFILES Routines the target needs, regardless of host.
319 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
324 for i in $(OFILES) ; do \
332 $(TARGETLIB): $(OFILES) ofiles
334 @echo ofiles = `cat ofiles`
335 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
336 $(RANLIB) $(TARGETLIB)
338 # When compiling archures.c and targets.c, supply the default target
339 # info from configure.
342 targets.o: targets.c Makefile
343 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
345 archures.o: archures.c Makefile
346 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
348 elf32-target.h : elfxx-target.h
350 sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
351 mv -f elf32-target.new elf32-target.h
353 elf64-target.h : elfxx-target.h
355 sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
356 mv -f elf64-target.new elf64-target.h
359 @for i in $(DODIRS); do \
360 if [ -d ./$$i ] ; then \
362 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
370 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
373 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
374 do_clean: do_mostlyclean
375 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles \
376 elf32-target.h elf64-target.h
377 do_distclean: do_clean
378 rm -f Makefile config.status sysdep.h
380 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
381 # make-stds.texi says it depends on whether they can be regenerated using
382 # this makefile. Well, they can, but only via an explicit "make headers";
383 # the makefile does not regenerate them as needed. So I guess we should not
384 # remove them in realclean.
385 do_realclean: do_distclean
387 mostlyclean: do_mostlyclean
388 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
390 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
392 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
395 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
398 # Mark everything as depending on config.status, since the timestamp on
399 # sysdep.h might actually move backwards if we reconfig and relink it
400 # to a different hosts/h-xxx.h file. This will force a recompile anyway.
401 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
402 RECONFIG = config.status
403 $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
404 $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
405 $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
406 $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
408 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
409 cpu-i386.o:cpu-i386.c
411 cpu-h8500.o: cpu-h8500.c
412 cpu-we32k.o: cpu-we32k.c
415 #suppress 65 on bfd_map_over_sections
416 #suppress 66 on bfd_map_over_sections
417 #suppress 67 on bfd_map_over_sections
418 #suppress 68 on bfd_map_over_sections
419 #suppress 69 on bfd_map_over_sections
420 #suppress 70 on bfd_map_over_sections
421 #suppress 110 in bfd_map_over_sections
422 #suppress 112 in bfd_map_over_sections
424 #suppress 590 in swap_exec_header
425 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
426 #suppress 590 in bfd_dont_truncate_arname
427 #suppress 590 on ignore
428 #suppress 590 on abfd
429 #setopt load_flags $(CFLAGS)
433 #-----------------------------------------------------------------------------
434 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
436 # 'VERSION' file must be present and contain a string of the form "x.y"
437 #-----------------------------------------------------------------------------
441 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
444 # This target should be invoked before building a new release.
445 # 'VERSION' file must be present and contain a string of the form "x.y"
449 MAJ=`sed 's/\..*//' VERSION` ; \
450 MIN=`sed 's/.*\.//' VERSION` ; \
451 V=$$MAJ.`expr $$MIN + 1` ; \
453 echo $$V >VERSION ; \
456 # Dummy target to force execution of dependent targets.
461 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
462 $(RANLIB) $(libdir)/libbfd.a
463 # Install BFD include file, and others that it needs. Install them
464 # both in GCC's include directory, and in the system include dir
465 # if configured as $(oldincludedir) -- which it usually isnt.
466 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
467 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
468 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
469 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
470 -if test -z "$(oldincludedir)"; then true; else \
471 test -d $(oldincludedir) || mkdir $(oldincludedir); \
472 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
473 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
474 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
475 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
476 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
479 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
480 $(SHELL) config.status
482 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
483 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
485 $(MAKE) DEP=$(DEP) .dep1
486 sed -f dep.sed <.dep1 >.dep
488 # This rule really wants a mkdep that runs "gcc -MM".
491 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
492 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
493 $(srcdir)/../move-if-change .dep2 .dep1
495 dep.sed: dep-in.sed config.status
496 sed <$(srcdir)/dep-in.sed >dep.sed \
497 -e 's!@BFD_H@!$(BFD_H)!' \
498 -e 's!@INCDIR@!$(INCDIR)!' \
499 -e 's!@srcdir@!$(srcdir)!'
502 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
503 cat .dep >> tmp-Makefile
504 $(srcdir)/../move-if-change tmp-Makefile Makefile
507 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
508 cat .dep >> tmp-Makefile.in
509 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
511 host-aout.o: Makefile
513 # The following program can be used to generate a simple config file
514 # which can be folded into an h-XXX file for a new host, with some editing.
515 aout-params.h: gen-aout
516 ./gen-aout host > aout-params.h
517 gen-aout: $(srcdir)/gen-aout.c Makefile
518 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
520 BFDIN_H= $(srcdir)/bfd-in2.h
522 $(BFD_H): stmp-bfd.h ; @true
524 # The file ../include/bfd.h is from earlier attempts to get this right.
525 # If the file is still there, kill it.
526 # The weird sh*t with grep is to avoid printing "exit 1 (ignored)" type
527 # messages from make, and avoid various ways in which different versions
528 # of make will screw up exit status checks.
529 # -grep... -> make prints "exit 1" message
530 # grep ... ; exit 0 -> sun(?) make notices grep failure
531 # grep ... || exit 0 -> bsd4.4 make still notices
532 # if grep ... -> seems okay so far
533 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
534 rm -f bfd.h-new 64 ../include/bfd.h
535 if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; \
537 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
538 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
539 -e '/64-bit.*sysdep.h/ r 64' \
540 < $(srcdir)/bfd-in2.h \
542 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
546 # Could really use a "copy-if-change"...
548 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
549 cp $(docdir)/bfd.h bfd-in2.h-new
550 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
551 cp $(docdir)/libbfd.h libbfd.h-new
552 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
553 cp $(docdir)/libcoff.h libcoff.h-new
554 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
557 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
560 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
563 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
566 elf32-arc.o: elf32-arc.c libelf.h $(INCDIR)/elf/common.h \
567 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
568 $(INCDIR)/elf/arc.h elf32-target.h
571 # What appears below is generated by a hacked mkdep using gcc -MM.
573 # DO NOT DELETE THIS LINE -- mkdep uses it.
574 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
578 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
579 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
580 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
581 $(INCDIR)/elf/external.h
582 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
585 archures.o: archures.c
586 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
587 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
588 coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
589 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
590 coffcode.h coffswap.h
591 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
592 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
594 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
595 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
597 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
598 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
599 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
600 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
601 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
602 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
603 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
604 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
605 srec.o: srec.c $(INCDIR)/libiberty.h
607 tekhex.o: tekhex.c $(INCDIR)/libiberty.h
608 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
609 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
610 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
611 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
612 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
613 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
614 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
615 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
616 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
618 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
619 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
620 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
621 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
622 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
623 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
624 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
625 coffcode.h coffswap.h
626 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
627 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
628 coffcode.h coffswap.h
629 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
630 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
631 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
632 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
633 coffcode.h coffswap.h
634 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
635 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
636 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
641 syms.o: syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
642 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
643 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
644 reloc.o: reloc.c $(INCDIR)/bfdlink.h
646 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
647 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
648 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
649 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
650 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
652 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
653 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
654 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
655 cisco-core.o: cisco-core.c
656 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
657 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
658 $(INCDIR)/bfdlink.h aout-target.h
659 i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
660 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
661 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
662 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
663 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
664 $(INCDIR)/bfdlink.h aout-target.h
665 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
666 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
667 $(INCDIR)/bfdlink.h aout-target.h
668 i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
669 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
670 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
671 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
673 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
674 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
675 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
676 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
677 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
678 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
679 coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
680 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
681 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
682 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
683 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
684 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
685 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
686 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
688 cpu-h8300.o: cpu-h8300.c
689 cpu-i960.o: cpu-i960.c
690 cpu-sparc.o: cpu-sparc.c
691 cpu-m68k.o: cpu-m68k.c
692 cpu-m88k.o: cpu-m88k.c
694 cpu-mips.o: cpu-mips.c
695 cpu-a29k.o: cpu-a29k.c
696 cpu-i386.o: cpu-i386.c
697 cpu-powerpc.o: cpu-powerpc.c
699 cpu-rs6000.o: cpu-rs6000.c
700 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
701 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
703 cpu-hppa.o: cpu-hppa.c
704 cpu-we32k.o: cpu-we32k.c
705 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
706 $(INCDIR)/coff/internal.h libcoff.h
707 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
708 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
709 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
711 elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
712 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
713 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
714 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
715 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \
716 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
718 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h libelf.h \
719 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
721 elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
722 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
724 elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h libelf.h \
725 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
727 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
728 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
729 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
731 elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
732 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
734 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
735 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
736 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
737 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
738 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
740 elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
741 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
743 elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h libelf.h \
744 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
745 $(INCDIR)/elf/ppc.h elf32-target.h
746 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
747 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
748 elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
749 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
751 elf64-sparc.o: elf64-sparc.c libelf.h $(INCDIR)/elf/common.h \
752 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
754 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
755 $(INCDIR)/nlm/external.h
756 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
757 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
758 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
759 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
760 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
761 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
762 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
763 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
764 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
765 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
766 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
767 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
768 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
769 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
770 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
771 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
773 cpu-alpha.o: cpu-alpha.c
774 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
775 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
776 nlmswap.h nlm-target.h
777 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
778 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
779 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
780 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
781 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
782 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
784 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
785 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
786 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
787 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
788 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
789 coffcode.h coffswap.h
790 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
791 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
792 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
793 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
794 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
795 coffcode.h coffswap.h
796 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
797 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
798 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
799 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
800 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
801 coffcode.h coffswap.h
802 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
803 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
804 hpux-core.o: hpux-core.c
805 irix-core.o: irix-core.c
806 lynx-core.o: lynx-core.c
807 osf-core.o: osf-core.c
809 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
810 cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
812 m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
813 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
814 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
815 ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
816 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
817 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
818 sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
819 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
820 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
821 pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
822 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
823 $(INCDIR)/bfdlink.h coffcode.h coffswap.h
824 pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
825 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
826 $(INCDIR)/bfdlink.h coffcode.h coffswap.h
827 versados.o: versados.c $(INCDIR)/libiberty.h
829 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY