# Makefile for ~miro/src/bin/ipql
#
#/*****************************************************************************
#                Copyright Carnegie Mellon University 1992
#
#                      All Rights Reserved
#
# 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 CMU not be
# used in advertising or publicity pertaining to distribution of the
# software without specific, written prior permission.
#
# CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
# ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
# CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
# ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
#*****************************************************************************/
#

include $(TOPLEVEL)/Makefile.include

SOURCE = boxtype.cl func-ops.cl hds.cl ipql.cl iter.cl objs.cl

FASL =	$(OBJECT_DIR)/boxtype.fasl $(OBJECT_DIR)/func-ops.fasl \
	$(OBJECT_DIR)/hds.fasl $(OBJECT_DIR)/ipql.fasl \
	$(OBJECT_DIR)/iter.fasl $(OBJECT_DIR)/objs.fasl \
	$(OBJECT_DIR)/constraints.fasl

all: $(FASL)

$(OBJECT_DIR)/boxtype.fasl: boxtype.cl
	echo '(load "ipql.cl") (compile-file "boxtype.cl" :output-file \
				"$(OBJECT_DIR)/boxtype.fasl")' | cl

$(OBJECT_DIR)/constraints.fasl: constraints.cl
	echo '(compile-file "constraints.cl" :output-file \
	       "$(OBJECT_DIR)/constraints.fasl")' | cl

$(OBJECT_DIR)/func-ops.fasl: func-ops.cl
	echo '(load "ipql.cl") (compile-file "func-ops.cl" :output-file \
				"$(OBJECT_DIR)/func-ops.fasl")' | cl

$(OBJECT_DIR)/hds.fasl: hds.cl
	echo '(load "ipql.cl") (compile-file "hds.cl" :output-file \
				"$(OBJECT_DIR)/hds.fasl")' | cl

$(OBJECT_DIR)/ipql.fasl: ipql.cl
	echo '(load "ipql.cl") (compile-file "ipql.cl" :output-file \
				"$(OBJECT_DIR)/ipql.fasl")' | cl

$(OBJECT_DIR)/iter.fasl: iter.cl
	echo '(load "ipql.cl") (compile-file "iter.cl" :output-file \
				"$(OBJECT_DIR)/iter.fasl")' | cl

$(OBJECT_DIR)/objs.fasl: objs.cl
	echo '(load "ipql.cl") (compile-file "objs.cl" :output-file \
				"$(OBJECT_DIR)/objs.fasl")' | cl

