#
#  Makefile for ASTL-0.4
#
#######################################################################
#        Copyright (c) 1993  Alan W Black (awb@ed.ac.uk)
#
# This file is part of an implementation of ASTL a computational
# situation theoretic language.  This implementation of ASTL 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 1, or (at your option) any
# later version.
#
# ASTL is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY.  No author or distributor accepts
# responsibility to anyone for the consequences of using it or for
# whether it serves any particular purpose or works at all, unless
# he says so in writing.  Refer to the GNU Genral Public License for
# full details.
#
# Everyone is granted permission to copy, modify and redistribute
# this file, but only under the conditions described in the
# GNU General Public License.   A copy of this license is
# supposed to have been given to you along with this program so you
# can know your rights and responsibilities.  It should be in a
# file named COPYING.  Among other things, the copyright notice
# and this notice must be preserved on all copies.
#
# The author gratefully acknowledges financial support for the
# research this implementation is based on from an SERC studnetship
# (number 89313458) and Esprit Basic Research Action Project 6852
# (DYANA-2).
#
#######################################################################
#

SYSNAME = astl
VERSION = 0.4
NAME = $(SYSNAME)-$(VERSION)
DATE = `date | awk '{print $$3 $$2 $$6}'`

SRCS =     astl.lsp prules.lisp stparse.lisp \
           si-chart.lisp si-match.lisp ekn.lisp \
           scp-debug.lisp
EXAMPLES = cons1.st cons2.st cons3.st cons4.st cons5.st \
           gram.st rooth.st \
           stg1.st stg2.st stg3.st stg4.st \
           thread.st drt1.st drt2.st drt3.st drt4.st \
           dpl.st dpl-nl.st 
THEXAMPLES = th-stg.st th-drt.st th-tdrt.st th-drt+.st th-rooth.st \
             th-dpl.st th-dpl-nl.st th-sdrt.st
OTHEREX = abs.st 
OTHERS = Makefile astl-mode.el BUGS README DEMO COPYING
FILES = $(SRCS) $(EXAMPLES) $(THEXAMPLES) $(OTHERS) $(OTHEREX)

backup:
	rm -f .ttt-files
	for i in $(FILES); \
	do \
	   echo $(NAME)/$$i >>.ttt-files ;\
	done
	(cd ..; tar cvf $(NAME)/$(NAME).tar `cat $(NAME)/.ttt-files`)
	compress $(NAME).tar
	rm -f .ttt-files
	ls -al $(SYSNAME)-$(VERSION).tar.Z




