home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / gdb-4.12.tar.gz / gdb-4.12.tar / gdb-4.12 / bfd / Makefile.in < prev    next >
Makefile  |  1994-02-03  |  24KB  |  690 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: ecoff.o ecofflink.o 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.     ecoff.o ecofflink.o 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-rs6000.o \
  101.     cpu-sh.o \
  102.     cpu-sparc.o \
  103.     cpu-vax.o \
  104.     cpu-we32k.o \
  105.     cpu-z8k.o
  106.  
  107. # The .o files needed by all of the 32 bit vectors that are configured into
  108. # target_vector in targets.c if configured with --with-targets=all.
  109. BFD32_BACKENDS = \
  110.     aout-adobe.o \
  111.     aout32.o \
  112.     bout.o \
  113.     cf-i386lynx.o \
  114.     cf-m68klynx.o \
  115.     cf-sparclynx.o \
  116.     coff-a29k.o \
  117.     coff-apollo.o \
  118.     coff-h8300.o \
  119.     coff-h8500.o \
  120.     coff-i386.o \
  121.     coff-i960.o \
  122.     coff-m68k.o \
  123.     coff-m88k.o \
  124.     coff-mips.o \
  125.     coff-rs6000.o \
  126.     coff-sh.o \
  127.     coff-u68k.o \
  128.     coff-we32k.o \
  129.     coff-z8k.o \
  130.     elf32-gen.o \
  131.     elf32-hppa.o \
  132.     elf32-i386.o \
  133.     elf32-i860.o \
  134.     elf32-m68k.o \
  135.     elf32-m88k.o \
  136.     elf32-mips.o \
  137.     elf32-sparc.o \
  138.     elf32.o \
  139.     hp300hpux.o \
  140.     som.o \
  141.     i386aout.o \
  142.     i386bsd.o \
  143.     i386linux.o \
  144.     i386lynx.o \
  145.     netbsd386.o \
  146.     i386mach3.o \
  147.     ieee.o \
  148.     m68klynx.o \
  149.     mipsbsd.o \
  150.     newsos3.o \
  151.     nlm.o \
  152.     nlm32-i386.o \
  153.     nlm32-sparc.o \
  154.     nlm32.o \
  155.     oasys.o \
  156.     reloc16.o \
  157.     sparclynx.o \
  158.     stab-syms.o \
  159.     sunos.o
  160.  
  161. # The .o files needed by all of the 64 bit vectors that are configured into
  162. # target_vector in targets.c if configured with --with-targets=all
  163. # and --with-64-bit-bfd.
  164. BFD64_BACKENDS = \
  165.     aout64.o \
  166.     coff-alpha.o \
  167.     demo64.o \
  168.     elf64-gen.o \
  169.     elf64.o \
  170.     nlm32-alpha.o \
  171.     nlm64.o
  172.  
  173. OPTIONAL_BACKENDS = \
  174.     aix386-core.o \
  175.     hpux-core.o \
  176.     irix-core.o \
  177.     lynx-core.o \
  178.     osf-core.o \
  179.     trad-core.o
  180.  
  181. # These are defined by configure.in:
  182. # WORDSIZE=32
  183. # BFD_BACKENDS = $(BFD32_BACKENDS)
  184.  
  185. all:
  186.  
  187. #### host and target dependent Makefile fragments come in here.
  188. ###
  189.  
  190. FLAGS_TO_PASS = \
  191.     "prefix=$(prefix)" \
  192.     "exec_prefix=$(exec_prefix)" \
  193.     "against=$(against)" \
  194.     "AR=$(AR)" \
  195.     "AR_FLAGS=$(AR_FLAGS)" \
  196.     "CC=$(CC)" \
  197.     "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  198.     "CFLAGS=$(CFLAGS)" \
  199.     "RANLIB=$(RANLIB)" \
  200.     "MAKEINFO=$(MAKEINFO)" \
  201.     "INSTALL=$(INSTALL)" \
  202.     "INSTALL_DATA=$(INSTALL_DATA)" \
  203.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  204.     "BISON=$(BISON)"
  205.  
  206. ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
  207. .c.o:
  208.     $(CC) -c $(ALL_CFLAGS) $<
  209.  
  210. # C source files that correspond to .o's.
  211. CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
  212.      archures.c coff-i386.c aout64.c aout32.c sunos.c demo64.c \
  213.      coff-i960.c srec.c tekhex.c oasys.c ieee.c \
  214.      ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
  215.      coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
  216.      section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
  217.      coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \
  218.      i386aout.c i386linux.c netbsd386.c i386mach3.c bout.c aout-adobe.c coff-we32k.c \
  219.      i386bsd.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
  220.      cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c \
  221.      cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
  222.      mipsbsd.c cpu-sh.c \
  223.      elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
  224.      elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c \
  225.      elf64.c elf64-gen.c \
  226.      nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
  227.      nlm64.c coff-alpha.c cpu-alpha.c \
  228.      hp300bsd.c hp300hpux.c \
  229.      i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
  230.      sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
  231.      irix-core.c lynx-core.c osf-core.c hash.c linker.c
  232.  
  233. HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
  234.      coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
  235.      elfcode.h hppa_stubs.h libaout.h libbfd.h \
  236.      libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
  237.      liboasys.h nlm-target.h nlmcode.h som.h genlink.h
  238.  
  239. STAGESTUFF = $(TARGETLIB) $(OFILES)
  240.  
  241. all: Makefile $(TARGETLIB) 
  242.     @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  243.  
  244. .NOEXPORT:
  245. MAKEOVERRIDES=
  246.  
  247. .PHONY: check installcheck
  248. check:
  249.     @echo No testsuites exist. Nothing to check.
  250.  
  251. installcheck:
  252.     @echo No testsuites exist. Nothing to check.
  253.  
  254. info dvi : force
  255.     @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  256.  
  257. clean-info:
  258.     @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  259.     
  260. install-info: force
  261.     @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  262.  
  263. diststuff: info
  264.  
  265. # Various kinds of .o files to put in libbfd.a:
  266. # BFD_LIBS    Generic routines, always needed.
  267. # BFD_BACKENDS    Routines the configured targets need.
  268. # BFD_MACHINES    Architecture-specific routines the configured targets need.
  269. # HDEPFILES    Routines the host needs, regardless of target.
  270. # TDEPFILES    Routines the target needs, regardless of host.
  271. OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
  272.  
  273. ofiles : Makefile
  274.     rm -f ofiles
  275.     f=""; \
  276.     for i in $(OFILES) ; do \
  277.       case " $$f " in \
  278.         *" $$i "*) ;; \
  279.         *) f="$$f $$i" ;; \
  280.       esac ; \
  281.     done ; \
  282.     echo $$f > ofiles
  283.  
  284. $(TARGETLIB): $(OFILES) ofiles
  285.     rm -f $(TARGETLIB)
  286.     @echo ofiles = `cat ofiles`
  287.     $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
  288.     $(RANLIB) $(TARGETLIB)
  289.  
  290. # When compiling archures.c and targets.c, supply the default target
  291. # info from configure.
  292.  
  293.  
  294. targets.o: targets.c Makefile
  295.     $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
  296.  
  297. archures.o: archures.c Makefile
  298.     $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
  299.  
  300. subdir_do: force
  301.     @for i in $(DODIRS); do \
  302.         if [ -d ./$$i ] ; then \
  303.             if (cd ./$$i; \
  304.                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
  305.             else exit 1 ; fi ; \
  306.         else true ; fi ; \
  307.     done
  308.  
  309. tags etags: TAGS
  310.  
  311. TAGS: force
  312.     etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
  313.  
  314. do_mostlyclean:
  315.     rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
  316. do_clean: do_mostlyclean
  317.     rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
  318. do_distclean: do_clean
  319.     rm -f Makefile config.status sysdep.h
  320.  
  321. # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
  322. # make-stds.texi says it depends on whether they can be regenerated using
  323. # this makefile.  Well, they can, but only via an explicit "make headers";
  324. # the makefile does not regenerate them as needed.  So I guess we should not
  325. # remove them in realclean.
  326. do_realclean: do_distclean
  327.  
  328. mostlyclean: do_mostlyclean
  329.     $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  330. clean: do_clean
  331.     $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  332. distclean:
  333.     $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  334.     $(MAKE) do_distclean
  335. clobber realclean:
  336.     $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
  337.     $(MAKE) do_realclean
  338.  
  339. # Mark everything as depending on config.status, since the timestamp on
  340. # sysdep.h might actually move backwards if we reconfig and relink it
  341. # to a different hosts/h-xxx.h file.  This will force a recompile anyway.
  342. BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
  343. RECONFIG = config.status
  344. $(BFD_LIBS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
  345. $(BFD_MACHINES):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
  346. $(BFD_BACKENDS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
  347. $(OPTIONAL_BACKENDS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
  348.  
  349. # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
  350. cpu-i386.o:cpu-i386.c
  351. cpu-z8k.o: cpu-z8k.c
  352. cpu-h8500.o: cpu-h8500.c
  353. cpu-we32k.o: cpu-we32k.c
  354.  
  355. saber:
  356.     #suppress 65 on bfd_map_over_sections 
  357.     #suppress 66 on bfd_map_over_sections 
  358.     #suppress 67 on bfd_map_over_sections 
  359.     #suppress 68 on bfd_map_over_sections 
  360.     #suppress 69 on bfd_map_over_sections 
  361.     #suppress 70 on bfd_map_over_sections 
  362.     #suppress 110 in bfd_map_over_sections 
  363.     #suppress 112 in bfd_map_over_sections 
  364.     #suppress 530 
  365.     #suppress 590 in swap_exec_header 
  366.     #suppress 590 in _bfd_dummy_core_file_matches_executable_p 
  367.     #suppress 590 in bfd_dont_truncate_arname
  368.     #suppress 590 on ignore 
  369.     #suppress 590 on abfd 
  370.     #setopt load_flags $(CFLAGS)
  371.     #load $(CFILES)
  372.  
  373.  
  374. #-----------------------------------------------------------------------------
  375. #        'STANDARD' GNU/960 TARGETS BELOW THIS POINT
  376. #
  377. # 'VERSION' file must be present and contain a string of the form "x.y"
  378. #-----------------------------------------------------------------------------
  379.  
  380. ver960.c: FORCE
  381.     rm -f ver960.c
  382.     echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
  383.  
  384.  
  385. # This target should be invoked before building a new release.
  386. # 'VERSION' file must be present and contain a string of the form "x.y"
  387. #
  388. roll:
  389.     @V=`cat VERSION`        ; \
  390.     MAJ=`sed 's/\..*//' VERSION`    ; \
  391.     MIN=`sed 's/.*\.//' VERSION`    ; \
  392.     V=$$MAJ.`expr $$MIN + 1`    ; \
  393.     rm -f VERSION            ; \
  394.     echo $$V >VERSION        ; \
  395.     echo Version $$V
  396.  
  397. # Dummy target to force execution of dependent targets.
  398. #
  399. force:
  400.  
  401. install:
  402.     $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
  403.     $(RANLIB) $(libdir)/libbfd.a
  404. # Install BFD include file, and others that it needs.  Install them
  405. # both in GCC's include directory, and in the system include dir
  406. # if configured as $(oldincludedir) -- which it usually isnt.
  407.     $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
  408.     $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
  409.     $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
  410.     -if test -z "$(oldincludedir)"; then true; else \
  411.     test -d $(oldincludedir) || mkdir $(oldincludedir); \
  412.     $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
  413.     $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
  414.     $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
  415.     $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
  416.     fi
  417.  
  418. Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
  419.     $(SHELL) config.status
  420.  
  421. # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
  422. .dep: dep.sed $(CFILES) $(HFILES) bfd.h
  423.     rm -f .dep1
  424.     $(MAKE) DEP=$(DEP) .dep1
  425.     sed -f dep.sed <.dep1 >.dep
  426.  
  427. # This rule really wants a mkdep that runs "gcc -MM".
  428. .dep1: $(CFILES)
  429.     rm -f .dep2
  430.     echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
  431.     $(DEP) -f .dep2 $(ALL_CFLAGS) $?
  432.     $(srcdir)/../move-if-change .dep2 .dep1
  433.  
  434. dep.sed: dep-in.sed config.status
  435.     sed <$(srcdir)/dep-in.sed >dep.sed    \
  436.         -e 's!@BFD_H@!$(BFD_H)!'    \
  437.         -e 's!@INCDIR@!$(INCDIR)!'    \
  438.         -e 's!@srcdir@!$(srcdir)!'
  439.  
  440. dep: .dep
  441.     sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
  442.     cat .dep >> tmp-Makefile
  443.     $(srcdir)/../move-if-change tmp-Makefile Makefile
  444.  
  445. dep-in: .dep
  446.     sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
  447.     cat .dep >> tmp-Makefile.in
  448.     $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
  449.  
  450. host-aout.o: Makefile
  451.  
  452. # The following program can be used to generate a simple config file
  453. # which can be folded into an h-XXX file for a new host, with some editing.
  454. aout-params.h: gen-aout
  455.     ./gen-aout > aout-params.h
  456. gen-aout: $(srcdir)/gen-aout.c Makefile
  457.     $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
  458.  
  459. BFDIN_H= $(srcdir)/bfd-in2.h
  460.  
  461. $(BFD_H): stmp-bfd.h ; @true
  462.  
  463. # The file ../include/bfd.h is from earlier attempts to get this right.
  464. # If the file is still there, kill it.
  465. stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
  466.     rm -f bfd.h-new 64 ../include/bfd.h
  467.     -grep HOST_64_BIT sysdep.h > 64
  468.     sed -e 's/@WORDSIZE@/$(WORDSIZE)/' -e '/64-bit.*sysdep.h/ r 64' < $(srcdir)/bfd-in2.h > bfd.h-new
  469.     $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
  470.     rm -f 64
  471.     touch stmp-bfd.h
  472.  
  473. # Could really use a "copy-if-change"...
  474. headers:
  475.     (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
  476.     cp $(docdir)/bfd.h bfd-in2.h-new
  477.     $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
  478.     cp $(docdir)/libbfd.h libbfd.h-new
  479.     $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
  480.     cp $(docdir)/libcoff.h libcoff.h-new
  481.     $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
  482.  
  483. bfd.info:
  484.     (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
  485.  
  486. bfd.dvi:
  487.     (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
  488.  
  489. bfd.ps: 
  490.     (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
  491.  
  492. # What appears below is generated by a hacked mkdep using gcc -MM.
  493.  
  494. # DO NOT DELETE THIS LINE -- mkdep uses it.
  495. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  496.  
  497. libbfd.o : libbfd.c
  498. opncls.o : opncls.c
  499. bfd.o : bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  500.   $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
  501.   libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  502.   $(INCDIR)/elf/external.h
  503. archive.o : archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
  504. targets.o : targets.c
  505. cache.o : cache.c
  506. archures.o : archures.c
  507. coff-i386.o : coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
  508.   libcoff.h coffcode.h coffswap.h
  509. aout64.o : aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
  510.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  511.   $(INCDIR)/aout/ar.h
  512. aout32.o : aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
  513.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  514.   $(INCDIR)/aout/ar.h
  515. sunos.o : sunos.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
  516.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  517.   $(INCDIR)/aout/ar.h aout-target.h
  518. demo64.o : demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \
  519.   libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  520.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
  521. coff-i960.o : coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
  522.   libcoff.h coffcode.h coffswap.h
  523. srec.o : srec.c
  524. tekhex.o : tekhex.c
  525. oasys.o : oasys.c $(INCDIR)/oasys.h liboasys.h
  526. ieee.o : ieee.c $(INCDIR)/ieee.h libieee.h
  527. ecoff.o : ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
  528.   $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
  529.   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
  530.   $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
  531. ecofflink.o : ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  532.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
  533. coff-m68k.o : coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
  534.   libcoff.h coffcode.h coffswap.h
  535. coff-u68k.o : coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
  536.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  537. coff-apollo.o : coff-apollo.c $(INCDIR)/coff/apollo.h \
  538.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  539. coff-a29k.o : coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
  540.   libcoff.h coffcode.h coffswap.h
  541. coff-rs6000.o : coff-rs6000.c $(INCDIR)/coff/internal.h \
  542.   $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h
  543. coff-sparc.o : coff-sparc.c $(INCDIR)/coff/sparc.h \
  544.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  545. coffgen.o : coffgen.c $(INCDIR)/coff/internal.h libcoff.h
  546. format.o : format.c
  547. section.o : section.c
  548. core.o : core.c
  549. syms.o : syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
  550. stab-syms.o : stab-syms.c libaout.h $(INCDIR)/aout/aout64.h \
  551.   $(INCDIR)/aout/stab.def
  552. reloc.o : reloc.c $(INCDIR)/bfdlink.h
  553. init.o : init.c
  554. ctor.o : ctor.c
  555. coff-m88k.o : coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
  556.   libcoff.h coffcode.h coffswap.h
  557. coff-mips.o : coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  558.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  559.   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
  560.   ecoffswap.h
  561. coff-sh.o : coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
  562.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  563. trad-core.o : trad-core.c libaout.h
  564. newsos3.o : newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  565.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  566.   aout-target.h
  567. i386aout.o : i386aout.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  568.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  569. i386linux.o : i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  570.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  571.   aout-target.h
  572. netbsd386.o : netbsd386.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  573.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  574. i386mach3.o : i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
  575.   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
  576.   aout-target.h
  577. bout.o : bout.c $(INCDIR)/bfdlink.h $(INCDIR)/bout.h \
  578.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
  579. aout-adobe.o : aout-adobe.c $(INCDIR)/aout/adobe.h \
  580.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
  581. coff-we32k.o : coff-we32k.c $(INCDIR)/coff/we32k.h \
  582.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  583. i386bsd.o : i386bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  584.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  585. cpu-h8300.o : cpu-h8300.c
  586. cpu-i960.o : cpu-i960.c
  587. cpu-sparc.o : cpu-sparc.c
  588. cpu-m68k.o : cpu-m68k.c
  589. cpu-m88k.o : cpu-m88k.c
  590. cpu-vax.o : cpu-vax.c
  591. cpu-mips.o : cpu-mips.c
  592. cpu-a29k.o : cpu-a29k.c
  593. cpu-i386.o : cpu-i386.c
  594. cpu-rs6000.o : cpu-rs6000.c
  595. coff-h8300.o : coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
  596.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  597. som.o : som.c
  598. cpu-hppa.o : cpu-hppa.c
  599. cpu-we32k.o : cpu-we32k.c
  600. reloc16.o : reloc16.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  601.   libcoff.h
  602. mipsbsd.o : mipsbsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  603.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  604. cpu-sh.o : cpu-sh.c
  605. elf.o : elf.c libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  606.   $(INCDIR)/elf/external.h
  607. elf32.o : elf32.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
  608.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
  609. elf32-sparc.o : elf32-sparc.c libelf.h $(INCDIR)/elf/common.h \
  610.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  611. elf32-i386.o : elf32-i386.c libelf.h $(INCDIR)/elf/common.h \
  612.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  613. elf32-i860.o : elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
  614.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  615. elf32-m68k.o : elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
  616.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  617. elf32-hppa.o : elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
  618.   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
  619.   elf32-hppa.h libhppa.h $(INCDIR)/aout/aout64.h hppa_stubs.h \
  620.   elf32-target.h
  621. elf32-m88k.o : elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
  622.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  623. elf32-mips.o : elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
  624.   libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
  625.   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
  626.   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
  627.   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
  628.   elf32-target.h
  629. elf32-gen.o : elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
  630.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
  631. elf64.o : elf64.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
  632.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
  633. elf64-gen.o : elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
  634.   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf64-target.h
  635. nlm.o : nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  636.   $(INCDIR)/nlm/external.h
  637. nlm32.o : nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
  638.   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
  639. nlm32-i386.o : nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
  640.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  641.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  642. nlm32-sparc.o : nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
  643.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  644.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  645. nlm32-alpha.o : nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
  646.   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
  647.   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
  648. nlm64.o : nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
  649.   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
  650. coff-alpha.o : coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
  651.   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
  652.   $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
  653.   ecoffswap.h
  654. cpu-alpha.o : cpu-alpha.c
  655. hp300bsd.o : hp300bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
  656.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
  657. hp300hpux.o : hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
  658.   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
  659.   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
  660.   aout-target.h
  661. i386lynx.o : i386lynx.c libaout.h $(INCDIR)/aout/aout64.h \
  662.   aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  663.   $(INCDIR)/aout/ar.h
  664. cf-i386lynx.o : cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
  665.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  666. m68klynx.o : m68klynx.c libaout.h $(INCDIR)/aout/aout64.h \
  667.   aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  668.   $(INCDIR)/aout/ar.h
  669. cf-m68klynx.o : cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
  670.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  671. sparclynx.o : sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
  672.   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
  673.   $(INCDIR)/aout/ar.h aout-target.h
  674. cf-sparclynx.o : cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
  675.   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
  676. aix386-core.o : aix386-core.c $(INCDIR)/coff/i386.h \
  677.   $(INCDIR)/coff/internal.h libcoff.h
  678. hpux-core.o : hpux-core.c
  679. irix-core.o : irix-core.c
  680. lynx-core.o : lynx-core.c
  681. osf-core.o : osf-core.c
  682. hash.o : hash.c
  683. linker.o : linker.c $(INCDIR)/bfdlink.h genlink.h
  684.  
  685. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  686.