--- projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/Makefile 2000/12/06 18:33:48 1.2 +++ projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/Makefile 2000/12/13 18:34:22 1.3 @@ -1,30 +1,17 @@ # Makefile for uk.ac.ukc.iscream.clientinterface -# $Id: Makefile,v 1.2 2000/12/06 18:33:48 tdb Exp $ +# $Id: Makefile,v 1.3 2000/12/13 18:34:22 tdb Exp $ -# Defining Filenames +# Config Include +include ../../../../../Config.inc -CLASS = ClientHandler.class ClientListener.class TCPClientHandler.class\ - ClientInterfaceMain.class ClientInterfaceServant.class +# Defining Filenames (these will all be built) -IDL = ../../../../../idl/.madeidl -IDLFILES = ../../../../../idl/uk -IDLMAKE = cd ../../../../.. && $(MAKE) idl +JAVA = ClientHandler.java ClientListener.java TCPClientHandler.java\ + ClientInterfaceMain.java ClientInterfaceServant.java -# Defining "shortcuts" for building +# Build Rule +all : DOBUILD +clean : DOCLEAN -all : $(IDL) $(CLASS) - -clean : - rm -f $(CLASS) - -update : - cvs -q -d /usr/local/proj/co600_10/cvs update -d - -# Dependencies, and building - -# clever catchall to build any .class file from a .java file -%.class : %.java - javac $< - -$(IDL) : ../../../../../idl/iscream.idl - $(IDLMAKE) +# Main Include +include $(MKINC)