#!/bin/sh

#
#	Copyright 1993, Center for Computer Vision and Visualization,
#	University of Florida.  All rights reserved.
#

#
# $Log: add-image-operations.sh,v $
# Revision 1.1.1.1  1995/01/31  16:01:40  thoth
# Use of encore is now obsolete.
#
# Revision 1.1  1994/05/17  12:49:29  thoth
# Initial revision
#

source="$1";	shift
worklib="$1";	shift
perl="$1";	shift
gencops="$1";	shift
# encore="$1";	shift
compile="$1";	shift
make="$1";	shift
ar="$1";	shift
arl="$1";	shift

fn=/tmp/filenames$$
on=/tmp/objects$$

$perl $gencops < $source > $fn
#$perl -i $encore `cat $fn`
MAKE=$make $perl $compile < $fn
sed -e 's/\.c$/.o/' < $fn > $on
rm $fn
#$ar rv$arl $worklib `cat $on`
rm $on
