Fri Dec 6 22:57:12 1991 K. Richard Pixley (rich at rtl.cygnus.com)
authorK. Richard Pixley <rich@cygnus>
Sat, 7 Dec 1991 06:58:04 +0000 (06:58 +0000)
committerK. Richard Pixley <rich@cygnus>
Sat, 7 Dec 1991 06:58:04 +0000 (06:58 +0000)
* 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.

bfd/doc/ChangeLog [new file with mode: 0644]
bfd/doc/Makefile.in

diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog
new file mode 100644 (file)
index 0000000..cc63ca2
--- /dev/null
@@ -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.
+
index 849844acf76c0fd889e028e1e07146f44f560e3b..9bcb0e3b60e0475244f3b61b434e35a7bfc73cb3 100644 (file)
@@ -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:
This page took 0.027465 seconds and 4 git commands to generate.