--- projects/cms/source/server/idl/Makefile 2000/11/29 23:39:42 1.1 +++ projects/cms/source/server/idl/Makefile 2000/12/13 18:34:19 1.2 @@ -1,20 +1,30 @@ # Makefile for idl -# $Id: Makefile,v 1.1 2000/11/29 23:39:42 tdb Exp $ +# $Id: Makefile,v 1.2 2000/12/13 18:34:19 tdb Exp $ -IDL = .madeidl +include ../Config.inc + IDLFILES = uk -all : idl +all : build -idl : $(IDL) +idl : $(IDLCHECK) -$(IDL) : iscream.idl - idl iscream.idl - @touch .madeidl +$(IDLCHECK) : iscream.idl + java -classpath $(BUILD)/lib/idl.jar jacorb.idl.parser iscream.idl + @touch $(IDLCHECK) +build : $(BUILDCHECK) + +$(BUILDCHECK) : $(IDLCHECK) iscream.idl + cd uk/ac/ukc/iscream/clientinterface && javac -g:none -O -d $(BUILD) *.java + cd uk/ac/ukc/iscream/core && javac -g:none -O -d $(BUILD) *.java + cd uk/ac/ukc/iscream/filter && javac -g:none -O -d $(BUILD) *.java + cd $(SERVERROOT)/uk/ac/ukc/iscream && $(MAKE) clean + @touch $(BUILDCHECK) + clean : rm -Rf $(IDLFILES) - rm -f $(IDL) + rm -f $(IDLCHECK) + rm -f $(BUILDCHECK) -update : - cvs -q -d /usr/local/proj/co600_10/cvs update +#include $(MKINC)