home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / gdb-4.12-src.lha / src / build / gdb-4.12 / bfd / Makefile < prev    next >
Encoding:
Makefile  |  1994-02-22  |  24.6 KB  |  719 lines

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