--- projects/cms/source/server/build/Makefile 2000/12/11 20:55:00 1.1.2.2 +++ projects/cms/source/server/build/Makefile 2000/12/11 23:44:31 1.1.2.3 @@ -1,22 +1,23 @@ # Makefile for build -# $Id: Makefile,v 1.1.2.2 2000/12/11 20:55:00 tdb Exp $ +# $Id: Makefile,v 1.1.2.3 2000/12/11 23:44:31 tdb Exp $ -PACKAGE = iscream.jar -FILES = uk +include ../Config.inc +BUILDFILES = uk + all : package clean : - rm -Rf uk + rm -Rf $(BUILDFILES) rm -Rf $(PACKAGE) package : $(PACKAGE) $(PACKAGE) : - @echo "Main-Class: uk.ac.ukc.iscream.core.Core" > MANIFEST_TMP - @echo "Class-Path: ./lib/idl.jar ./lib/jacorb.jar ./lib/jaxp.jar ./lib/parser.jar" >> MANIFEST_TMP - jar -cvmf MANIFEST_TMP $(PACKAGE) $(FILES) + @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP + @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP + jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) rm -f MANIFEST_TMP - @echo "-----------------------------" - @echo "to run: java -jar $(PACKAGE)" - @echo "-----------------------------" + @touch $(BUILDCHECK) + +include $(MKINC)