#
## Copyright (C) 1989,1990,1991,1992 by
#	Wilfried Koch, Andreas Lampen, Axel Mahler, Juergen Nickelsen,
#	Wolfgang Obst and Ulrich Pralle 
# 
# This file is part of shapeTools.
#
# This software is published in the hope that it will be useful, but
# WITHOUT ANY WARRANTY for any part of this software to work correctly
# or as described in the manuals. See the ShapeTools Public License
# for details.
#
# Permission is granted to use, copy, modify, or distribute any part of
# this software but only under the conditions described in the ShapeTools 
# Public License. A copy of this license is supposed to have been given
# to you along with shapeTools in a file named LICENSE. Among other
# things, this copyright notice and the Public License must be
# preserved on all copies.

#
# shape_CM environment -- stdrules
#
# $Header: stdrules[1.6] Thu Feb 13 18:13:19 1992 andy@cs.tu-berlin.de accessed $
#
# Standard version selection rules to be activated by setting the
# "VERSIONS" macro in the Shapefile.
#

#% RULE-SECTION

most_recent:
	*, attr(state,busy),
	   msg(Using busy version of $+.);
	*, attrmax(version),
	   msg(Using last saved version of $+.).

last_proposed:
	*, attr(state,proposed), attrmax(version),
	   msg(Using last proposed version of $+.);
	$(INCLUDEPATH)/*.h, attr(state, busy),
	   msg(Using Unix include file $+);
	$(LIBPATH)/*.a, attr(state, busy),
	   msg(Using Unix archive file $+).

last_released:
	*, attr(__SymbolicName__, $(LASTNODERELEASE)),
	   msg(Using $+ from release $(LASTNODERELEASE));
	$(INCLUDEPATH)/*.h, attr(state, busy),
	   msg(Using Unix include file $+);
	$(LIBPATH)/*.a, attr(state, busy),
	   msg(Using Unix archive file $+).

last_prereleased:
	*, attr(__SymbolicName__, $(LASTNODEPRERELEASE)),
	   msg(Using $+ from release $(LASTNODEPRERELEASE));
	$(INCLUDEPATH)/*.h, attr(state, busy),
	   msg(Using Unix include file $+);
	$(LIBPATH)/*.a, attr(state, busy),
	   msg(Using Unix archive file $+).

recent_release:
	*, attr(__SymbolicName__, $(LASTRELEASE)),
	   msg(Using $+ from release $(LASTRELEASE));
	$(INCLUDEPATH)/*.h, attr(state, busy),
	   msg(Using Unix include file $+);
	$(LIBPATH)/*.a, attr(state, busy),
	   msg(Using Unix archive file $+).

from_release:
	*, attr(__SymbolicName__, $(RELEASENAME)),
	   msg(Using $+ from release $(RELEASENAME));
	$(INCLUDEPATH)/*.h, attr(state, busy),
	   msg(Using Unix include file $+);
	$(LIBPATH)/*.a, attr(state, busy),
	   msg(Using Unix archive file $+).

extern:
	*, attr(state, busy),
	   msg(Using regular file for $+).

#% END-RULE-SECTION
#
