doc. bring it in, use it.
authorK. Richard Pixley <rich@cygnus>
Fri, 21 Feb 1992 09:05:26 +0000 (09:05 +0000)
committerK. Richard Pixley <rich@cygnus>
Fri, 21 Feb 1992 09:05:26 +0000 (09:05 +0000)
gas/Makefile.in
gas/configure.in
gas/doc/Makefile.in [new file with mode: 0644]

index a732558..139d540 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for GNU Assembler
-#   Copyright (C) 1987, 1988, 1990, 1991 Free Software Foundation, Inc.
+#   Copyright (C) 1987-1992 Free Software Foundation, Inc.
 
 #This file is part of GNU GAS.
 
@@ -161,8 +161,16 @@ OBJS = \
 #### host, target, and site specific Makefile frags come in here.
 
 all: as.new
+       (cd doc ; $(MAKE) all)
+
 info:
+       (cd doc ; $(MAKE) info)
+
 install-info:
+       (cd doc ; $(MAKE) install-info)
+
+clean-info:
+       (cd doc ; $(MAKE) clean-info)
 
 # Now figure out from those variables how to compile and link.
 
@@ -301,6 +309,7 @@ $(srcdir)/as.info: $(srcdir)/doc/as.texinfo
        (cd doc; make as.info; mv as.info $srcdir)      
 
 clean:
+       (cd doc ; $(MAKE) clean)
        -rm -f $(STAGESTUFF) core
 
 # Like clean but also delete the links made to configure gas.
index 485653d..a7beaaf 100644 (file)
@@ -1,3 +1,24 @@
+# This file is configure.inj
+#
+#   Copyright (C) 1987-1992 Free Software Foundation, Inc.
+#   
+#  This file is part of GAS, the GNU Assembler.
+#   
+#   GAS is free software; you can redistribute it and/or modify
+#   it under the terms of the GNU General Public License as published by
+#   the Free Software Foundation; either version 2, or (at your option)
+#   any later version.
+#   
+#   GAS is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#   GNU General Public License for more details.
+#   
+#   You should have received a copy of the GNU General Public License
+#   along with GAS; see the file COPYING.  If not, write to
+#   the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+#
+
 # This file is a shell script that supplies the information necessary
 # to tailor a template configure script into the configure script
 # appropriate for this directory.  For more information, check any
@@ -5,9 +26,8 @@
 
 srctrigger=as.c
 srcname="gas"
-targetdependent=true
 need_bfd=
-target_dependent=true
+configdirs=doc
 
 # per-host:
 
@@ -109,8 +129,9 @@ esac
 
 # assign floating point type
 case ${target_cpu} in
-vax) atof=vax ;;
-*) atof=ieee ;;
+ns32k) atof=ns32k ;;
+vax)   atof=vax ;;
+*)     atof=ieee ;;
 esac
 
 # and target makefile frag
diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in
new file mode 100644 (file)
index 0000000..17be946
--- /dev/null
@@ -0,0 +1,171 @@
+# Makefile for GNU Assembler documentation
+#  - see pretex.m4 for discussion of preprocessor definitions
+#   Copyright (C) 1987-1992 Free Software Foundation, Inc.
+
+#This file is part of GNU GAS.
+
+#GNU GAS is free software; you can redistribute it and/or modify
+#it under the terms of the GNU General Public License as published by
+#the Free Software Foundation; either version 2, or (at your option)
+#any later version.
+
+#GNU GAS is distributed in the hope that it will be useful,
+#but WITHOUT ANY WARRANTY; without even the implied warranty of
+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#GNU General Public License for more details.
+
+#You should have received a copy of the GNU General Public License
+#along with GNU GAS; see the file COPYING.  If not, write to
+#the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+
+# The targets for external use include:
+# all, doc, proto, install, uninstall, includes, TAGS,
+# clean, cleanconfig, realclean, stage1, stage2, stage3, stage4.
+
+# Variables that exist for you to override.
+# See below for how to change them for certain systems.
+
+srcdir = .
+
+prefix = /usr/local
+
+bindir = $(prefix)/bin
+datadir = $(prefix)/lib
+libdir = $(prefix)/lib
+mandir = $(datadir)/man
+man1dir = $(mandir)/man1
+man2dir = $(mandir)/man2
+man3dir = $(mandir)/man3
+man4dir = $(mandir)/man4
+man5dir = $(mandir)/man5
+man6dir = $(mandir)/man6
+man7dir = $(mandir)/man7
+man8dir = $(mandir)/man8
+man9dir = $(mandir)/man9
+infodir = $(datadir)/info
+includedir = $(prefix)/include
+docdir = $(datadir)/doc
+
+SHELL = /bin/sh
+
+INSTALL = install -c
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL)
+
+AR = ar
+AR_FLAGS = qv
+BISON = bison
+MAKEINFO = makeinfo
+RANLIB = ranlib
+
+# What version of the manual you want (see *.m4); "all" includes everything
+CONFIG=all
+
+# Sun/Berkeley m4 doesn't have all the things we need; use GNU or sV
+M4=gm4
+#M4=/usr/5bin/m4
+
+# Directory for gas source
+srcdir=..
+
+# Where to find texinfo.tex to format docn with TeX
+TEXIDIR = $(srcdir)/../texinfo/fsf
+
+#### host, target, and site specific Makefile frags come in here.
+##
+
+all:
+clean:
+install:
+
+info: as.info
+
+as.info: as-${CONFIG}.texinfo
+       makeinfo -o as.info as-${CONFIG}.texinfo
+
+install-info: as.info
+       [ -d $(infodir) ] || mkdir $(infodir)
+       for i in as.info* ; do \
+               $(INSTALL_DATA) $$i $(infodir)/$$i ; \
+       done
+
+as.dvi:        as-${CONFIG}.texinfo
+       TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex as-${CONFIG}.texinfo
+       texindex as-${CONFIG}.??
+       TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex as-${CONFIG}.texinfo
+       mv as-${CONFIG}.dvi as.dvi
+       rm as-${CONFIG}.?? as-${CONFIG}.???
+
+# ROFF doc targets as.ms, as.mm, as.me
+# (we don't use a variable because we don't trust all makes to handle
+# a var in the target name right).
+# roff output (-ms)
+as.ms: as-${CONFIG}.texinfo
+       sed -e '/\\input texinfo/d' \
+               -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
+               -e 's/{.*,,/{/' \
+               as-${CONFIG}.texinfo | \
+       texi2roff -ms >as.ms 
+
+# roff output (-mm)
+as.mm: as-${CONFIG}.texinfo
+       sed -e '/\\input texinfo/d' \
+               -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
+               -e 's/{.*,,/{/' \
+               -e '/@noindent/d' \
+               as-${CONFIG}.texinfo | \
+       texi2roff -mm | \
+       sed -e 's/---/\\(em/g' \
+       >as.mm 
+
+# roff output (-me)
+as.me: as-${CONFIG}.texinfo
+       sed -e '/\\input texinfo/d' \
+               -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \
+               -e 's/{.*,,/{/' \
+               as-${CONFIG}.texinfo | \
+       texi2roff -me >as.me 
+
+
+
+as-all.texinfo: as.texinfo pretex.m4 none.m4 all.m4
+       ${M4} $(srcdir)/pretex.m4 $(srcdir)/none.m4 $(srcdir)/all.m4 $(srcdir)/as.texinfo >as-all.texinfo
+
+as-a29k.texinfo: as.texinfo pretex.m4 none.m4 a29k.m4
+       ${M4} pretex.m4 none.m4 a29k.m4 as.texinfo >as-a29k.texinfo
+
+as-a29k-coff.texinfo: as.texinfo pretex.m4 none.m4 a29k-coff.m4
+       ${M4} pretex.m4 none.m4 a29k-coff.m4 as.texinfo >as-a29k-coff.texinfo
+
+as-gen.texinfo: as.texinfo pretex.m4 none.m4 gen.m4
+       ${M4} pretex.m4 none.m4 gen.m4 as.texinfo >as-gen.texinfo
+
+as-h8.texinfo: as.texinfo pretex.m4 none.m4 h8.m4
+       ${M4} pretex.m4 none.m4 h8.m4 as.texinfo >as-h8.texinfo
+
+as-i80386.texinfo: as.texinfo pretex.m4 none.m4 i80386.m4
+       ${M4} pretex.m4 none.m4 i80386.m4 as.texinfo >as-i80386.texinfo
+
+as-i960.texinfo: as.texinfo pretex.m4 none.m4 i960.m4
+       ${M4} pretex.m4 none.m4 i960.m4 as.texinfo >as-i960.texinfo
+
+as-m680x0.texinfo: as.texinfo pretex.m4 none.m4 m680x0.m4
+       ${M4} pretex.m4 none.m4 m680x0.m4 as.texinfo >as-m680x0.texinfo
+
+as-sparc.texinfo: as.texinfo pretex.m4 none.m4 sparc.m4
+       ${M4} pretex.m4 none.m4 sparc.m4 as.texinfo >as-sparc.texinfo
+
+as-vax.texinfo: as.texinfo pretex.m4 none.m4 vax.m4
+       ${M4} pretex.m4 none.m4 vax.m4 as.texinfo >as-vax.texinfo
+
+as-vintage.texinfo: as.texinfo pretex.m4 none.m4 vintage.m4
+       ${M4} pretex.m4 none.m4 vintage.m4 as.texinfo >as-vintage.texinfo
+
+clean-info:
+       rm -f as-${CONFIG}.* as.dvi as.info*
+
+force:
+
+Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
+       $(SHELL) ./config.status
+