--- projects/cms/source/server/Config2.inc 2000/12/11 23:42:52 1.1.2.1 +++ projects/cms/source/server/Config2.inc 2001/03/03 00:34:51 1.14 @@ -1,24 +1,82 @@ # Include Config for the server -# $Id: Config2.inc,v 1.1.2.1 2000/12/11 23:42:52 tdb Exp $ +# $Id: Config2.inc,v 1.14 2001/03/03 00:34:51 tdb Exp $ -## File Locations +## +## Only the first section needs changing here, the rest are just +## information for use throughout the build scripts +## +## File and Path Locations + +# ****** These need to be set correctly ****** +# Location of the CVS Repository Root CVSROOT = /usr/local/proj/co600_10/cvs -SERVERROOT = /home/cut/tdb1/cvs/source/server +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 +LIBDIR = $(BUILD)/lib +# Location of the main include MKINC = $(SERVERROOT)/Makefile.inc -## JAR information +# Install Prefix +prefix = /usr/local/iscream-server +INSTALL = $(prefix) -PACKAGE = iscream.jar -MAINCLASS = uk.ac.ukc.iscream.core.Core -CLPATH = ./lib/idl.jar ./lib/jacorb.jar ./lib/jaxp.jar ./lib/parser.jar +# cvsbuild temporary directory name +CVSBUILDTEMP = $(SERVERROOT)/cvsbuildtemp +# cvsbuild default revision +rev = HEAD +REVISION = $(rev) -## IDL information +## Compiler Information +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 = -IDLFILES = $(SERVERROOT)/idl/uk +## Package information -## CHECK Files +# 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-server.jar +UTILPACKAGE = iscream-util.jar +# Main-class to be added to the Manifest +MAINCLASS = uk.ac.ukc.iscream.componentmanager.ComponentManager +# Class-path to be added to the Manifest +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