home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / bfd / Makefile.in < prev    next >
Makefile  |  1996-09-28  |  38KB  |  1,137 lines

  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.
  5. # This file is part of BFD, the Binary File Descriptor library.
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2 of the License, or
  9. # (at your option) any later version.
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17.  
  18. VPATH = @srcdir@
  19. srcdir = @srcdir@
  20.  
  21. prefix = @prefix@
  22.  
  23. program_transform_name = @program_transform_name@
  24. exec_prefix = @exec_prefix@
  25. bindir = @bindir@
  26. libdir = @libdir@
  27.  
  28. datadir = @datadir@
  29. mandir = @mandir@
  30. man1dir = $(mandir)/man1
  31. man2dir = $(mandir)/man2
  32. man3dir = $(mandir)/man3
  33. man4dir = $(mandir)/man4
  34. man5dir = $(mandir)/man5
  35. man6dir = $(mandir)/man6
  36. man7dir = $(mandir)/man7
  37. man8dir = $(mandir)/man8
  38. man9dir = $(mandir)/man9
  39. infodir = @infodir@
  40. includedir = @includedir@
  41. oldincludedir =
  42. docdir = doc
  43.  
  44. SHELL = /bin/sh
  45.  
  46. INSTALL = @INSTALL@
  47. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  48. INSTALL_DATA = @INSTALL_DATA@
  49.  
  50. AR = @AR@
  51. AR_FLAGS = rc
  52. CC = @CC@
  53. CFLAGS = @CFLAGS@
  54. MAKEINFO = makeinfo
  55. RANLIB = @RANLIB@
  56.  
  57. ALLLIBS = @ALLLIBS@
  58.  
  59. PICFLAG = @PICFLAG@
  60. SHLIB = @SHLIB@
  61. SHLIB_CC = @SHLIB_CC@
  62. SHLIB_CFLAGS = @SHLIB_CFLAGS@
  63. COMMON_SHLIB = @COMMON_SHLIB@
  64. SHLINK = @SHLINK@
  65.  
  66. SONAME = lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`
  67.  
  68. CC_FOR_BUILD = @CC_FOR_BUILD@
  69.  
  70. INCDIR = $(srcdir)/../include
  71. CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
  72. DEP = mkdep
  73.  
  74. SUBDIRS = doc
  75.  
  76. TARGETLIB = libbfd.a
  77.  
  78. # bfd.h goes here, for now
  79. BFD_H = bfd.h
  80.  
  81. # Some of these files should be in BFD*_BACKENDS below, but some programs
  82. # won't link without them.  So, in order for some of the minimal-bfd
  83. # hacks to work, they're also included here for now.
  84. #    gdb: elf.o
  85. #    objdump: elf.o
  86. #
  87. # Also, Jim Kingdon notes:
  88. # Writing S-records should be included in all (or at least most)
  89. # *-*-coff, *-*-aout, etc., configurations, because people will want to
  90. # be able to use objcopy to create S-records.  (S-records are not useful
  91. # for the debugger, so if you are downloading things as S-records you
  92. # need two copies of the executable, one to download and one for the
  93. # debugger).
  94. BFD_LIBS = \
  95.     archive.o archures.o bfd.o cache.o coffgen.o corefile.o \
  96.     format.o init.o libbfd.o opncls.o reloc.o \
  97.     section.o syms.o targets.o hash.o linker.o \
  98.     elf.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o
  99.  
  100. BFD_LIBS_CFILES = \
  101.     archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
  102.     format.c init.c libbfd.c opncls.c reloc.c \
  103.     section.c syms.c targets.c hash.c linker.c \
  104.     elf.c srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c
  105.  
  106. # This list is alphabetized to make it easier to keep in sync
  107. # with the decls and initializer in archures.c.
  108. ALL_MACHINES = \
  109.     cpu-a29k.o \
  110.     cpu-alpha.o \
  111.     cpu-arm.o \
  112.     cpu-h8300.o \
  113.     cpu-h8500.o \
  114.     cpu-hppa.o \
  115.     cpu-i386.o \
  116.     cpu-i860.o \
  117.     cpu-i960.o \
  118.     cpu-m68k.o \
  119.     cpu-m88k.o \
  120.     cpu-mips.o \
  121.     cpu-ns32k.o \
  122.     cpu-powerpc.o \
  123.     cpu-rs6000.o \
  124.     cpu-sh.o \
  125.     cpu-sparc.o \
  126.     cpu-vax.o \
  127.     cpu-we32k.o \
  128.     cpu-w65.o \
  129.     cpu-z8k.o
  130.  
  131. ALL_MACHINES_CFILES = \
  132.     cpu-a29k.c \
  133.     cpu-alpha.c \
  134.     cpu-arm.c \
  135.     cpu-h8300.c \
  136.     cpu-h8500.c \
  137.     cpu-hppa.c \
  138.     cpu-i386.c \
  139.     cpu-i860.c \
  140.     cpu-i960.c \
  141.     cpu-m68k.c \
  142.     cpu-m88k.c \
  143.     cpu-mips.c \
  144.     cpu-ns32k.c \
  145.     cpu-powerpc.c \
  146.     cpu-rs6000.c \
  147.     cpu-sh.c \
  148.     cpu-sparc.c \
  149.     cpu-vax.c \
  150.     cpu-we32k.c \
  151.     cpu-w65.c \
  152.     cpu-z8k.c
  153.  
  154. # The .o files needed by all of the 32 bit vectors that are configured into
  155. # target_vector in targets.c if configured with --enable-targets=all.
  156. BFD32_BACKENDS = \
  157.     amigaos.o \
  158.     amigaoslink.o \
  159.     aout-adobe.o \
  160.     aout-amiga.o\
  161.     aout-ns32k.o \
  162.     aout0.o \
  163.     aout32.o \
  164.     bout.o \
  165.     cf-i386lynx.o \
  166.     cf-m68klynx.o \
  167.     cf-sparclynx.o \
  168.     coff-a29k.o \
  169.     coff-apollo.o \
  170.     coff-arm.o \
  171.     coff-aux.o \
  172.     coff-h8300.o \
  173.     coff-h8500.o \
  174.     coff-i386.o \
  175.     coff-go32.o \
  176.     coff-i860.o \
  177.     coff-i960.o \
  178.     coff-m68k.o \
  179.     coff-m88k.o \
  180.     coff-mips.o \
  181.     coff-pmac.o \
  182.     coff-rs6000.o \
  183.     coff-sh.o \
  184.     coff-sparc.o \
  185.     coff-u68k.o \
  186.     coff-we32k.o \
  187.     coff-w65.o \
  188.     coff-z8k.o \
  189.     cofflink.o \
  190.     ecoff.o \
  191.     ecofflink.o \
  192.     elf32-gen.o \
  193.     elf32-hppa.o \
  194.     elf32-i386.o \
  195.     elf32-i860.o \
  196.     elf32-m68k.o \
  197.     elf32-m88k.o \
  198.     elf32-mips.o \
  199.     elf32-ppc.o \
  200.     elf32-sparc.o \
  201.     elf32.o \
  202.     elflink.o \
  203.     hp300hpux.o \
  204.     som.o \
  205.     i386aout.o \
  206.     i386bsd.o \
  207.     i386freebsd.o \
  208.     i386linux.o \
  209.     i386lynx.o \
  210.     i386msdos.o \
  211.     i386netbsd.o \
  212.     i386mach3.o \
  213.     i386os9k.o \
  214.     ieee.o \
  215.     m68klinux.o \
  216.     m68klynx.o \
  217.     m68knetbsd.o \
  218.     m88kmach3.o \
  219.     mipsbsd.o \
  220.     newsos3.o \
  221.     nlm.o \
  222.     nlm32-i386.o \
  223.     nlm32-sparc.o \
  224.     nlm32-ppc.o \
  225.     nlm32.o \
  226.     ns32knetbsd.o \
  227.     oasys.o \
  228.     pc532-mach.o \
  229.     pe-arm.o \
  230.     pei-arm.o \
  231.     pe-i386.o \
  232.     pei-i386.o \
  233.     pe-ppc.o \
  234.     pei-ppc.o \
  235.     ppcboot.o \
  236.     reloc16.o \
  237.     sparclynx.o \
  238.     sparcnetbsd.o \
  239.     sunos.o \
  240.     tekhex.o \
  241.     versados.o \
  242.     xcofflink.o
  243.  
  244. BFD32_BACKENDS_CFILES = \
  245.     amigaos.c \
  246.     amigaoslink.c \
  247.     aout-adobe.c \
  248.     aout-amiga.c \
  249.     aout-ns32k.c \
  250.     aout0.c \
  251.     aout32.c \
  252.     bout.c \
  253.     cf-i386lynx.c \
  254.     cf-m68klynx.c \
  255.     cf-sparclynx.c \
  256.     coff-a29k.c \
  257.     coff-apollo.c \
  258.     coff-arm.c \
  259.     coff-aux.c \
  260.     coff-h8300.c \
  261.     coff-h8500.c \
  262.     coff-i386.c \
  263.     coff-i860.c \
  264.     coff-go32.c \
  265.     coff-i960.c \
  266.     coff-m68k.c \
  267.     coff-m88k.c \
  268.     coff-mips.c \
  269.     coff-pmac.c \
  270.     coff-rs6000.c \
  271.     coff-sh.c \
  272.     coff-sparc.c \
  273.     coff-u68k.c \
  274.     coff-we32k.c \
  275.     coff-w65.c \
  276.     coff-z8k.c \
  277.     cofflink.c \
  278.     ecoff.c \
  279.     ecofflink.c \
  280.     elf32-gen.c \
  281.     elf32-hppa.c \
  282.     elf32-i386.c \
  283.     elf32-i860.c \
  284.     elf32-m68k.c \
  285.     elf32-m88k.c \
  286.     elf32-mips.c \
  287.     elf32-ppc.c \
  288.     elf32-sparc.c \
  289.     elf32.c \
  290.     elflink.c \
  291.     hp300hpux.c \
  292.     som.c \
  293.     i386aout.c \
  294.     i386bsd.c \
  295.     i386freebsd.c \
  296.     i386linux.c \
  297.     i386lynx.c \
  298.     i386msdos.c \
  299.     i386netbsd.c \
  300.     i386mach3.c \
  301.     i386os9k.c \
  302.     ieee.c \
  303.     m68klinux.c \
  304.     m68klynx.c \
  305.     m68knetbsd.c \
  306.     m88kmach3.c \
  307.     mipsbsd.c \
  308.     newsos3.c \
  309.     nlm.c \
  310.     nlm32-i386.c \
  311.     nlm32-sparc.c \
  312.     nlm32-ppc.c \
  313.     nlm32.c \
  314.     ns32knetbsd.c \
  315.     oasys.c \
  316.     pc532-mach.c \
  317.     pe-arm.c \
  318.     pei-arm.c \
  319.     pe-i386.c \
  320.     pei-i386.c \
  321.     pe-ppc.c \
  322.     pei-ppc.c \
  323.     ppcboot.c \
  324.     reloc16.c \
  325.     sparclynx.c \
  326.     sparcnetbsd.c \
  327.     sunos.c \
  328.     tekhex.c \
  329.     versados.c \
  330.     xcofflink.c
  331.  
  332. # The .o files needed by all of the 64 bit vectors that are configured into
  333. # target_vector in targets.c if configured with --enable-targets=all
  334. # and --enable-64-bit-bfd.
  335. BFD64_BACKENDS = \
  336.     aout64.o \
  337.     coff-alpha.o \
  338.     demo64.o \
  339.     elf64-alpha.o \
  340.     elf64-gen.o \
  341.     elf64-mips.o \
  342.     elf64-sparc.o \
  343.     elf64.o \
  344.     evax-alpha.o \
  345.     evax-egsd.o \
  346.     evax-etir.o \
  347.     evax-emh.o \
  348.     evax-misc.o \
  349.     nlm32-alpha.o \
  350.     nlm64.o
  351.  
  352. BFD64_BACKENDS_CFILES = \
  353.     aout64.c \
  354.     coff-alpha.c \
  355.     demo64.c \
  356.     elf64-alpha.c \
  357.     elf64-gen.c \
  358.     elf64-mips.c \
  359.     elf64-sparc.c \
  360.     elf64.c \
  361.     evax-alpha.c \
  362.     evax-egsd.c \
  363.     evax-etir.c \
  364.     evax-emh.c \
  365.     evax-misc.c \
  366.     nlm32-alpha.c \
  367.     nlm64.c
  368.  
  369. OPTIONAL_BACKENDS = \
  370.     aix386-core.o \
  371.     hpux-core.o \
  372.     irix-core.o \
  373.     lynx-core.o \
  374.     osf-core.o \
  375.     trad-core.o \
  376.     cisco-core.o
  377.  
  378. OPTIONAL_BACKENDS_CFILES = \
  379.     aix386-core.c \
  380.     hpux-core.c \
  381.     irix-core.c \
  382.     lynx-core.c \
  383.     osf-core.c \
  384.     trad-core.c \
  385.     cisco-core.c
  386.  
  387. # These are defined by configure.in:
  388. WORDSIZE = @wordsize@
  389. ALL_BACKENDS = @all_backends@
  390. BFD_BACKENDS = @bfd_backends@
  391. BFD_MACHINES = @bfd_machines@
  392. TDEFAULTS = @tdefaults@
  393.  
  394. all:
  395.  
  396. FLAGS_TO_PASS = \
  397.     "prefix=$(prefix)" \
  398.     "exec_prefix=$(exec_prefix)" \
  399.     "against=$(against)" \
  400.     "AR=$(AR)" \
  401.     "AR_FLAGS=$(AR_FLAGS)" \
  402.     "CC=$(CC)" \
  403.     "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  404.     "CFLAGS=$(CFLAGS)" \
  405.     "RANLIB=$(RANLIB)" \
  406.     "MAKEINFO=$(MAKEINFO)" \
  407.     "INSTALL=$(INSTALL)" \
  408.     "INSTALL_DATA=$(INSTALL_DATA)" \
  409.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
  410.  
  411. ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
  412. .c.o:
  413.     if [ -n "$(PICFLAG)" ]; then \
  414.       $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \
  415.     else true; fi
  416.     $(CC) -c $(ALL_CFLAGS) $<
  417.  
  418. bfd_libs_here =
  419. all_machines_here =
  420. bfd32_backends_here =
  421. core_files_here =
  422. configs_not_included_in_all_targets_option_here =
  423.  
  424. # C source files that correspond to .o's.
  425. CFILES = \
  426.     $(BFD_LIBS_CFILES) \
  427.     $(ALL_MACHINES_CFILES) \
  428.     $(BFD32_BACKENDS_CFILES) \
  429.     $(BFD64_BACKENDS_CFILES) \
  430.     $(OPTIONAL_BACKENDS_CFILES) \
  431.     i386dynix.c hp300bsd.c
  432.  
  433. HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
  434.      coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
  435.      elfcode.h evax.h hppa_stubs.h libamiga.h libaout.h libbfd.h \
  436.      libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \
  437.      liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h ns32k.h
  438.  
  439. all: Makefile $(ALLLIBS) @PICLIST@
  440.     @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  441.  
  442. .NOEXPORT:
  443. MAKEOVERRIDES=
  444.  
  445. .PHONY: check installcheck
  446. check:
  447.     @echo No testsuites exist for the BFD library. Nothing to check.
  448.  
  449. installcheck:
  450.     @echo No testsuites exist for the BFD library. Nothing to check.
  451.  
  452. info dvi : force
  453.     @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  454.  
  455. clean-info:
  456.     @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  457.  
  458. install-info: force
  459.     @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  460.  
  461. diststuff: info
  462.  
  463. # Various kinds of .o files to put in libbfd.a:
  464. # BFD_LIBS    Generic routines, always needed.
  465. # BFD_BACKENDS    Routines the configured targets need.
  466. # BFD_MACHINES    Architecture-specific routines the configured targets need.
  467. # COREFILE    Core file routines for a native configuration
  468. OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
  469.  
  470. stamp-ofiles: Makefile
  471.     rm -f tofiles
  472.     f=""; \
  473.     for i in $(OFILES) ; do \
  474.       case " $$f " in \
  475.         *" $$i "*) ;; \
  476.         *) f="$$f $$i" ;; \
  477.       esac ; \
  478.     done ; \
  479.     echo $$f > tofiles
  480.     $(srcdir)/../move-if-change tofiles ofiles
  481.     touch stamp-ofiles
  482.  
  483. ofiles: stamp-ofiles ; @true
  484.  
  485. $(TARGETLIB): $(OFILES) ofiles
  486.     rm -f $(TARGETLIB)
  487.     @echo ofiles = `cat ofiles`
  488.     $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
  489.     $(RANLIB) $(TARGETLIB)
  490.  
  491. stamp-piclist: ofiles
  492.     rm -f tpiclist
  493.     if [ -n "$(PICFLAG)" ]; then \
  494.       sed -e 's,\([^ ][^ ]*\),pic/\1,g' ofiles > tpiclist; \
  495.     else \
  496.       cp ofiles tpiclist; \
  497.     fi
  498.     $(srcdir)/../move-if-change tpiclist piclist
  499.     touch stamp-piclist
  500.  
  501. piclist: stamp-piclist ; @true
  502.  
  503. $(SHLIB): stamp-picdir $(OFILES) piclist
  504.     rm -f $(SHLIB)
  505.     $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist`
  506.  
  507. # We make a link from libbfd.so to libbfd.so.VERSION for linking, and
  508. # also a link from libTARGET-bfd.so.VERSION for running.
  509. $(SHLINK): $(SHLIB)
  510.     ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed -e '$(program_transform_name)'`; \
  511.     if [ "$$ts" != "$(SHLIB)" ]; then \
  512.       rm -f $$ts; \
  513.       ln -sf $(SHLIB) $$ts; \
  514.     else true; fi
  515.     rm -f $(SHLINK)
  516.     ln -sf $(SHLIB) $(SHLINK)
  517.  
  518. # This target creates libTARGET-bfd.so.VERSION as a symlink to
  519. # libbfd.so.VERSION.  It is used on SunOS, which does not have SONAME.
  520. stamp-tshlink: $(SHLIB)
  521.     tf=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
  522.     if [ "$$tf" != "$(SHLIB)" ]; then \
  523.       rm -f $$tf; \
  524.       ln -sf $(SHLIB) $$tf; \
  525.     else true; fi
  526.     touch stamp-tshlink
  527.  
  528. # When compiling archures.c and targets.c, supply the default target
  529. # info from configure.
  530.  
  531. targets.o: targets.c Makefile
  532.     if [ -n "$(PICFLAG)" ]; then \
  533.       $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c -o pic/targets.o; \
  534.     else true; fi
  535.     $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c
  536.  
  537. archures.o: archures.c Makefile
  538.     if [ -n "$(PICFLAG)" ]; then \
  539.       $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c -o pic/archures.o; \
  540.     else true; fi
  541.     $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c
  542.  
  543. elf32-target.h : elfxx-target.h
  544.     rm -f elf32-target.h
  545.     sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
  546.     mv -f elf32-target.new elf32-target.h
  547.  
  548. elf64-target.h : elfxx-target.h
  549.     rm -f elf64-target.h
  550.     sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
  551.     mv -f elf64-target.new elf64-target.h
  552.  
  553. subdir_do: force
  554.     @for i in $(DODIRS); do \
  555.         if [ -d ./$$i ] ; then \
  556.             if (cd ./$$i; \
  557.                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
  558.             else exit 1 ; fi ; \
  559.         else true ; fi ; \
  560.     done
  561.  
  562. tags etags: TAGS
  563.  
  564. TAGS: force
  565.     etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
  566.  
  567. do_mostlyclean:
  568.     rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log \
  569.         pic/*.o
  570. do_clean: do_mostlyclean
  571.     rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles stamp-ofiles \
  572.         elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \
  573.         piclist stamp-piclist
  574. do_distclean: do_clean
  575.     rm -f Makefile config.status config.cache config.h stamp-h
  576.     rm -rf pic stamp-picdir
  577. do_maintainer_clean: do_distclean
  578.     rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h
  579.  
  580. mostlyclean: do_mostlyclean
  581.     $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  582. clean: do_clean
  583.     $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  584. distclean:
  585.     $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  586.     $(MAKE) do_distclean
  587. clobber maintainer-clean realclean:
  588.     @echo "This command is intended for maintainers to use;"
  589.     @echo "it deletes files that may require special tools to rebuild."
  590.     $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  591.     $(MAKE) do_maintainer_clean
  592.  
  593. BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
  594. LOCAL_H_DEPS= libbfd.h sysdep.h config.h
  595. $(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
  596. $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
  597. $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
  598. $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
  599.  
  600. # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
  601. cpu-i386.o:cpu-i386.c
  602. cpu-z8k.o: cpu-z8k.c
  603. cpu-h8500.o: cpu-h8500.c
  604. cpu-we32k.o: cpu-we32k.c
  605.  
  606. saber:
  607.     #suppress 65 on bfd_map_over_sections 
  608.     #suppress 66 on bfd_map_over_sections 
  609.     #suppress 67 on bfd_map_over_sections 
  610.     #suppress 68 on bfd_map_over_sections 
  611.     #suppress 69 on bfd_map_over_sections 
  612.     #suppress 70 on bfd_map_over_sections 
  613.     #suppress 110 in bfd_map_over_sections 
  614.     #suppress 112 in bfd_map_over_sections 
  615.     #suppress 530 
  616.     #suppress 590 in swap_exec_header 
  617.     #suppress 590 in _bfd_dummy_core_file_matches_executable_p 
  618.     #suppress 590 in bfd_dont_truncate_arname
  619.     #suppress 590 on ignore 
  620.     #suppress 590 on abfd 
  621.     #setopt load_flags $(CFLAGS)
  622.     #load $(CFILES)
  623.  
  624.  
  625. #-----------------------------------------------------------------------------
  626. #        'STANDARD' GNU/960 TARGETS BELOW THIS POINT
  627. #
  628. # 'VERSION' file must be present and contain a string of the form "x.y"
  629. #-----------------------------------------------------------------------------
  630.  
  631. ver960.c: FORCE
  632.     rm -f ver960.c
  633.     echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
  634.  
  635.  
  636. # This target should be invoked before building a new release.
  637. # 'VERSION' file must be present and contain a string of the form "x.y"
  638. #
  639. roll:
  640.     @V=`cat VERSION`        ; \
  641.     MAJ=`sed 's/\..*//' VERSION`    ; \
  642.     MIN=`sed 's/.*\.//' VERSION`    ; \
  643.     V=$$MAJ.`expr $$MIN + 1`    ; \
  644.     rm -f VERSION            ; \
  645.     echo $$V >VERSION        ; \
  646.     echo Version $$V
  647.  
  648. # Dummy target to force execution of dependent targets.
  649. #
  650. force:
  651.  
  652. install: $(ALLLIBS)
  653.     for f in $(ALLLIBS); do \
  654.       if [ "$$f" = "stamp-tshlink" ]; then \
  655.         continue; \
  656.       fi; \
  657.       tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
  658.       rm -f $(libdir)/$$tf; \
  659.       if [ "$$f" = "$(SHLINK)" ]; then \
  660.         ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
  661.         ln -sf $$ts $(libdir)/$$tf; \
  662.       elif [ "$$f" = "$(SHLIB)" ]; then \
  663.         $(INSTALL_PROGRAM) $$f $(libdir)/$$tf; \
  664.       else \
  665.         $(INSTALL_DATA) $$f $(libdir)/$$tf; \
  666.         $(RANLIB) $(libdir)/$$tf; \
  667.         chmod a-x $(libdir)/$$tf; \
  668.       fi; \
  669.     done
  670. # Install BFD include file, and others that it needs.  Install them
  671. # both in GCC's include directory, and in the system include dir
  672. # if configured as $(oldincludedir) -- which it usually isnt.
  673.     $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
  674.     $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
  675.     $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
  676.     $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
  677.     -if test -z "$(oldincludedir)"; then true; else \
  678.     test -d $(oldincludedir) || mkdir $(oldincludedir); \
  679.     $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
  680.     $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
  681.     $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
  682.     $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
  683.     $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
  684.     fi
  685.  
  686. Makefile: Makefile.in config.status
  687.     CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
  688.  
  689. config.h: stamp-h ; @true
  690. stamp-h: config.in config.status
  691.     CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
  692.  
  693. config.status: configure configure.host config.bfd VERSION
  694.     $(SHELL) config.status --recheck
  695.  
  696. # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
  697. .dep: dep.sed $(CFILES) $(HFILES) bfd.h
  698.     rm -f .dep1
  699.     $(MAKE) DEP=$(DEP) .dep1
  700.     sed -f dep.sed <.dep1 >.dep
  701.  
  702. # This rule really wants a mkdep that runs "gcc -MM".
  703. # The NetBSD mkdep overwrites any existing file contents, and doesn't insert
  704. # the "DO NOT DELETE" line.
  705. # Other mkdep versions require a file that already exists, and do insert it.
  706. # Hence the weirdness....
  707. .dep1: $(CFILES)
  708.     rm -f .dep2 .dep2a
  709.     echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
  710.     echo > .dep2a
  711.     $(DEP) -f .dep2a $(ALL_CFLAGS) $?
  712.     sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
  713.     rm -f .dep2a
  714.     $(srcdir)/../move-if-change .dep2 .dep1
  715.  
  716. dep.sed: dep-in.sed config.status
  717.     sed <$(srcdir)/dep-in.sed >dep.sed    \
  718.         -e 's!@BFD_H@!$(BFD_H)!'    \
  719.         -e 's!@INCDIR@!$(INCDIR)!'    \
  720.         -e 's!@SRCDIR@!$(srcdir)!'
  721.  
  722. dep: .dep
  723.     sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
  724.     cat .dep >> tmp-Makefile
  725.     $(srcdir)/../move-if-change tmp-Makefile Makefile
  726.  
  727. dep-in: .dep
  728.     sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
  729.     cat .dep >> tmp-Makefile.in
  730.     $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
  731.  
  732. host-aout.o: Makefile
  733.  
  734. # The following program can be used to generate a simple config file
  735. # which can be folded into an h-XXX file for a new host, with some editing.
  736. aout-params.h: gen-aout
  737.     ./gen-aout host > aout-params.h
  738. gen-aout: $(srcdir)/gen-aout.c Makefile
  739.     $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
  740.  
  741. BFDIN_H= $(srcdir)/bfd-in2.h
  742.  
  743. $(BFD_H): stmp-bfd.h ; @true
  744.  
  745. stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
  746.     rm -f bfd.h-new
  747.     sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
  748.         -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
  749.         -e 's/@BFD_HOST_64BIT_LONG@/@HOST_64BIT_LONG@/' \
  750.         < $(srcdir)/bfd-in2.h \
  751.         > bfd.h-new
  752.     $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
  753.     touch stmp-bfd.h
  754.  
  755. # Could really use a "copy-if-change"...
  756. headers:
  757.     (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
  758.     cp $(docdir)/bfd.h bfd-in2.h-new
  759.     $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
  760.     cp $(docdir)/libbfd.h libbfd.h-new
  761.     $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
  762.     cp $(docdir)/libcoff.h libcoff.h-new
  763.     $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
  764.  
  765. # The rules for the generated header files are here so that people can
  766. # type `make bfd-in2.h' if they remove it.  They are not run by default.
  767. $(srcdir)/bfd-in2.h:
  768.     (cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS))
  769.     cp $(docdir)/bfd.h bfd-in2.h-new
  770.     $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
  771. $(srcdir)/libbfd.h:
  772.     (cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS))
  773.     cp $(docdir)/libbfd.h libbfd.h-new
  774.     $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
  775. $(srcdir)/libcoff.h:
  776.     (cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS))
  777.     cp $(docdir)/libcoff.h libcoff.h-new
  778.     $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
  779.  
  780. bfd.info:
  781.     (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
  782.  
  783. bfd.dvi:
  784.     (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
  785.  
  786. bfd.ps: 
  787.     (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
  788.  
  789. amigaos.o: amigaos.c libamiga.h bfd.h
  790. amigaoslink.o: bfd.h libamiga.h amigaoslink.c
  791. aout-amiga.o: aout-amiga.c aoutf1.h bfd.h
  792.  
  793.  
  794. $(OFILES): stamp-picdir
  795.  
  796. stamp-picdir:
  797.     if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
  798.       mkdir pic; \
  799.     else true; fi
  800.     touch stamp-picdir
  801.  
  802. # What appears below is generated by a hacked mkdep using gcc -MM.
  803.  
  804. # DO NOT DELETE THIS LINE -- mkdep uses it.
  805. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  806. archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
  807. archures.o: archures.c
  808. bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  809.   $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
  810.   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  811.   $(INCDIR)/elf/external.h
  812. cache.o: cache.c
  813. coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
  814.   $(INCDIR)/bfdlink.h
  815. corefile.o: corefile.c
  816. format.o: format.c
  817. init.o: init.c
  818. libbfd.o: libbfd.c
  819. opncls.o: opncls.c
  820. reloc.o: reloc.c $(INCDIR)/bfdlink.h
  821. section.o: section.c
  822. syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
  823.   $(INCDIR)/aout/stab.def
  824. targets.o: targets.c
  825. hash.o: hash.c
  826. linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
  827. elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
  828.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
  829. srec.o: srec.c $(INCDIR)/libiberty.h
  830. binary.o: binary.c
  831. tekhex.o: tekhex.c $(INCDIR)/libiberty.h
  832. ihex.o: ihex.c $(INCDIR)/libiberty.h
  833. stabs.o: stabs.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
  834. stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
  835.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
  836. cpu-a29k.o: cpu-a29k.c
  837. cpu-alpha.o: cpu-alpha.c
  838. cpu-arm.o: cpu-arm.c
  839. cpu-h8300.o: cpu-h8300.c
  840. cpu-h8500.o: cpu-h8500.c
  841. cpu-hppa.o: cpu-hppa.c
  842. cpu-i386.o: cpu-i386.c
  843. cpu-i860.o: cpu-i860.c
  844. cpu-i960.o: cpu-i960.c
  845. cpu-m68k.o: cpu-m68k.c
  846. cpu-m88k.o: cpu-m88k.c
  847. cpu-mips.o: cpu-mips.c
  848. cpu-ns32k.o: cpu-ns32k.c ns32k.h
  849. cpu-powerpc.o: cpu-powerpc.c
  850. cpu-rs6000.o: cpu-rs6000.c
  851. cpu-sh.o: cpu-sh.c
  852. cpu-sparc.o: cpu-sparc.c
  853. cpu-vax.o: cpu-vax.c
  854. cpu-we32k.o: cpu-we32k.c
  855. cpu-w65.o: cpu-w65.c
  856. cpu-z8k.o: cpu-z8k.c
  857. aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
  858.   $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
  859. aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \
  860.   ns32k.h libaout.h $(INCDIR)/bfdlink.h
  861. aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
  862.   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  863.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  864. aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
  865.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  866.   $(INCDIR)/aout/ar.h
  867. bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
  868.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
  869. cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
  870.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  871.   coffcode.h coffswap.h
  872. cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
  873.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  874.   coffcode.h coffswap.h
  875. cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
  876.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  877.   coffcode.h coffswap.h
  878. coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
  879.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  880. coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
  881.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  882.   coffcode.h coffswap.h
  883. coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
  884.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  885. coff-aux.o: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
  886.   $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
  887.   coffcode.h coffswap.h
  888. coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \
  889.   $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \
  890.   coffcode.h coffswap.h
  891. coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
  892.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  893. coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
  894.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  895. coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
  896.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  897. coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
  898.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  899.   coffcode.h coffswap.h
  900. coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
  901.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  902. coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
  903.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  904. coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
  905.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  906. coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  907.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  908.   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
  909.   ecoffswap.h
  910. coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
  911.   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
  912.   coffcode.h coffswap.h
  913. coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
  914.   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
  915.   coffcode.h coffswap.h
  916. coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
  917.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  918. coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
  919.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  920. coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
  921.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
  922.   coffcode.h coffswap.h
  923. coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
  924.   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
  925. coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
  926.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  927. coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
  928.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  929. cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  930.   libcoff.h
  931. ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
  932.   $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  933.   libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
  934.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  935.   libcoff.h libecoff.h
  936. ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
  937.   $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
  938.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
  939. elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
  940.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  941.   elf32-target.h
  942. elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
  943.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  944.   elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
  945.   elf32-target.h
  946. elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
  947.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  948.   elf32-target.h
  949. elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
  950.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  951.   elf32-target.h
  952. elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
  953.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  954.   elf32-target.h
  955. elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
  956.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  957.   elf32-target.h
  958. elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
  959.   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  960.   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
  961.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
  962.   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
  963.   elf32-target.h
  964. elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
  965.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  966.   $(INCDIR)/elf/ppc.h elf32-target.h
  967. elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
  968.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  969.   $(INCDIR)/elf/sparc.h elf32-target.h
  970. elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
  971.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  972.   elfcore.h elflink.h
  973. elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
  974.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
  975. hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
  976.   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
  977.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
  978.   aout-target.h
  979. som.o: som.c
  980. i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
  981.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  982.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  983. i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
  984.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  985.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  986. i386freebsd.o: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
  987.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  988.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  989. i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  990.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  991.   $(INCDIR)/bfdlink.h aout-target.h
  992. i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
  993.   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
  994.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  995. i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
  996. i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
  997.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  998.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  999. i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1000.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  1001.   $(INCDIR)/bfdlink.h aout-target.h
  1002. i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
  1003.   $(INCDIR)/os9k.h
  1004. ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
  1005. m68klinux.o: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1006.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  1007.   $(INCDIR)/bfdlink.h aout-target.h
  1008. m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
  1009.   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
  1010.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1011. m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
  1012.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1013.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1014. m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
  1015.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1016.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1017. mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
  1018.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1019.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1020. newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1021.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  1022.   $(INCDIR)/bfdlink.h aout-target.h
  1023. nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  1024.   $(INCDIR)/nlm/external.h
  1025. nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
  1026.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  1027.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  1028. nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
  1029.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  1030.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  1031. nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
  1032.   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
  1033.   nlmswap.h nlm-target.h
  1034. nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
  1035.   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
  1036. ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
  1037.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1038.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1039. oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
  1040. pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
  1041.   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
  1042.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1043. pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
  1044.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1045.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1046. pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
  1047.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1048.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1049. pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
  1050.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1051.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1052. pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
  1053.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1054.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1055. pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
  1056.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1057.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1058. pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
  1059.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
  1060.   $(INCDIR)/bfdlink.h coffcode.h peicode.h
  1061. ppcboot.o: ppcboot.c
  1062. reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
  1063.   $(INCDIR)/coff/internal.h libcoff.h
  1064. sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
  1065.   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1066.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  1067. sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
  1068.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1069.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1070. sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
  1071.   $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1072.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  1073. versados.o: versados.c $(INCDIR)/libiberty.h
  1074. xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  1075.   libcoff.h
  1076. aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
  1077.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  1078.   $(INCDIR)/aout/ar.h
  1079. coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  1080.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  1081.   $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
  1082.   libecoff.h coffswap.h ecoffswap.h
  1083. demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
  1084.   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1085.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  1086. elf64-alpha.o: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \
  1087.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  1088.   $(INCDIR)/elf/alpha.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
  1089.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \
  1090.   $(INCDIR)/aout/ar.h libcoff.h libecoff.h ecoffswap.h \
  1091.   elf64-target.h
  1092. elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
  1093.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  1094.   elf64-target.h
  1095. elf64-mips.o: elf64-mips.c $(INCDIR)/bfdlink.h genlink.h \
  1096.   elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  1097.   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
  1098.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
  1099.   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \
  1100.   elf64-target.h
  1101. elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
  1102.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
  1103.   $(INCDIR)/elf/sparc.h elf64-target.h
  1104. elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
  1105.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  1106.   elfcore.h elflink.h
  1107. evax-alpha.o: evax-alpha.c $(INCDIR)/bfdlink.h evax.h
  1108. evax-egsd.o: evax-egsd.c $(INCDIR)/bfdlink.h evax.h
  1109. evax-etir.o: evax-etir.c $(INCDIR)/bfdlink.h evax.h
  1110. evax-emh.o: evax-emh.c $(INCDIR)/bfdlink.h evax.h
  1111. evax-misc.o: evax-misc.c $(INCDIR)/bfdlink.h evax.h
  1112. nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
  1113.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  1114.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  1115. nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
  1116.   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
  1117. aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
  1118.   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
  1119. hpux-core.o: hpux-core.c
  1120. irix-core.o: irix-core.c
  1121. lynx-core.o: lynx-core.c
  1122. osf-core.o: osf-core.c
  1123. trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
  1124. cisco-core.o: cisco-core.c
  1125. i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
  1126.   $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
  1127.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
  1128.   aout-target.h
  1129. hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
  1130.   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  1131.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  1132. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  1133.