From 6e2c62a3ed1ab7f5a09775fd6af10a1f1d23320c Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sun, 28 Apr 2002 02:20:13 +0000 Subject: [PATCH] r1806: *** empty log message *** --- Makefile | 32 ++++++++++++++++++++++---------- Makefile.common | 4 ++-- doc/Makefile | 9 +++++---- doc/ref.sgml | 2 +- examples/Makefile | 8 +++++++- tests/Makefile | 8 +++++++- 6 files changed, 44 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile index 73a4967..1845c53 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # Programer: Kevin M. Rosenberg, M.D. # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.39 2002/04/07 09:26:17 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.40 2002/04/28 02:20:13 kevin Exp $ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -13,20 +13,20 @@ # as governed by the terms of the Lisp Lesser GNU Public License # (http://opensource.franz.com/preamble.html), also known as the LLGPL. -PKG=uffi +PKG:=uffi +SUBDIRS:= examples src +DOCSUBDIRS:=doc -.PHONY: all clean realclean tagcvs dist wwwdist +include Makefile.common + +.PHONY: all all: -clean: - @rm -f $(PKG)-*.tar.gz $(PKG)-*.zip - @find . -type d -name .bin |xargs rm -rf - @find . -type f -name \*.a -or -name \*.so |xargs rm -rf - @find . -type f -name "#*" -or -name \*~ -exec rm {} \; +.PHONY: distclean distclean: clean - + ./debian/rules clean VERSION=$(shell cat VERSION) @@ -39,10 +39,12 @@ SOURCE_FILES=src doc examples Makefile uffi.system COPYRIGHT README TODO \ VERSION_UNDERSCORE=$(shell cat VERSION | tr . _) TAG=dist_$(VERSION_UNDERSCORE) +.PHONY: tagcvs tagcvs: @cvs -q rtag -d $(TAG) $(PKG) > /dev/null @cvs -q tag -F $(TAG) > /dev/null +.PHONY: dist dist: distclean $(MAKE) -C doc $@ @rm -rf $(DISTDIR) $(DIST_TARBALL) $(DIST_ZIP) @@ -58,9 +60,19 @@ dist: distclean -name \*.system -or -name Makefile -or -name ChangeLog -or \ -name COPYRIGHT -or -name TODO -or -name README -or -name INSTALL \ -or -name NEWS -or -name \*.sgml -or -name COPYING\* -or -name catalog \ - | xargs unix2dos -q + | xargs unix2dos @zip -rq $(DIST_ZIP) $(DISTDIR) @rm -r $(DISTDIR) +.PHONY: wwwdist wwwdist: dist @./copy + + +.PHONY: freeze +freeze: + @echo tagging with frozen tag + cvs -q rtag -d frozen uffi + cvs -q tag -F frozen . + + diff --git a/Makefile.common b/Makefile.common index 5f5413e..c496a02 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,11 +1,11 @@ -.PHONY: all clean all: + @echo "nothing to do" .PHONY: clean clean: rm -rf .bin rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl *.err - rm -f *~ *.bak *.orig .#* + rm -f *~ *.bak *.orig "#*" .#* rm -f *.so *.a ifneq ($(SUBDIRS)$(DOCSUBDIRS),) set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do \ diff --git a/doc/Makefile b/doc/Makefile index f49d1f0..57f6173 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -5,7 +5,7 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.13 2002/04/23 21:30:27 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.14 2002/04/28 02:20:13 kevin Exp $ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -90,12 +90,13 @@ ps: ${PSFILE} ${PSFILE}: ${DVIFILE} dvips -o ${PSFILE} ${DVIFILE} -clean: +clean: @rm -rf html + @rm -f *~ *.bak *.orig "#*" @rm -f ${PSFILE} ${PDFFILE} ${DVIFILE} ${TEXFILE} @rm -f ${TMPFILES} -realclean: clean - @rm -f *~ +distclean: clean + diff --git a/doc/ref.sgml b/doc/ref.sgml index d8d70c0..7c103ab 100644 --- a/doc/ref.sgml +++ b/doc/ref.sgml @@ -884,7 +884,7 @@ can be freed. size - An optional size parameter. If specified, allocates and returns an + An optional size parameter that is evaluated. If specified, allocates and returns an array of type that is size members long. This parameter is evaluated. diff --git a/examples/Makefile b/examples/Makefile index 353a9aa..e4dcb26 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -5,7 +5,7 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.12 2002/04/03 17:52:53 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.13 2002/04/28 02:20:13 kevin Exp $ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -13,6 +13,12 @@ # as governed by the terms of the Lisp Lesser GNU Public License # (http://opensource.franz.com/preamble.html), also known as the LLGPL. +SUBDIRS:= + +include ../Makefile.common + +.PHONY: distclean +distclean: clean # GCC Section CC=gcc diff --git a/tests/Makefile b/tests/Makefile index 353a9aa..e4dcb26 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -5,7 +5,7 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.12 2002/04/03 17:52:53 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.13 2002/04/28 02:20:13 kevin Exp $ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -13,6 +13,12 @@ # as governed by the terms of the Lisp Lesser GNU Public License # (http://opensource.franz.com/preamble.html), also known as the LLGPL. +SUBDIRS:= + +include ../Makefile.common + +.PHONY: distclean +distclean: clean # GCC Section CC=gcc -- 2.34.1