1 # Makefile template for Configure for the BFD library.
2 # Copyright (C) 1990, 91, 92, 93, 94, 95, 1996
3 # Free Software Foundation, Inc.
4 # Written by Cygnus Support.
6 # This file is part of BFD, the Binary File Descriptor library.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 exec_prefix = @exec_prefix@
28 bindir = $(exec_prefix)/bin
29 libdir = $(exec_prefix)/lib
31 datadir = $(prefix)/lib
32 mandir = $(prefix)/man
33 man1dir = $(mandir)/man1
34 man2dir = $(mandir)/man2
35 man3dir = $(mandir)/man3
36 man4dir = $(mandir)/man4
37 man5dir = $(mandir)/man5
38 man6dir = $(mandir)/man6
39 man7dir = $(mandir)/man7
40 man8dir = $(mandir)/man8
41 man9dir = $(mandir)/man9
42 infodir = $(prefix)/info
43 includedir = $(prefix)/include
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@
51 INSTALL_DATA = @INSTALL_DATA@
60 CC_FOR_BUILD = @CC_FOR_BUILD@
62 INCDIR = $(srcdir)/../include
63 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
70 # bfd.h goes here, for now
73 # Some of these files should be in BFD*_BACKENDS below, but some programs
74 # won't link without them. So, in order for some of the minimal-bfd
75 # hacks to work, they're also included here for now.
79 # Also, Jim Kingdon notes:
80 # Writing S-records should be included in all (or at least most)
81 # *-*-coff, *-*-aout, etc., configurations, because people will want to
82 # be able to use objcopy to create S-records. (S-records are not useful
83 # for the debugger, so if you are downloading things as S-records you
84 # need two copies of the executable, one to download and one for the
87 archive.o archures.o bfd.o cache.o coffgen.o corefile.o \
88 format.o init.o libbfd.o opncls.o reloc.o \
89 section.o syms.o targets.o hash.o linker.o \
90 elf.o srec.o binary.o tekhex.o ihex.o
93 archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
94 format.c init.c libbfd.c opncls.c reloc.c \
95 section.c syms.c targets.c hash.c linker.c \
96 elf.c srec.c binary.c tekhex.c ihex.c
98 # This list is alphabetized to make it easier to keep in sync
99 # with the decls and initializer in archures.c.
103 $(start-sanitize-arc) \
105 $(end-sanitize-arc) \
118 $(start-sanitize-rce) \
120 $(end-sanitize-rce) \
129 ALL_MACHINES_CFILES = \
152 # The .o files needed by all of the 32 bit vectors that are configured into
153 # target_vector in targets.c if configured with --enable-targets=all.
157 $(start-sanitize-rce) \
159 $(end-sanitize-rce) \
190 $(start-sanitize-arc) \
192 $(end-sanitize-arc) \
244 BFD32_BACKENDS_CFILES = \
328 # The .o files needed by all of the 64 bit vectors that are configured into
329 # target_vector in targets.c if configured with --enable-targets=all
330 # and --enable-64-bit-bfd.
341 BFD64_BACKENDS_CFILES = \
351 OPTIONAL_BACKENDS = \
360 OPTIONAL_BACKENDS_CFILES = \
369 # These are defined by configure.in:
370 WORDSIZE = @wordsize@
371 ALL_BACKENDS = @all_backends@
372 BFD_BACKENDS = @bfd_backends@
373 BFD_MACHINES = @bfd_machines@
374 TDEFAULTS = @tdefaults@
380 "exec_prefix=$(exec_prefix)" \
381 "against=$(against)" \
383 "AR_FLAGS=$(AR_FLAGS)" \
385 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
388 "MAKEINFO=$(MAKEINFO)" \
389 "INSTALL=$(INSTALL)" \
390 "INSTALL_DATA=$(INSTALL_DATA)" \
391 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
393 ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
395 $(CC) -c $(ALL_CFLAGS) $<
399 bfd32_backends_here =
401 configs_not_included_in_all_targets_option_here =
403 # C source files that correspond to .o's.
406 $(ALL_MACHINES_CFILES) \
407 $(BFD32_BACKENDS_CFILES) \
408 $(BFD64_BACKENDS_CFILES) \
409 $(OPTIONAL_BACKENDS_CFILES) \
410 i386dynix.c hp300bsd.c
412 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
413 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
414 elfcode.h hppa_stubs.h libaout.h libbfd.h \
415 libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \
416 liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h
418 STAGESTUFF = $(TARGETLIB) $(OFILES)
420 all: Makefile $(TARGETLIB)
421 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
426 .PHONY: check installcheck
428 @echo No testsuites exist for the BFD library. Nothing to check.
431 @echo No testsuites exist for the BFD library. Nothing to check.
434 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
437 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
440 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
444 # Various kinds of .o files to put in libbfd.a:
445 # BFD_LIBS Generic routines, always needed.
446 # BFD_BACKENDS Routines the configured targets need.
447 # BFD_MACHINES Architecture-specific routines the configured targets need.
448 # COREFILE Core file routines for a native configuration
449 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
454 for i in $(OFILES) ; do \
462 $(TARGETLIB): $(OFILES) ofiles
464 @echo ofiles = `cat ofiles`
465 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
466 $(RANLIB) $(TARGETLIB)
468 # When compiling archures.c and targets.c, supply the default target
469 # info from configure.
471 targets.o: targets.c Makefile
472 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
474 archures.o: archures.c Makefile
475 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
477 elf32-target.h : elfxx-target.h
479 sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
480 mv -f elf32-target.new elf32-target.h
482 elf64-target.h : elfxx-target.h
484 sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
485 mv -f elf64-target.new elf64-target.h
488 @for i in $(DODIRS); do \
489 if [ -d ./$$i ] ; then \
491 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
499 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
502 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log
503 do_clean: do_mostlyclean
504 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles \
505 elf32-target.h elf64-target.h
506 do_distclean: do_clean
507 rm -f Makefile config.status config.cache config.h stamp-h
509 do_maintainer_clean: do_distclean
510 rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h
512 mostlyclean: do_mostlyclean
513 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
515 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
517 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
519 clobber maintainer-clean realclean:
520 @echo "This command is intended for maintainers to use;"
521 @echo "it deletes files that may require special tools to rebuild."
522 $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
523 $(MAKE) do_maintainer_clean
525 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
526 LOCAL_H_DEPS= libbfd.h sysdep.h config.h
527 $(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
528 $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
529 $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
530 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
532 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
533 cpu-i386.o:cpu-i386.c
535 cpu-h8500.o: cpu-h8500.c
536 cpu-we32k.o: cpu-we32k.c
539 #suppress 65 on bfd_map_over_sections
540 #suppress 66 on bfd_map_over_sections
541 #suppress 67 on bfd_map_over_sections
542 #suppress 68 on bfd_map_over_sections
543 #suppress 69 on bfd_map_over_sections
544 #suppress 70 on bfd_map_over_sections
545 #suppress 110 in bfd_map_over_sections
546 #suppress 112 in bfd_map_over_sections
548 #suppress 590 in swap_exec_header
549 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
550 #suppress 590 in bfd_dont_truncate_arname
551 #suppress 590 on ignore
552 #suppress 590 on abfd
553 #setopt load_flags $(CFLAGS)
557 #-----------------------------------------------------------------------------
558 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
560 # 'VERSION' file must be present and contain a string of the form "x.y"
561 #-----------------------------------------------------------------------------
565 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
568 # This target should be invoked before building a new release.
569 # 'VERSION' file must be present and contain a string of the form "x.y"
573 MAJ=`sed 's/\..*//' VERSION` ; \
574 MIN=`sed 's/.*\.//' VERSION` ; \
575 V=$$MAJ.`expr $$MIN + 1` ; \
577 echo $$V >VERSION ; \
580 # Dummy target to force execution of dependent targets.
585 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
586 $(RANLIB) $(libdir)/libbfd.a
587 # Install BFD include file, and others that it needs. Install them
588 # both in GCC's include directory, and in the system include dir
589 # if configured as $(oldincludedir) -- which it usually isnt.
590 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
591 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
592 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
593 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
594 -if test -z "$(oldincludedir)"; then true; else \
595 test -d $(oldincludedir) || mkdir $(oldincludedir); \
596 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
597 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
598 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
599 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
600 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
603 Makefile: Makefile.in config.status
604 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
606 config.h: stamp-h ; @true
607 stamp-h: config.in config.status
608 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
610 config.status: configure configure.host config.bfd
611 $(SHELL) config.status --recheck
613 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
614 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
616 $(MAKE) DEP=$(DEP) .dep1
617 sed -f dep.sed <.dep1 >.dep
619 # This rule really wants a mkdep that runs "gcc -MM".
620 # The NetBSD mkdep overwrites any existing file contents, and doesn't insert
621 # the "DO NOT DELETE" line.
622 # Other mkdep versions require a file that already exists, and do insert it.
623 # Hence the weirdness....
626 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
628 $(DEP) -f .dep2a $(ALL_CFLAGS) $?
629 sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
631 $(srcdir)/../move-if-change .dep2 .dep1
633 dep.sed: dep-in.sed config.status
634 sed <$(srcdir)/dep-in.sed >dep.sed \
635 -e 's!@BFD_H@!$(BFD_H)!' \
636 -e 's!@INCDIR@!$(INCDIR)!' \
637 -e 's!@SRCDIR@!$(srcdir)!'
640 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
641 cat .dep >> tmp-Makefile
642 $(srcdir)/../move-if-change tmp-Makefile Makefile
645 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
646 cat .dep >> tmp-Makefile.in
647 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
649 host-aout.o: Makefile
651 # The following program can be used to generate a simple config file
652 # which can be folded into an h-XXX file for a new host, with some editing.
653 aout-params.h: gen-aout
654 ./gen-aout host > aout-params.h
655 gen-aout: $(srcdir)/gen-aout.c Makefile
656 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
658 BFDIN_H= $(srcdir)/bfd-in2.h
660 $(BFD_H): stmp-bfd.h ; @true
662 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
664 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
665 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
666 -e 's/@BFD_HOST_64BIT_LONG@/@HOST_64BIT_LONG@/' \
667 < $(srcdir)/bfd-in2.h \
669 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
672 # Could really use a "copy-if-change"...
674 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
675 cp $(docdir)/bfd.h bfd-in2.h-new
676 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
677 cp $(docdir)/libbfd.h libbfd.h-new
678 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
679 cp $(docdir)/libcoff.h libcoff.h-new
680 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
682 # The rules for the generated header files are here so that people can
683 # type `make bfd-in2.h' if they remove it. They are not run by default.
685 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
686 cp $(docdir)/bfd.h bfd-in2.h-new
687 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
689 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
690 cp $(docdir)/libbfd.h libbfd.h-new
691 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
693 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
694 cp $(docdir)/libcoff.h libcoff.h-new
695 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
698 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
701 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
704 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
707 elf32-arc.o: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
708 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
709 $(INCDIR)/elf/arc.h elf32-target.h
712 # What appears below is generated by a hacked mkdep using gcc -MM.
714 # DO NOT DELETE THIS LINE -- mkdep uses it.
715 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
716 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
717 archures.o: archures.c
718 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
719 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
720 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
721 $(INCDIR)/elf/external.h
723 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
725 corefile.o: corefile.c
730 reloc.o: reloc.c $(INCDIR)/bfdlink.h
732 syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
733 $(INCDIR)/aout/stab.def
736 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
737 elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
738 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
739 srec.o: srec.c $(INCDIR)/libiberty.h
741 tekhex.o: tekhex.c $(INCDIR)/libiberty.h
742 ihex.o: ihex.c $(INCDIR)/libiberty.h
743 cpu-a29k.o: cpu-a29k.c
744 cpu-alpha.o: cpu-alpha.c
746 cpu-h8300.o: cpu-h8300.c
747 cpu-h8500.o: cpu-h8500.c
748 cpu-hppa.o: cpu-hppa.c
749 cpu-i386.o: cpu-i386.c
750 cpu-i860.o: cpu-i860.c
751 cpu-i960.o: cpu-i960.c
752 cpu-m68k.o: cpu-m68k.c
753 cpu-m88k.o: cpu-m88k.c
754 cpu-mips.o: cpu-mips.c
755 cpu-ns32k.o: cpu-ns32k.c
756 cpu-powerpc.o: cpu-powerpc.c
757 cpu-rs6000.o: cpu-rs6000.c
759 cpu-sparc.o: cpu-sparc.c
761 cpu-we32k.o: cpu-we32k.c
764 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
765 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
766 aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \
767 libaout.h $(INCDIR)/bfdlink.h
768 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
769 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
770 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
771 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
772 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
774 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
775 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
776 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
777 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
778 coffcode.h coffswap.h
779 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
780 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
781 coffcode.h coffswap.h
782 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
783 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
784 coffcode.h coffswap.h
785 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
786 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
787 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
788 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
789 coffcode.h coffswap.h
790 coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
791 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
792 coff-aux.o: coff-aux.c $(INCDIR)/coff/aux.h $(INCDIR)/coff/internal.h \
793 $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
794 coffcode.h coffswap.h
795 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
796 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
797 coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
798 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
799 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
800 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
801 coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
802 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
803 coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
804 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
805 coffcode.h coffswap.h
806 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
807 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
808 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
809 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
810 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
811 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
812 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
813 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
814 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
816 coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
817 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
818 coffcode.h coffswap.h
819 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
820 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
821 coffcode.h coffswap.h
822 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
823 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
824 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
825 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
826 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
827 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
828 coffcode.h coffswap.h
829 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
830 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
831 coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
832 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
833 coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
834 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
835 cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
837 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
838 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
839 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
840 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
842 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
843 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
844 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
845 elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
846 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
848 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
849 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
850 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
852 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
853 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
855 elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
856 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
858 elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
859 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
861 elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
862 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
864 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
865 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
866 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
867 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
868 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
870 elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
871 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
872 $(INCDIR)/elf/ppc.h elf32-target.h
873 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
874 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
875 $(INCDIR)/elf/sparc.h elf32-target.h
876 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
877 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
879 elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
880 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
881 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
882 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
883 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
886 i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
887 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
888 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
889 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
890 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
891 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
892 i386freebsd.o: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
893 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
894 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
895 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
896 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
897 $(INCDIR)/bfdlink.h aout-target.h
898 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
899 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
900 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
901 i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
902 i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
903 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
904 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
905 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
906 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
907 $(INCDIR)/bfdlink.h aout-target.h
908 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
910 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
911 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
912 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
913 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
914 m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
915 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
916 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
917 m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
918 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
919 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
920 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
921 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
922 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
923 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
924 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
925 $(INCDIR)/bfdlink.h aout-target.h
926 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
927 $(INCDIR)/nlm/external.h
928 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
929 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
930 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
931 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
932 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
933 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
934 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
935 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
936 nlmswap.h nlm-target.h
937 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
938 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
939 ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
940 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
941 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
942 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
943 pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
944 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
945 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
946 pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
947 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
948 $(INCDIR)/bfdlink.h coffcode.h peicode.h
949 pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
950 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
951 $(INCDIR)/bfdlink.h coffcode.h peicode.h
952 pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
953 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
954 $(INCDIR)/bfdlink.h coffcode.h peicode.h
955 pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
956 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
957 $(INCDIR)/bfdlink.h coffcode.h peicode.h
958 pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
959 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
960 $(INCDIR)/bfdlink.h coffcode.h peicode.h
961 pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
962 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
963 $(INCDIR)/bfdlink.h coffcode.h peicode.h
964 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
965 $(INCDIR)/coff/internal.h libcoff.h
966 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
967 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
968 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
969 sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
970 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
971 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
972 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
973 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
974 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
975 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
976 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
977 versados.o: versados.c $(INCDIR)/libiberty.h
978 xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
980 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
981 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
983 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
984 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
985 $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
986 libecoff.h coffswap.h ecoffswap.h
987 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
988 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
989 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
990 elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
991 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
993 elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
994 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
996 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
997 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
999 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
1000 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1001 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1002 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1003 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1004 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
1005 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
1006 hpux-core.o: hpux-core.c
1007 irix-core.o: irix-core.c
1008 lynx-core.o: lynx-core.c
1009 osf-core.o: osf-core.c
1010 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
1011 cisco-core.o: cisco-core.c
1012 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
1013 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1014 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1016 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
1017 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1018 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1019 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY