###############################################
#
# Makefile for xyplot package
#
#

# you may have to adjust variables for
# your system, they are all in file "Make.var"

include Make.var

# you may not want to make *both* display programs,
# xysee (for X windows) and xyview (for SunView)
# if not, then comment out the unwanted display program

install:
	cd xyplot ; make install
	cd xysee  ; make install
#	cd xyview ; make install
	cd xydoc  ; make install
	@echo Installed

deinstall:
	cd xyplot ; make deinstall
	cd xysee  ; make deinstall
#	cd xyview ; make deinstall
	cd xydoc  ; make deinstall
	@echo Deinstalled

all:
	cd xyplot ; make all
	cd xysee  ; make    
#	cd xyview ; make    

doc:
	cd xydoc  ; make doc

clean:
	/bin/rm -f *~
	cd xyplot ; make clean
	cd xysee  ; make clean
	cd xyview ; make clean
	cd xydoc  ; make clean
	
xyplot.tgz: xyplot.tar
	gzip -9 xyplot.tar
	mv xyplot.tar.gz xyplot.tgz

xyplot.tar.Z: xyplot.tar
	compress xyplot.tar

tar: xyplot.tar

xyplot.tar:
	/bin/rm -f *~
	/bin/rm -f xyplot.tar*
	tar cvhf /tmp/xyplot.tar .
	mv /tmp/xyplot.tar .

Zuu: xyplot.tar.Z
	uuencode xyplot.tar.Z < xyplot.tar.Z > xyplot.tar.Zuu

decode:	xyplot.tar.Zuu
	uudecode xyplot.tar.Zuu
	test -f xyplot.tar.Z && /bin/rm -f xyplot.tar.Zuu


			
