# 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
#
# 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)
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)
-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 .
+
+
-.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 \
# 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
#
${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
+
<varlistentry>
<term><parameter>size</parameter></term>
<listitem>
- <para>An optional size parameter. If specified, allocates and returns an
+ <para>An optional size parameter that is evaluated. If specified, allocates and returns an
array of <parameter>type</parameter> that is <parameter>size</parameter> members long. This parameter is evaluated.
</para>
</listitem>
# 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
#
# 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
# 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
#
# 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