# 
#  Picasso Toolkit
# 
#  Copyright (c) 1989 Regents of the University of California
#  
#  Permission to use, copy, modify, and distribute this software and its
#  documentation for any purpose and without fee is hereby granted,
#  provided that the above copyright notice appear in all copies and
#  that both that copyright notice and this permission notice appear in
#  supporting documentation, and that the name of the University of
#  California not be used in advertising or publicity pertaining to
#  distribution of the software without specific, written prior
#  permission.  The University of California makes no representations
#  about the suitability of this software for any purpose.  It is
#  provided "as is" without express or implied warranty.
#  

# Name of common lisp
CL = /usr/local/cl

LIBDIR = /usr/local/lib/cl/code

LISP-FILES = globals.cl macros.cl module.cl system.cl \
	     file.cl compile.cl load.cl parse.cl io.cl

FASL-FILES = globals.fasl macros.fasl module.fasl system.fasl \
	     file.fasl compile.fasl load.fasl parse.fasl io.fasl

default : compile move clean

move	:
	mv PDS.fasl $(LIBDIR)/pds.fasl

compile : PDS.fasl

PDS.fasl:	$(LISP-FILES)
	 echo '#+allegro' \
	      "(tpl:setq-default *redefinition-warnings* nil)" \
	      '(load "compile-pds")' \
	      '(excl:exit)' | $(CL) -qq
	 cat  $(FASL-FILES) > PDS.fasl

clean	: 
	/bin/rm -f $(FASL-FILES)
