# June 6 1996
# Rob Frost
# Makefile for the RemoteService packages
#
# Copyright (c) 1995, H. Robert Frost, Stanford University.
# All rights reserved.
# Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies,
# Inc. All rights reserved.

# Define the classes including package name.
#

CLASSES= RemoteService/context/RSContextParams RemoteService/context/RSFrame		\
	 RemoteService/context/AddServicePanel 	RemoteService/context/ClientParams	\
	 RemoteService/context/ServiceFrame RemoteService/context/ClientFrame		\
	 RemoteService/context/ServiceContext RemoteService/context/ClientContext	\
	 RemoteService/context/BrokerContext RemoteService/context/PipeMessage		\
	 RemoteService/context/BrokerApplet RemoteService/context/ServiceApplet		\
	 RemoteService/context/ClientApplet						\
	 RemoteService/agent/RSAgentParams RemoteService/agent/ServiceBroker		\
	 RemoteService/agent/BrokerMessageHandler RemoteService/agent/BrokerResourceManager \
	 RemoteService/agent/ServiceAgent RemoteService/agent/ServiceResourceManager	\
	 RemoteService/agent/ClientAgent RemoteService/agent/ClientResourceManager	\
	 RemoteService/agent/ServiceMessageHandler					\
	 RemoteService/resource/Service RemoteService/resource/ServiceInterpreter	\
	 RemoteService/resource/Services RemoteService/resource/AvailableService	\
	 RemoteService/resource/AvailableServices

all: classes

SRC=${CLASSES:%=%.java}
OBJ=${SRC:%.java=%.class}
TEMP_SRC=${SRC:%.java=%.java*~}
TEMP_OBJ=${OBJ:%.class=%.class~}

classes: $(OBJ)

rmtemp:
	rm -f $(TEMP_SRC); rm -f $(TEMP_OBJ)
 
clean:
	rm -f $(OBJ)

SUFFIXES = .java .class $(SUFFIXES)

%.class: %.java
	javac $<

