--- projects/cms/source/server/Makefile.inc 2000/12/11 23:42:52 1.1.2.1 +++ projects/cms/source/server/Makefile.inc 2000/12/12 12:36:59 1.1.2.5 @@ -1,13 +1,22 @@ # Include Makefile for the server -# $Id: Makefile.inc,v 1.1.2.1 2000/12/11 23:42:52 tdb Exp $ +# $Id: Makefile.inc,v 1.1.2.5 2000/12/12 12:36:59 tdb Exp $ +## Rule to CVS update the files update : cvs -q -d $(CVSROOT) update -%.class : %.java - javac -g:none -O -d $(BUILD) $< +## Rule for making and compiling the IDL files +$(IDLCHECK) : $(SERVERROOT)/idl/iscream.idl + cd $(SERVERROOT)/idl && $(MAKE) build + rm -f $(COMPILECHECK) -IDLMAKE = cd $(SERVERROOT) && $(MAKE) buildidl +## General Build Rule for Java Files +DOBUILD : $(IDLCHECK) $(COMPILECHECK) -$(IDL) : $(SERVERROOT)/idl/iscream.idl - $(IDLMAKE) +$(COMPILECHECK) : $(JAVA) + javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $? + @touch $(BUILDCHECK) + @touch $(COMPILECHECK) + +DOCLEAN : + rm -f $(COMPILECHECK)