home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / GDB / GDB-4.13 / GDB-4 / gdb-4.13 / bfd / Makefile.in < prev    next >
Encoding:
Makefile  |  1994-06-23  |  25.9 KB  |  747 lines

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