diff options
author | K. Richard Pixley <rich@cygnus> | 1991-12-07 06:58:04 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-12-07 06:58:04 +0000 |
commit | a7571b1797b286d692170824831f75c33e0948c9 (patch) | |
tree | 064eae98d163c985b7826c721f6f99493ae3588a /bfd | |
parent | 29a2b7448cfacefb0f517abe838515cf007a3caf (diff) | |
download | gdb-a7571b1797b286d692170824831f75c33e0948c9.zip gdb-a7571b1797b286d692170824831f75c33e0948c9.tar.gz gdb-a7571b1797b286d692170824831f75c33e0948c9.tar.bz2 |
Fri Dec 6 22:57:12 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: added standards.text support, host/site/target
inclusion hooks, install using INSTALL_DATA rather than cp,
don't echo on install.
Thu Dec 5 22:46:17 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: idestdir and ddestdir go away. Added copyrights
and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
and mandir now keyed off datadir by default.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/doc/ChangeLog | 12 | ||||
-rw-r--r-- | bfd/doc/Makefile.in | 68 |
2 files changed, 69 insertions, 11 deletions
diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog new file mode 100644 index 0000000..cc63ca2 --- /dev/null +++ b/bfd/doc/ChangeLog @@ -0,0 +1,12 @@ +Fri Dec 6 22:57:12 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: added standards.text support, host/site/target + inclusion hooks, install using INSTALL_DATA rather than cp, + don't echo on install. + +Thu Dec 5 22:46:17 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: idestdir and ddestdir go away. Added copyrights + and shift gpl to v2. Added ChangeLog if it didn't exist. docdir + and mandir now keyed off datadir by default. + diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in index 849844a..9bcb0e3 100644 --- a/bfd/doc/Makefile.in +++ b/bfd/doc/Makefile.in @@ -1,11 +1,60 @@ +# +# Makefile +# Copyright (C) 1990, 1991 Cygnus Support +# +# This file 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 of the License, or +# (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +# + srcdir = . -ddestdir = /usr/local -idestdir = $(ddestdir) +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 = $(prefix)/info +includedir = $(prefix)/include +docdir = $(datadir)/doc + MKDOC=$(srcdir)/chew SHELL = /bin/sh +INSTALL = install -c +INSTALL_PROGRAM = $(INSTALL) +INSTALL_DATA = $(INSTALL) + +AR = ar +AR_FLAGS = qv +BISON = bison MAKEINFO = makeinfo +RANLIB = ranlib + +#### Host, target, and site specific Makefile fragments come in here. +### + +CFLAGS = $(H_CFLAGS) -I$(srcdir)/.. -I$(srcdir)/../../include # main GDB source directory @@ -51,20 +100,16 @@ STAGESTUFF = $(DOCFILES) *.info* all install: -all-info: bfd.info +info: bfd.info -install-info: all-info +install-info: info for i in *.info* ; do \ - echo Installing $$i... ; \ - (cp $$i $(idestdir)/info/$$i.new \ - && mv -f $(idestdir)/info/$$i.new $(idestdir)/info/$$i) \ - || exit 1 ; \ + $(INSTALL_DATA) $$i $(infodir)/$$i ; \ done docs: chew protos bfd.info bfd.dvi bfd.ps -chew:chew.c - gcc -o chew -I$(srcdir)/.. -I$(srcdir)/../../include chew.c +chew: chew.c protos: libbfd.h libcoff.h bfd.h @@ -172,7 +217,8 @@ bfd.h: $(srcdir)/../bfd-in.h \ $(MKDOC) -g<$(srcdir)/../archive.c >>bfd.h $(MKDOC) -g<$(srcdir)/../core.c >>bfd.h $(MKDOC) -g<$(srcdir)/../targets.c >>bfd.h - $(MKDOC) -g<$(srcdir)/../format.c >>bfd.h + $(MKDOC) -g<$(srcdir)/../format.c >>bfd.h + echo "#endif" >>bfd.h clean: |