--- projects/cms/source/server/Makefile 2000/12/11 20:19:36 1.6.2.1 +++ projects/cms/source/server/Makefile 2000/12/12 12:36:04 1.6.2.6 @@ -1,53 +1,29 @@ # Makefile for server -# $Id: Makefile,v 1.6.2.1 2000/12/11 20:19:36 tdb Exp $ +# $Id: Makefile,v 1.6.2.6 2000/12/12 12:36:04 tdb Exp $ -IDL = idl/.madeidl +include Config.inc -all : buildidl code +all : build -idl : $(IDL) -$(IDL) : idl/iscream.idl +idl : cd idl && $(MAKE) idl -buildidl : $(IDL) idl - cd idl/uk/ac/ukc/iscream/clientinterface && javac -g:none -O -d ../../../../../../build *.java - cd idl/uk/ac/ukc/iscream/core && javac -g:none -O -d ../../../../../../build *.java - cd idl/uk/ac/ukc/iscream/filter && javac -g:none -O -d ../../../../../../build *.java +buildidl : idl + cd idl && $(MAKE) build -code : +code : buildidl cd uk/ac/ukc/iscream && $(MAKE) all +build : code + cd build && $(MAKE) package + +run : build + cd build && java -jar iscream.jar + clean : cd idl && $(MAKE) clean - cd uk/ac/ukc/iscream && $(MAKE) clean cd build && $(MAKE) clean + cd uk/ac/ukc/iscream && $(MAKE) clean + rm -Rf $(BUILDCHECK) $(IDLCHECK) -update : - cvs -q -d /usr/local/proj/co600_10/cvs update - -runclientinterface : - cd uk/ac/ukc/iscream/clientinterface && $(MAKE) all - cd build && java uk.ac.ukc.iscream.clientinterface.ClientInterfaceMain - -runcore : - cd uk/ac/ukc/iscream/core && $(MAKE) all - cd build && java uk.ac.ukc.iscream.core.Core -l etc/default.properties - -rundbinterface : - cd uk/ac/ukc/iscream/dbinterface && $(MAKE) all - cd build && java uk.ac.ukc.iscream.dbinterface.DBInterfaceMain - -runfiltermanager : - cd uk/ac/ukc/iscream/filtermanager && $(MAKE) all - cd build && java uk.ac.ukc.iscream.filtermanager.FilterManager - -runrootfilter : - cd uk/ac/ukc/iscream/rootfilter && $(MAKE) all - cd build &&java uk.ac.ukc.iscream.rootfilter.RootFilterMain - -runfilter : - cd uk/ac/ukc/iscream/filter && $(MAKE) all - cd build && java uk.ac.ukc.iscream.filter.FilterMain $(NAME) - -build : all - cd build && $(MAKE) package +include $(MKINC)