--- projects/cms/source/server/Makefile.inc 2000/12/11 23:57:06 1.1.2.2 +++ projects/cms/source/server/Makefile.inc 2000/12/12 12:36:59 1.1.2.5 @@ -1,17 +1,22 @@ # Include Makefile for the server -# $Id: Makefile.inc,v 1.1.2.2 2000/12/11 23:57:06 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 -## General rule for building a class file -%.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) -## How to generate the IDL files -IDLMAKE = cd $(SERVERROOT) && $(MAKE) buildidl +## General Build Rule for Java Files +DOBUILD : $(IDLCHECK) $(COMPILECHECK) -## Rule for making the IDL files -$(IDL) : $(SERVERROOT)/idl/iscream.idl - $(IDLMAKE) +$(COMPILECHECK) : $(JAVA) + javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $? + @touch $(BUILDCHECK) + @touch $(COMPILECHECK) + +DOCLEAN : + rm -f $(COMPILECHECK)