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 program_transform_name = @program_transform_name@
28 exec_prefix = @exec_prefix@
29 bindir = $(exec_prefix)/bin
30 libdir = $(exec_prefix)/lib
32 datadir = $(prefix)/lib
33 mandir = $(prefix)/man
34 man1dir = $(mandir)/man1
35 man2dir = $(mandir)/man2
36 man3dir = $(mandir)/man3
37 man4dir = $(mandir)/man4
38 man5dir = $(mandir)/man5
39 man6dir = $(mandir)/man6
40 man7dir = $(mandir)/man7
41 man8dir = $(mandir)/man8
42 man9dir = $(mandir)/man9
43 infodir = $(prefix)/info
44 includedir = $(prefix)/include
51 INSTALL_PROGRAM = @INSTALL_PROGRAM@
52 INSTALL_DATA = @INSTALL_DATA@
66 SHLIB_CFLAGS = @SHLIB_CFLAGS@
67 COMMON_SHLIB = @COMMON_SHLIB@
70 SONAME = lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`
72 CC_FOR_BUILD = @CC_FOR_BUILD@
74 INCDIR = $(srcdir)/../include
75 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
82 # bfd.h goes here, for now
85 # Some of these files should be in BFD*_BACKENDS below, but some programs
86 # won't link without them. So, in order for some of the minimal-bfd
87 # hacks to work, they're also included here for now.
91 # Also, Jim Kingdon notes:
92 # Writing S-records should be included in all (or at least most)
93 # *-*-coff, *-*-aout, etc., configurations, because people will want to
94 # be able to use objcopy to create S-records. (S-records are not useful
95 # for the debugger, so if you are downloading things as S-records you
96 # need two copies of the executable, one to download and one for the
99 archive.o archures.o bfd.o cache.o coffgen.o corefile.o \
100 format.o init.o libbfd.o opncls.o reloc.o \
101 section.o syms.o targets.o hash.o linker.o \
102 elf.o srec.o binary.o tekhex.o ihex.o stab-syms.o
105 archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
106 format.c init.c libbfd.c opncls.c reloc.c \
107 section.c syms.c targets.c hash.c linker.c \
108 elf.c srec.c binary.c tekhex.c ihex.c stab-syms.c
110 # This list is alphabetized to make it easier to keep in sync
111 # with the decls and initializer in archures.c.
135 ALL_MACHINES_CFILES = \
158 # The .o files needed by all of the 32 bit vectors that are configured into
159 # target_vector in targets.c if configured with --enable-targets=all.
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 if [ -n "$(PICFLAG)" ]; then \
396 $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \
398 $(CC) -c $(ALL_CFLAGS) $<
402 bfd32_backends_here =
404 configs_not_included_in_all_targets_option_here =
406 # C source files that correspond to .o's.
409 $(ALL_MACHINES_CFILES) \
410 $(BFD32_BACKENDS_CFILES) \
411 $(BFD64_BACKENDS_CFILES) \
412 $(OPTIONAL_BACKENDS_CFILES) \
413 i386dynix.c hp300bsd.c
415 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
416 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
417 elfcode.h hppa_stubs.h libaout.h libbfd.h \
418 libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \
419 liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h
421 all: Makefile $(ALLLIBS) @PICLIST@
422 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
427 .PHONY: check installcheck
429 @echo No testsuites exist for the BFD library. Nothing to check.
432 @echo No testsuites exist for the BFD library. Nothing to check.
435 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
438 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
441 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
445 # Various kinds of .o files to put in libbfd.a:
446 # BFD_LIBS Generic routines, always needed.
447 # BFD_BACKENDS Routines the configured targets need.
448 # BFD_MACHINES Architecture-specific routines the configured targets need.
449 # COREFILE Core file routines for a native configuration
450 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
452 stamp-ofiles: Makefile
455 for i in $(OFILES) ; do \
462 $(srcdir)/../move-if-change tofiles ofiles
465 ofiles: stamp-ofiles ; @true
467 $(TARGETLIB): $(OFILES) ofiles
469 @echo ofiles = `cat ofiles`
470 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
471 $(RANLIB) $(TARGETLIB)
473 stamp-piclist: ofiles
475 if [ -n "$(PICFLAG)" ]; then \
476 sed -e 's,\([^ ][^ ]*\),pic/\1,g' ofiles > tpiclist; \
478 cp ofiles tpiclist; \
480 $(srcdir)/../move-if-change tpiclist piclist
483 piclist: stamp-piclist ; @true
485 $(SHLIB): stamp-picdir $(OFILES) piclist
487 $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist`
489 # We make a link from libbfd.so to libbfd.so.VERSION for linking, and
490 # also a link from libTARGET-bfd.so.VERSION for running.
492 ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed -e '$(program_transform_name)'`; \
493 if [ "$$ts" != "$(SHLIB)" ]; then \
495 ln -sf $(SHLIB) $$ts; \
498 ln -sf $(SHLIB) $(SHLINK)
500 # This target creates libTARGET-bfd.so.VERSION as a symlink to
501 # libbfd.so.VERSION. It is used on SunOS, which does not have SONAME.
502 stamp-tshlink: $(SHLIB)
503 tf=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
504 if [ "$$tf" != "$(SHLIB)" ]; then \
506 ln -sf $(SHLIB) $$tf; \
510 # When compiling archures.c and targets.c, supply the default target
511 # info from configure.
513 targets.o: targets.c Makefile
514 if [ -n "$(PICFLAG)" ]; then \
515 $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c -o pic/targets.o; \
517 $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c
519 archures.o: archures.c Makefile
520 if [ -n "$(PICFLAG)" ]; then \
521 $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c -o pic/archures.o; \
523 $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c
525 elf32-target.h : elfxx-target.h
527 sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
528 mv -f elf32-target.new elf32-target.h
530 elf64-target.h : elfxx-target.h
532 sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
533 mv -f elf64-target.new elf64-target.h
536 @for i in $(DODIRS); do \
537 if [ -d ./$$i ] ; then \
539 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
547 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
550 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log \
552 do_clean: do_mostlyclean
553 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles stamp-ofiles \
554 elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \
555 piclist stamp-piclist
556 do_distclean: do_clean
557 rm -f Makefile config.status config.cache config.h stamp-h
558 rm -rf pic stamp-picdir
559 do_maintainer_clean: do_distclean
560 rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h
562 mostlyclean: do_mostlyclean
563 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
565 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
567 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
569 clobber maintainer-clean realclean:
570 @echo "This command is intended for maintainers to use;"
571 @echo "it deletes files that may require special tools to rebuild."
572 $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
573 $(MAKE) do_maintainer_clean
575 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
576 LOCAL_H_DEPS= libbfd.h sysdep.h config.h
577 $(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
578 $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
579 $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
580 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
582 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
583 cpu-i386.o:cpu-i386.c
585 cpu-h8500.o: cpu-h8500.c
586 cpu-we32k.o: cpu-we32k.c
589 #suppress 65 on bfd_map_over_sections
590 #suppress 66 on bfd_map_over_sections
591 #suppress 67 on bfd_map_over_sections
592 #suppress 68 on bfd_map_over_sections
593 #suppress 69 on bfd_map_over_sections
594 #suppress 70 on bfd_map_over_sections
595 #suppress 110 in bfd_map_over_sections
596 #suppress 112 in bfd_map_over_sections
598 #suppress 590 in swap_exec_header
599 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
600 #suppress 590 in bfd_dont_truncate_arname
601 #suppress 590 on ignore
602 #suppress 590 on abfd
603 #setopt load_flags $(CFLAGS)
607 #-----------------------------------------------------------------------------
608 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
610 # 'VERSION' file must be present and contain a string of the form "x.y"
611 #-----------------------------------------------------------------------------
615 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
618 # This target should be invoked before building a new release.
619 # 'VERSION' file must be present and contain a string of the form "x.y"
623 MAJ=`sed 's/\..*//' VERSION` ; \
624 MIN=`sed 's/.*\.//' VERSION` ; \
625 V=$$MAJ.`expr $$MIN + 1` ; \
627 echo $$V >VERSION ; \
630 # Dummy target to force execution of dependent targets.
635 for f in $(ALLLIBS); do \
636 if [ "$$f" = "stamp-tshlink" ]; then \
639 tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
640 rm -f $(libdir)/$$tf; \
641 if [ "$$f" = "$(SHLINK)" ]; then \
642 ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
643 ln -sf $$ts $(libdir)/$$tf; \
644 elif [ "$$f" = "$(SHLIB)" ]; then \
645 $(INSTALL_PROGRAM) $$f $(libdir)/$$tf; \
647 $(INSTALL_DATA) $$f $(libdir)/$$tf; \
648 $(RANLIB) $(libdir)/$$tf; \
649 chmod a-x $(libdir)/$$tf; \
652 # Install BFD include file, and others that it needs. Install them
653 # both in GCC's include directory, and in the system include dir
654 # if configured as $(oldincludedir) -- which it usually isnt.
655 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
656 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
657 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
658 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
659 -if test -z "$(oldincludedir)"; then true; else \
660 test -d $(oldincludedir) || mkdir $(oldincludedir); \
661 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
662 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
663 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
664 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
665 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
668 Makefile: Makefile.in config.status
669 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
671 config.h: stamp-h ; @true
672 stamp-h: config.in config.status
673 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
675 config.status: configure configure.host config.bfd
676 $(SHELL) config.status --recheck
678 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
679 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
681 $(MAKE) DEP=$(DEP) .dep1
682 sed -f dep.sed <.dep1 >.dep
684 # This rule really wants a mkdep that runs "gcc -MM".
685 # The NetBSD mkdep overwrites any existing file contents, and doesn't insert
686 # the "DO NOT DELETE" line.
687 # Other mkdep versions require a file that already exists, and do insert it.
688 # Hence the weirdness....
691 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
693 $(DEP) -f .dep2a $(ALL_CFLAGS) $?
694 sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
696 $(srcdir)/../move-if-change .dep2 .dep1
698 dep.sed: dep-in.sed config.status
699 sed <$(srcdir)/dep-in.sed >dep.sed \
700 -e 's!@BFD_H@!$(BFD_H)!' \
701 -e 's!@INCDIR@!$(INCDIR)!' \
702 -e 's!@SRCDIR@!$(srcdir)!'
705 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
706 cat .dep >> tmp-Makefile
707 $(srcdir)/../move-if-change tmp-Makefile Makefile
710 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
711 cat .dep >> tmp-Makefile.in
712 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
714 host-aout.o: Makefile
716 # The following program can be used to generate a simple config file
717 # which can be folded into an h-XXX file for a new host, with some editing.
718 aout-params.h: gen-aout
719 ./gen-aout host > aout-params.h
720 gen-aout: $(srcdir)/gen-aout.c Makefile
721 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
723 BFDIN_H= $(srcdir)/bfd-in2.h
725 $(BFD_H): stmp-bfd.h ; @true
727 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
729 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
730 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
731 -e 's/@BFD_HOST_64BIT_LONG@/@HOST_64BIT_LONG@/' \
732 < $(srcdir)/bfd-in2.h \
734 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
737 # Could really use a "copy-if-change"...
739 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
740 cp $(docdir)/bfd.h bfd-in2.h-new
741 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
742 cp $(docdir)/libbfd.h libbfd.h-new
743 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
744 cp $(docdir)/libcoff.h libcoff.h-new
745 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
747 # The rules for the generated header files are here so that people can
748 # type `make bfd-in2.h' if they remove it. They are not run by default.
750 (cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS))
751 cp $(docdir)/bfd.h bfd-in2.h-new
752 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
754 (cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS))
755 cp $(docdir)/libbfd.h libbfd.h-new
756 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
758 (cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS))
759 cp $(docdir)/libcoff.h libcoff.h-new
760 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
763 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
766 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
769 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
772 $(OFILES): stamp-picdir
775 if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
780 # What appears below is generated by a hacked mkdep using gcc -MM.
782 # DO NOT DELETE THIS LINE -- mkdep uses it.
783 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
784 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
785 archures.o: archures.c
786 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
787 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
788 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
789 $(INCDIR)/elf/external.h
791 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
793 corefile.o: corefile.c
798 reloc.o: reloc.c $(INCDIR)/bfdlink.h
800 syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
801 $(INCDIR)/aout/stab.def
804 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
805 elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
806 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
807 srec.o: srec.c $(INCDIR)/libiberty.h
809 tekhex.o: tekhex.c $(INCDIR)/libiberty.h
810 ihex.o: ihex.c $(INCDIR)/libiberty.h
811 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
812 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
813 cpu-a29k.o: cpu-a29k.c
814 cpu-alpha.o: cpu-alpha.c
816 cpu-h8300.o: cpu-h8300.c
817 cpu-h8500.o: cpu-h8500.c
818 cpu-hppa.o: cpu-hppa.c
819 cpu-i386.o: cpu-i386.c
820 cpu-i860.o: cpu-i860.c
821 cpu-i960.o: cpu-i960.c
822 cpu-m68k.o: cpu-m68k.c
823 cpu-m88k.o: cpu-m88k.c
824 cpu-mips.o: cpu-mips.c
825 cpu-ns32k.o: cpu-ns32k.c
826 cpu-powerpc.o: cpu-powerpc.c
827 cpu-rs6000.o: cpu-rs6000.c
829 cpu-sparc.o: cpu-sparc.c
831 cpu-we32k.o: cpu-we32k.c
834 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
835 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
836 aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \
837 libaout.h $(INCDIR)/bfdlink.h
838 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
839 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
840 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
841 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
842 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
844 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
845 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
846 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
847 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
848 coffcode.h coffswap.h
849 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
850 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
851 coffcode.h coffswap.h
852 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
853 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
854 coffcode.h coffswap.h
855 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
856 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
857 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
858 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
859 coffcode.h coffswap.h
860 coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
861 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
862 coff-aux.o: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
863 $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
864 coffcode.h coffswap.h
865 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
866 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
867 coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
868 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
869 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
870 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
871 coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
872 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
873 coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
874 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
875 coffcode.h coffswap.h
876 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
877 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
878 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
879 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
880 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
881 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
882 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
883 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
884 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
886 coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
887 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
888 coffcode.h coffswap.h
889 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
890 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
891 coffcode.h coffswap.h
892 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
893 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
894 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
895 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
896 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
897 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
898 coffcode.h coffswap.h
899 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
900 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
901 coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
902 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
903 coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
904 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
905 cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
907 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
908 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
909 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
910 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
912 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
913 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
914 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
915 elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
916 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
918 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
919 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
920 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
922 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
923 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
925 elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
926 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
928 elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
929 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
931 elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
932 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
934 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
935 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
936 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
937 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
938 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
940 elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
941 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
942 $(INCDIR)/elf/ppc.h elf32-target.h
943 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
944 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
945 $(INCDIR)/elf/sparc.h elf32-target.h
946 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
947 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
949 elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
950 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
951 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
952 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
953 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
956 i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
957 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
958 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
959 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
960 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
961 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
962 i386freebsd.o: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
963 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
964 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
965 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
966 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
967 $(INCDIR)/bfdlink.h aout-target.h
968 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
969 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
970 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
971 i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
972 i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
973 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
974 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
975 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
976 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
977 $(INCDIR)/bfdlink.h aout-target.h
978 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
980 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
981 m68klinux.o: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
982 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
983 $(INCDIR)/bfdlink.h aout-target.h
984 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
985 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
986 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
987 m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
988 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
989 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
990 m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
991 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
992 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
993 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
994 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
995 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
996 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
997 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
998 $(INCDIR)/bfdlink.h aout-target.h
999 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1000 $(INCDIR)/nlm/external.h
1001 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
1002 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1003 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1004 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
1005 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1006 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1007 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
1008 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
1009 nlmswap.h nlm-target.h
1010 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1011 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1012 ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1013 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1014 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1015 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
1016 pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
1017 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1018 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1019 pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
1020 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1021 $(INCDIR)/bfdlink.h coffcode.h peicode.h
1022 pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
1023 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1024 $(INCDIR)/bfdlink.h coffcode.h peicode.h
1025 pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1026 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1027 $(INCDIR)/bfdlink.h coffcode.h peicode.h
1028 pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1029 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1030 $(INCDIR)/bfdlink.h coffcode.h peicode.h
1031 pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1032 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1033 $(INCDIR)/bfdlink.h coffcode.h peicode.h
1034 pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1035 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1036 $(INCDIR)/bfdlink.h coffcode.h peicode.h
1037 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
1038 $(INCDIR)/coff/internal.h libcoff.h
1039 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
1040 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1041 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1042 sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1043 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1044 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1045 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1046 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1047 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1048 versados.o: versados.c $(INCDIR)/libiberty.h
1049 xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1051 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
1052 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1054 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1055 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
1056 $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1057 libecoff.h coffswap.h ecoffswap.h
1058 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
1059 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1060 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1061 elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1062 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1064 elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
1065 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1066 $(INCDIR)/elf/sparc.h elf64-target.h
1067 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1068 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1070 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
1071 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1072 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1073 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1074 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1075 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
1076 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
1077 hpux-core.o: hpux-core.c
1078 irix-core.o: irix-core.c
1079 lynx-core.o: lynx-core.c
1080 osf-core.o: osf-core.c
1081 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
1082 cisco-core.o: cisco-core.c
1083 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
1084 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1085 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1087 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
1088 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1089 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1090 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY