--- projects/cms/source/server/Config2.inc 2000/12/13 18:10:34 1.1.2.9 +++ projects/cms/source/server/Config2.inc 2002/02/04 00:14:13 1.24.2.1 @@ -1,5 +1,5 @@ # Include Config for the server -# $Id: Config2.inc,v 1.1.2.9 2000/12/13 18:10:34 tdb Exp $ +# $Id: Config2.inc,v 1.24.2.1 2002/02/04 00:14:13 tdb Exp $ ## ## Only the first section needs changing here, the rest are just @@ -10,35 +10,42 @@ # ****** These need to be set correctly ****** # Location of the CVS Repository Root -CVSROOT = /usr/local/proj/co600_10/cvs -CVSSERVERMODULE = source/server +CVSROOT = :ext:username@cvs.i-scream.org.uk:/cvs/i-scream +CVSSERVERMODULE = cms/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 +BUILD = $(SOURCEROOT)/build # Relative (to BUILD) location of the libraries LIBDIR = $(BUILD)/lib # Location of the main include -MKINC = $(SERVERROOT)/Makefile.inc +MKINC = $(SOURCEROOT)/Makefile.inc # Install Prefix -prefix = /usr/local/proj/co600_10/iscream-server +prefix = /usr/local/iscream-server INSTALL = $(prefix) # cvsbuild temporary directory name -CVSBUILDTEMP = $(SERVERROOT)/cvsbuildtemp +CVSBUILDTEMP = $(SOURCEROOT)/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)/crimson.jar:$(LIBDIR)/mm.mysql-2.0.11-bin.jar:$(LIBDIR)/pircbot.jar +##### Added $(SOURCEROOT)/idl - this may not be a good thing, but it helps dependencies. +JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):$(SOURCEROOT)/idl:. +# set JCFLAGS to these if you want to optimise and turn off debugging +#JCFLAGS = -g:none -O +JCFLAGS = ## Package information # Name of archives -ARCNAME = iscream +ARCNAME = iscream-server TAREXT = .tar TARGZEXT = .tar.gz ZIPEXT = .zip @@ -48,14 +55,37 @@ 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.org.iscream.cms.server.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/mm.mysql-2.0.11-bin.jar lib/crimson.jar lib/pircbot.jar ## CHECK Files (for dependencies) -IDLCHECK = $(SERVERROOT)/.doneidl -BUILDCHECK = $(SERVERROOT)/.donebuild +IDLCHECK = $(SOURCEROOT)/.doneidl +BUILDCHECK = $(SOURCEROOT)/.donebuild COMPILECHECK = .donecompile +COPYCHECK = .donecopy + +## Javadoc package list +PKGLIST = uk.org.iscream.cms.server.clientinterface\ + uk.org.iscream.cms.server.componentmanager\ + uk.org.iscream.cms.server.core\ + uk.org.iscream.cms.server.core.loggers\ + uk.org.iscream.cms.server.dbinterface\ + uk.org.iscream.cms.server.filter\ + uk.org.iscream.cms.server.filter.plugins\ + uk.org.iscream.cms.server.filtermanager\ + uk.org.iscream.cms.server.rootfilter\ + uk.org.iscream.cms.server.util\ + uk.org.iscream.cms.server.client\ + uk.org.iscream.cms.server.client.monitors\ + uk.org.iscream.cms.server.client.alerters +## Javadoc formatting +JDTITLE = "i-scream server" +JDHEADER = "" + +DOCDIR = doc +DOCTMPDIR = doctemp