--- projects/cms/source/server/uk/org/iscream/cms/server/filter/Makefile 2000/12/06 22:57:45 1.13 +++ projects/cms/source/server/uk/org/iscream/cms/server/filter/Makefile 2000/12/12 01:54:09 1.13.2.3 @@ -1,38 +1,23 @@ # Makefile for uk.ac.ukc.iscream.filter -# $Id: Makefile,v 1.13 2000/12/06 22:57:45 tdb Exp $ +# $Id: Makefile,v 1.13.2.3 2000/12/12 01:54:09 tdb Exp $ -# Defining Filenames +# Config Include +include ../../../../../Config.inc +# Defining Filenames (these will be built) + CLASS = FilterMain.class FilterServant.class FilterThread.class\ TCPReader.class TCPReaderInit.class UDPReader.class\ PluginFilterManager.class PluginFilter.class -IDL = ../../../../../idl/.madeidl -IDLFILES = ../../../../../idl/uk -IDLMAKE = cd ../../../../.. && $(MAKE) idl - -# Defining "shortcuts" for building - +# Build Rules all : filter plugins -filter : $(IDL) $(CLASS) +filter : DOBUILD plugins : mkplugins mkplugins : cd plugins && $(MAKE) all -clean : - rm -f $(CLASS) - cd plugins && $(MAKE) clean - -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)