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 / doc / Makefile < prev   
Encoding:
Makefile  |  1994-02-22  |  10.2 KB  |  329 lines

  1. # This file was generated automatically by configure.  Do not edit.
  2. VPATH = /ISO/gdb/gdb-4.12-amiga/bfd/doc
  3. links = 
  4. host_alias = amigados
  5. host_cpu = m68k
  6. host_vendor = cbm
  7. host_os = amigados
  8. host_canonical = m68k-cbm-amigados
  9. target_alias = amigados
  10. target_cpu = m68k
  11. target_vendor = cbm
  12. target_os = amigados
  13. target_canonical = m68k-cbm-amigados
  14. #
  15. # Makefile
  16. #   Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation
  17. #
  18. # This file is free software; you can redistribute it and/or modify
  19. # it under the terms of the GNU General Public License as published by
  20. # the Free Software Foundation; either version 2 of the License, or
  21. # (at your option) any later version.
  22. # This program is distributed in the hope that it will be useful,
  23. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  25. # GNU General Public License for more details.
  26. # You should have received a copy of the GNU General Public License
  27. # along with this program; if not, write to the Free Software
  28. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  29. #
  30.  
  31. srcdir = /ISO/gdb/gdb-4.12-amiga/bfd/doc
  32.  
  33. prefix = /gnu
  34.  
  35. exec_prefix = $(prefix)
  36. bindir = $(exec_prefix)/bin
  37. libdir = $(exec_prefix)/lib
  38.  
  39. datadir = $(prefix)/lib
  40. mandir = $(prefix)/man
  41. man1dir = $(mandir)/man1
  42. man2dir = $(mandir)/man2
  43. man3dir = $(mandir)/man3
  44. man4dir = $(mandir)/man4
  45. man5dir = $(mandir)/man5
  46. man6dir = $(mandir)/man6
  47. man7dir = $(mandir)/man7
  48. man8dir = $(mandir)/man8
  49. man9dir = $(mandir)/man9
  50. infodir = $(prefix)/info
  51. includedir = $(prefix)/include
  52. docdir = $(datadir)/doc
  53.  
  54. MKDOC=./chew
  55. SHELL = /bin/sh
  56.  
  57. INSTALL = install -c
  58. INSTALL_PROGRAM = $(INSTALL)
  59. INSTALL_DATA = $(INSTALL)
  60.  
  61. AR = ar
  62. AR_FLAGS = qv
  63. BISON = bison
  64. MAKEINFO = makeinfo
  65. TEXI2DVI = texi2dvi
  66. RANLIB = ranlib
  67. CFLAGS = -g
  68.  
  69. CC_FOR_BUILD = $(CC)
  70.  
  71. #### Host, target, and site specific Makefile fragments come in here.
  72. ###
  73.  
  74. .c.o:
  75.     $(CC) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include $(H_CFLAGS) $(CFLAGS) $<
  76.  
  77. # main GDB source directory
  78.  
  79. DOCFILES = aoutx.texi  archive.texi archures.texi \
  80.     bfd.texi  cache.texi coffcode.texi \
  81.     core.texi elf.texi elfcode.texi  format.texi  libbfd.texi  \
  82.     opncls.texi  reloc.texi  section.texi  \
  83.     syms.texi  targets.texi init.texi ctor.texi hash.texi linker.texi
  84.  
  85. PROTOS = archive.p archures.p bfd.p \
  86.      core.p format.p \
  87.     libbfd.p opncls.p reloc.p \
  88.     section.p syms.p targets.p  \
  89.     format.p  core.p init.p
  90.  
  91. IPROTOS = cache.ip libbfd.ip reloc.ip init.ip archures.ip ctor.ip coffcode.ip
  92.  
  93. # SRCDOC, SRCPROT, SRCIPROT only used to sidestep Sun Make bug in interaction 
  94. # between VPATH and suffix rules.  If you use GNU Make, perhaps other Makes,
  95. # you don't need these three:
  96. SRCDOC = $(srcdir)/../aoutx.h  $(srcdir)/../archive.c \
  97.     $(srcdir)/../archures.c $(srcdir)/../bfd.c \
  98.     $(srcdir)/../cache.c $(srcdir)/../coffcode.h \
  99.     $(srcdir)/../core.c $(srcdir)/../elf.c \
  100.     $(srcdir)/../elfcode.h  $(srcdir)/../format.c \
  101.     $(srcdir)/../libbfd.c $(srcdir)/../opncls.c \
  102.     $(srcdir)/../reloc.c  $(srcdir)/../section.c \
  103.     $(srcdir)/../syms.c  $(srcdir)/../targets.c \
  104.     $(srcdir)/../hash.c $(srcdir)/../linker.c
  105.  
  106. SRCPROT = $(srcdir)/../archive.c $(srcdir)/../archures.c \
  107.     $(srcdir)/../bfd.c $(srcdir)/../coffcode.h $(srcdir)/../core.c \
  108.     $(srcdir)/../format.c $(srcdir)/../libbfd.c \
  109.     $(srcdir)/../opncls.c $(srcdir)/../reloc.c \
  110.     $(srcdir)/../section.c $(srcdir)/../syms.c \
  111.     $(srcdir)/../targets.c $(srcdir)/../init.c
  112.  
  113. SRCIPROT = $(srcdir)/../cache.c $(srcdir)/../libbfd.c \
  114.     $(srcdir)/../reloc.c $(srcdir)/../cpu-h8300.c \
  115.     $(srcdir)/../cpu-i960.c $(srcdir)/../archures.c \
  116.     $(srcdir)/../init.c $(srcdir)/../ctor.c
  117.  
  118. STAGESTUFF = $(DOCFILES) *.info*
  119.  
  120. TEXIDIR = $(srcdir)/../../texinfo/fsf
  121.  
  122. all install:
  123.  
  124. info: bfd.info
  125.  
  126. dvi: bfd.dvi
  127.  
  128. install-info: info
  129.     for i in *.info* ; do \
  130.         $(INSTALL_DATA) $$i $(infodir)/$$i ; \
  131.     done
  132.  
  133. docs: $(MKDOC) protos bfd.info bfd.dvi bfd.ps
  134.  
  135. $(MKDOC): chew.o
  136.     $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(LOADLIBES) $(LDFLAGS)
  137.  
  138. chew.o: chew.c
  139.     $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include $(H_CFLAGS) $(CFLAGS) $(srcdir)/chew.c
  140.  
  141. protos: libbfd.h libcoff.h bfd.h
  142.  
  143.  
  144. # We can't replace these rules with an implicit rule, because
  145. # makes without VPATH support couldn't find the .h files in `..'.
  146.  
  147. aoutx.texi: $(MKDOC) $(srcdir)/../aoutx.h $(srcdir)/doc.str
  148.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../aoutx.h >aoutx.texi
  149.  
  150. archive.texi: $(MKDOC) $(srcdir)/../archive.c $(srcdir)/doc.str
  151.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../archive.c >archive.texi 
  152.  
  153. archures.texi: $(MKDOC) $(srcdir)/../archures.c $(srcdir)/doc.str
  154.     $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../archures.c >archures.texi 
  155.  
  156. bfd.texi: $(MKDOC) $(srcdir)/../bfd.c $(srcdir)/doc.str
  157.     $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../bfd.c >bfd.texi
  158.  
  159. cache.texi: $(MKDOC) $(srcdir)/../cache.c $(srcdir)/doc.str
  160.     $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../cache.c >cache.texi
  161.  
  162. coffcode.texi:    $(MKDOC) $(srcdir)/../coffcode.h $(srcdir)/doc.str
  163.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../coffcode.h >coffcode.texi
  164.  
  165. core.texi: $(MKDOC) $(srcdir)/../core.c $(srcdir)/doc.str
  166.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../core.c >core.texi
  167.  
  168. elf.texi: $(MKDOC) $(srcdir)/../elf.c $(srcdir)/doc.str
  169.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elf.c >elf.texi
  170.  
  171. elfcode.texi: $(MKDOC) $(srcdir)/../elfcode.h $(srcdir)/doc.str
  172.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../elfcode.h >elfcode.texi
  173.  
  174. format.texi: $(MKDOC) $(srcdir)/../format.c $(srcdir)/doc.str
  175.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../format.c >format.texi
  176.  
  177. libbfd.texi: $(MKDOC) $(srcdir)/../libbfd.c $(srcdir)/doc.str
  178.     $(MKDOC) -f $(srcdir)/doc.str < $(srcdir)/../libbfd.c >libbfd.texi 
  179.  
  180. opncls.texi: $(MKDOC) $(srcdir)/../opncls.c $(srcdir)/doc.str
  181.     $(MKDOC) -f $(srcdir)/doc.str  <$(srcdir)/../opncls.c >opncls.texi
  182.  
  183. reloc.texi : $(MKDOC) $(srcdir)/../reloc.c
  184.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../reloc.c >reloc.texi 
  185.  
  186. section.texi: $(MKDOC) $(srcdir)/../section.c $(srcdir)/doc.str
  187.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../section.c >section.texi 
  188.  
  189. syms.texi : $(MKDOC) $(srcdir)/../syms.c
  190.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../syms.c >syms.texi
  191.  
  192. targets.texi: $(MKDOC) $(srcdir)/../targets.c $(srcdir)/doc.str
  193.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../targets.c >targets.texi
  194.  
  195. init.texi: $(MKDOC) $(srcdir)/../init.c $(srcdir)/doc.str
  196.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../init.c >init.texi
  197.  
  198. ctor.texi: $(MKDOC) $(srcdir)/../ctor.c $(srcdir)/doc.str
  199.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../ctor.c >ctor.texi
  200.  
  201. hash.texi: $(MKDOC) $(srcdir)/../hash.c $(srcdir)/doc.str
  202.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../hash.c >hash.texi
  203.  
  204. linker.texi: $(MKDOC) $(srcdir)/../linker.c $(srcdir)/doc.str
  205.     $(MKDOC) -f $(srcdir)/doc.str <$(srcdir)/../linker.c >linker.texi
  206.  
  207. libbfd.h: $(srcdir)/../libbfd-in.h    \
  208.     $(srcdir)/../init.c        \
  209.     $(srcdir)/../libbfd.c        \
  210.     $(srcdir)/../cache.c        \
  211.     $(srcdir)/../ctor.c        \
  212.     $(srcdir)/../reloc.c        \
  213.     $(srcdir)/../cpu-h8300.c    \
  214.     $(srcdir)/../cpu-i960.c        \
  215.     $(srcdir)/../archures.c        \
  216.     $(srcdir)/../elfcode.h        \
  217.     $(MKDOC)
  218.     cat $(srcdir)/../libbfd-in.h >libbfd.h 
  219.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../init.c >>libbfd.h
  220.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../libbfd.c >>libbfd.h
  221.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cache.c >>libbfd.h
  222.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../ctor.c >>libbfd.h
  223.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../reloc.c >>libbfd.h
  224.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cpu-h8300.c >>libbfd.h
  225.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../cpu-i960.c >>libbfd.h
  226.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../archures.c >>libbfd.h
  227.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../elf.c >>libbfd.h
  228.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../elfcode.h >>libbfd.h
  229.  
  230. libcoff.h: $(srcdir)/../libcoff-in.h    \
  231.     $(srcdir)/../coffcode.h \
  232.     $(MKDOC)
  233.     cat $(srcdir)/../libcoff-in.h >libcoff.h
  234.     $(MKDOC) -i -f $(srcdir)/proto.str  < $(srcdir)/../coffcode.h >>libcoff.h
  235.  
  236. bfd.h: $(srcdir)/../bfd-in.h         \
  237.     $(srcdir)/../init.c         \
  238.     $(srcdir)/../opncls.c         \
  239.     $(srcdir)/../libbfd.c         \
  240.     $(srcdir)/../section.c         \
  241.     $(srcdir)/../archures.c        \
  242.     $(srcdir)/../reloc.c        \
  243.     $(srcdir)/../syms.c        \
  244.     $(srcdir)/../bfd.c        \
  245.     $(srcdir)/../archive.c        \
  246.     $(srcdir)/../core.c        \
  247.     $(srcdir)/../targets.c        \
  248.     $(srcdir)/../format.c        \
  249.     $(MKDOC)
  250.     cat $(srcdir)/../bfd-in.h >bfd.h
  251.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../init.c >>bfd.h
  252.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../opncls.c >>bfd.h
  253.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../libbfd.c >>bfd.h
  254.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../section.c >>bfd.h
  255.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archures.c >>bfd.h
  256.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../reloc.c >>bfd.h
  257.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../syms.c >>bfd.h
  258.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../bfd.c >>bfd.h
  259.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../archive.c >>bfd.h
  260.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../core.c >>bfd.h
  261.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../targets.c >>bfd.h
  262.     $(MKDOC) -f $(srcdir)/proto.str<$(srcdir)/../format.c >>bfd.h    
  263.     echo "#endif" >>bfd.h
  264.  
  265.  
  266. clean-info: clean
  267.  
  268. mostlyclean:
  269.     rm -rf *.log *.ps *~* *.dvi *# $(MKDOC) *.o
  270.  
  271. clean: mostlyclean
  272.     rm -rf $(STAGESTUFF)
  273.     rm -f *.p *.ip  bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log 
  274.  
  275. distclean: clean
  276.     rm -f Makefile config.status
  277.  
  278. realclean: clean
  279.     rm -f Makefile config.status
  280.  
  281. bfd.info: $(DOCFILES) bfdsumm.texi bfd.texinfo
  282.     $(MAKEINFO) -I$(srcdir) -o bfd.info $(srcdir)/bfd.texinfo
  283.  
  284. bfd.dvi: $(DOCFILES) bfdsumm.texi bfd.texinfo
  285.     $(TEXI2DVI) $(srcdir)/bfd.texinfo
  286.  
  287. bfd.ps: bfd.dvi
  288.     dvips bfd -o
  289.  
  290. quickdoc: $(DOCFILES) bfdsumm.texi bfd.texinfo
  291.     TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
  292.  
  293. stage1: force
  294.     - mkdir stage1
  295.     - mv -f $(STAGESTUFF) stage1
  296.  
  297. stage2: force
  298.     - mkdir stage2
  299.     - mv -f $(STAGESTUFF) stage2
  300.  
  301. stage3: force
  302.     - mkdir stage3
  303.     - mv -f $(STAGESTUFF) stage3
  304.  
  305. against=stage2
  306.  
  307. comparison: force
  308.     for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i || exit 1 ; done
  309.  
  310. de-stage1: force
  311.     - (cd stage1 ; mv -f $(STAGESTUFF) ..)
  312.     - rmdir stage1
  313.  
  314. de-stage2: force
  315.     - (cd stage2 ; mv -f $(STAGESTUFF) ..)
  316.     - rmdir stage2
  317.  
  318. de-stage3: force
  319.     - (cd stage3 ; mv -f $(STAGESTUFF) ..)
  320.     - rmdir stage3
  321.  
  322. force:
  323.  
  324. Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  325.     $(SHELL) ./config.status
  326.  
  327.