--- projects/cms/source/server/Config2.inc 2000/12/12 12:35:37 1.1.2.5 +++ projects/cms/source/server/Config2.inc 2001/03/03 00:34:51 1.14 @@ -1,20 +1,22 @@ # Include Config for the server -# $Id: Config2.inc,v 1.1.2.5 2000/12/12 12:35:37 tdb Exp $ +# $Id: Config2.inc,v 1.14 2001/03/03 00:34:51 tdb Exp $ ## -## Only the first two need changing here, the rest are just information -## for use throughout the build scripts +## Only the first section needs changing here, the rest are just +## information for use throughout the build scripts ## ## File and Path Locations -# ****** These two will need to be set correctly ****** +# ****** These need to be set correctly ****** # Location of the CVS Repository Root CVSROOT = /usr/local/proj/co600_10/cvs -# Location of the checked out local copy (hope to automate this) -SERVERROOT = /home/cut/tdb1/cvs/source/server -# ****** These two will need to be set correctly ****** +CVSSERVERMODULE = source/server +# ****** These need to be set correctly ****** +# This will attempt to locate cvs, and return the path. +CVS = `if test -x /usr/bin/cvs; then echo /usr/bin/cvs; else if test -x /usr/local/bin/cvs; then echo /usr/local/bin/cvs; else echo cvs; fi fi` + # Location of the build directory BUILD = $(SERVERROOT)/build # Relative (to BUILD) location of the libraries @@ -22,22 +24,59 @@ LIBDIR = $(BUILD)/lib # Location of the main include MKINC = $(SERVERROOT)/Makefile.inc +# Install Prefix +prefix = /usr/local/iscream-server +INSTALL = $(prefix) +# cvsbuild temporary directory name +CVSBUILDTEMP = $(SERVERROOT)/cvsbuildtemp +# cvsbuild default revision +rev = HEAD +REVISION = $(rev) + ## Compiler Information -JCLIBS = $(LIBDIR)/idl.jar:$(LIBDIR)/jacorb.jar:$(LIBDIR)/jaxp.jar:$(LIBDIR)/parser.jar -JCCLASSPATH = $(JCLIBS):$(SERVERROOT):$(BUILD):. +JCLIBS = $(LIBDIR)/idl.jar:$(LIBDIR)/jacorb.jar:$(LIBDIR)/jaxp.jar:$(LIBDIR)/parser.jar:$(LIBDIR)/mm.mysql-2.0.2-bin.jar +##### Added $(SERVERROOT)/idl - this may not be a good thing, but it helps dependencies. +JCCLASSPATH = $(JCLIBS):$(SERVERROOT):$(BUILD):$(SERVERROOT)/idl:. +# set JCFLAGS to these if you want to optimise and turn off debugging +#JCFLAGS = -g:none -O +JCFLAGS = -## JAR information +## Package information +# Name of archives +ARCNAME = iscream-server +TAREXT = .tar +TARGZEXT = .tar.gz +ZIPEXT = .zip + +TARFILE = $(ARCNAME)$(TAREXT) +TARGZFILE = $(ARCNAME)$(TARGZEXT) +ZIPFILE = $(ARCNAME)$(ZIPEXT) + # Name of JAR file (will be created in BUILD) -PACKAGE = iscream.jar +PACKAGE = iscream-server.jar +UTILPACKAGE = iscream-util.jar # Main-class to be added to the Manifest -MAINCLASS = uk.ac.ukc.iscream.core.Core +MAINCLASS = uk.ac.ukc.iscream.componentmanager.ComponentManager # Class-path to be added to the Manifest -CLPATH = $(LIBDIR)/idl.jar $(LIBDIR)/jacorb.jar $(LIBDIR)/jaxp.jar $(LIBDIR)/parser.jar +CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/parser.jar lib/mm.mysql-2.0.2-bin.jar ## CHECK Files (for dependencies) IDLCHECK = $(SERVERROOT)/.doneidl BUILDCHECK = $(SERVERROOT)/.donebuild COMPILECHECK = .donecompile +COPYCHECK = .donecopy + +## Javadoc package list +PKGLIST = uk.ac.ukc.iscream.clientinterface uk.ac.ukc.iscream.componentmanager\ + uk.ac.ukc.iscream.core uk.ac.ukc.iscream.core.loggers\ + uk.ac.ukc.iscream.dbinterface uk.ac.ukc.iscream.filter\ + uk.ac.ukc.iscream.filter.plugins uk.ac.ukc.iscream.filtermanager\ + uk.ac.ukc.iscream.rootfilter uk.ac.ukc.iscream.util\ + uk.ac.ukc.iscream.client uk.ac.ukc.iscream.client.monitors\ + uk.ac.ukc.iscream.client.alerters + +DOCDIR = doc +DOCTMPDIR = doctemp