--- projects/cms/source/server/Makefile.inc 2000/12/12 02:45:54 1.1.2.4 +++ projects/cms/source/server/Makefile.inc 2001/01/07 19:37:39 1.3 @@ -1,19 +1,17 @@ # Include Makefile for the server -# $Id: Makefile.inc,v 1.1.2.4 2000/12/12 02:45:54 tdb Exp $ +# $Id: Makefile.inc,v 1.3 2001/01/07 19:37:39 tdb Exp $ ## Rule to CVS update the files update : cvs -q -d $(CVSROOT) update -## How to generate the IDL files -IDLMAKE = cd $(SERVERROOT) && $(MAKE) buildidl +## Rule for making and compiling the IDL files +$(IDLCHECK) : $(SERVERROOT)/idl/iscream.idl + cd $(SERVERROOT)/idl && $(MAKE) build + rm -f $(COMPILECHECK) -## Rule for making the IDL files -$(IDL) : $(SERVERROOT)/idl/iscream.idl - $(IDLMAKE) - ## General Build Rule for Java Files -DOBUILD : $(COMPILECHECK) $(IDL) +DOBUILD : $(IDLCHECK) $(COMPILECHECK) $(COMPILECHECK) : $(JAVA) javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $? @@ -22,3 +20,6 @@ $(COMPILECHECK) : $(JAVA) DOCLEAN : rm -f $(COMPILECHECK) + +DOCOPY : + cp $(FILES) `perl -e '$$root="$(SERVERROOT)";$$path=\`pwd\`;$$path=~s/^$$root($$1)/$$1/;print "$(BUILD)".$$path;'`