####################################################################
#   Copyright (c)
#
#   You may copy, distribute, and modify it freely as long as you  #
#   preserve this copyright and permission notice.                 #
#                                                                  #
#
####################################################################

#
#  Makefile for Adlib/src/hpjava/spmd/adlib
#

SHELL   = /bin/sh

srcdir      = @srcdir@
top_srcdir  = @top_srcdir@

prefix      = @prefix@
exec_prefix = @exec_prefix@

bindir      = @bindir@
includedir  = @includedir@
libdir      = @libdir@

SUBDIR  =

VPATH = .:${srcdir}

all: Makefile
	@echo "Making class file ..."
	env CLASSPATH=@CWD@/src javac *.java

Makefile: ${srcdir}/Makefile.in
	@echo 
	@echo Please configure the package to generate new makefile ...
	@exit

clean:
	rm -f *.class

distclean:
	rm -f *.class
	@rm -f Makefile

install:
	if [ ! -d ${libdir} ] ; then mkdir ${libdir} ; fi
	if [ ! -d ${libdir}/hpjava ] ; then mkdir ${libdir}/hpjava ; fi
	if [ ! -d ${libdir}/hpjava/lang ] ; then mkdir ${libdir}/hpjava/lang ; fi
	cp *.class ${libdir}/hpjava/lang

uninstall: 
	rm -f ${libdir}/hpjava/lang/*.class





