| 2 |
|
# $Id$ |
| 3 |
|
|
| 4 |
|
## |
| 5 |
< |
## Only the first two need changing here, the rest are just information |
| 6 |
< |
## for use throughout the build scripts |
| 5 |
> |
## Only the first section needs changing here, the rest are just |
| 6 |
> |
## information for use throughout the build scripts |
| 7 |
|
## |
| 8 |
|
|
| 9 |
|
## File and Path Locations |
| 10 |
|
|
| 11 |
< |
# ****** These two will need to be set correctly ****** |
| 11 |
> |
# ****** These need to be set correctly ****** |
| 12 |
|
# Location of the CVS Repository Root |
| 13 |
< |
CVSROOT = /usr/local/proj/co600_10/cvs |
| 14 |
< |
# Location of the checked out local copy (hope to automate this) |
| 15 |
< |
SERVERROOT = /home/cut/tdb1/cvs/source/server |
| 16 |
< |
# ****** These two will need to be set correctly ****** |
| 13 |
> |
CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream |
| 14 |
> |
CVSSERVERMODULE = cms/source/server |
| 15 |
> |
# ****** These need to be set correctly ****** |
| 16 |
|
|
| 17 |
+ |
# This will attempt to locate cvs, and return the path. |
| 18 |
+ |
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` |
| 19 |
+ |
|
| 20 |
|
# Location of the build directory |
| 21 |
< |
BUILD = $(SERVERROOT)/build |
| 21 |
> |
BUILD = $(SOURCEROOT)/build |
| 22 |
|
# Relative (to BUILD) location of the libraries |
| 23 |
|
LIBDIR = $(BUILD)/lib |
| 24 |
|
# Location of the main include |
| 25 |
< |
MKINC = $(SERVERROOT)/Makefile.inc |
| 25 |
> |
MKINC = $(SOURCEROOT)/Makefile.inc |
| 26 |
|
|
| 27 |
+ |
# Install Prefix |
| 28 |
+ |
prefix = /usr/local/iscream-server |
| 29 |
+ |
INSTALL = $(prefix) |
| 30 |
|
|
| 31 |
< |
## JAR information |
| 31 |
> |
# cvsbuild temporary directory name |
| 32 |
> |
CVSBUILDTEMP = $(SOURCEROOT)/cvsbuildtemp |
| 33 |
> |
# cvsbuild default revision |
| 34 |
> |
rev = HEAD |
| 35 |
> |
REVISION = $(rev) |
| 36 |
|
|
| 37 |
+ |
## Compiler Information |
| 38 |
+ |
JCLIBS = $(LIBDIR)/idl.jar:$(LIBDIR)/jacorb.jar:$(LIBDIR)/jaxp.jar:$(LIBDIR)/crimson.jar:$(LIBDIR)/mm.mysql-2.0.11-bin.jar:$(LIBDIR)/pircbot.jar |
| 39 |
+ |
##### Added $(SOURCEROOT)/idl - this may not be a good thing, but it helps dependencies. |
| 40 |
+ |
JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):$(SOURCEROOT)/idl:. |
| 41 |
+ |
# set JCFLAGS to these if you want to optimise and turn off debugging |
| 42 |
+ |
#JCFLAGS = -g:none -O |
| 43 |
+ |
JCFLAGS = |
| 44 |
+ |
|
| 45 |
+ |
## Package information |
| 46 |
+ |
|
| 47 |
+ |
# Name of archives |
| 48 |
+ |
ARCNAME = iscream-server |
| 49 |
+ |
TAREXT = .tar |
| 50 |
+ |
TARGZEXT = .tar.gz |
| 51 |
+ |
ZIPEXT = .zip |
| 52 |
+ |
|
| 53 |
+ |
TARFILE = $(ARCNAME)$(TAREXT) |
| 54 |
+ |
TARGZFILE = $(ARCNAME)$(TARGZEXT) |
| 55 |
+ |
ZIPFILE = $(ARCNAME)$(ZIPEXT) |
| 56 |
+ |
|
| 57 |
|
# Name of JAR file (will be created in BUILD) |
| 58 |
< |
PACKAGE = iscream.jar |
| 58 |
> |
PACKAGE = iscream-server.jar |
| 59 |
> |
UTILPACKAGE = iscream-util.jar |
| 60 |
|
# Main-class to be added to the Manifest |
| 61 |
< |
MAINCLASS = uk.ac.ukc.iscream.core.Core |
| 61 |
> |
MAINCLASS = uk.org.iscream.cms.server.componentmanager.ComponentManager |
| 62 |
|
# Class-path to be added to the Manifest |
| 63 |
< |
CLPATH = $(LIBDIR)/idl.jar $(LIBDIR)/jacorb.jar $(LIBDIR)/jaxp.jar $(LIBDIR)/parser.jar |
| 63 |
> |
CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.11-bin.jar lib/crimson.jar lib/pircbot.jar |
| 64 |
|
|
| 65 |
|
|
| 66 |
< |
## IDL information |
| 66 |
> |
## CHECK Files (for dependencies) |
| 67 |
> |
IDLCHECK = $(SOURCEROOT)/.doneidl |
| 68 |
> |
BUILDCHECK = $(SOURCEROOT)/.donebuild |
| 69 |
> |
COMPILECHECK = .donecompile |
| 70 |
> |
COPYCHECK = .donecopy |
| 71 |
|
|
| 72 |
< |
# Location IDL files will be checked out to |
| 73 |
< |
IDLFILES = $(SERVERROOT)/idl/uk |
| 72 |
> |
## Javadoc package list |
| 73 |
> |
PKGLIST = uk.org.iscream.cms.server.clientinterface\ |
| 74 |
> |
uk.org.iscream.cms.server.componentmanager\ |
| 75 |
> |
uk.org.iscream.cms.server.core\ |
| 76 |
> |
uk.org.iscream.cms.server.core.loggers\ |
| 77 |
> |
uk.org.iscream.cms.server.dbinterface\ |
| 78 |
> |
uk.org.iscream.cms.server.filter\ |
| 79 |
> |
uk.org.iscream.cms.server.filter.plugins\ |
| 80 |
> |
uk.org.iscream.cms.server.filtermanager\ |
| 81 |
> |
uk.org.iscream.cms.server.rootfilter\ |
| 82 |
> |
uk.org.iscream.cms.server.util\ |
| 83 |
> |
uk.org.iscream.cms.server.client\ |
| 84 |
> |
uk.org.iscream.cms.server.client.monitors\ |
| 85 |
> |
uk.org.iscream.cms.server.client.alerters |
| 86 |
> |
## Javadoc formatting |
| 87 |
> |
JDTITLE = "i-scream CMS server" |
| 88 |
> |
JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>" |
| 89 |
> |
JDBOTTOM = "<i>Copyright &\#169; 2000-2002 i-scream. All Rights Reserved.</i>" |
| 90 |
|
|
| 91 |
+ |
## Javadoc API linking |
| 92 |
+ |
JDJAPI = "http://java.sun.com/j2se/1.3/docs/api/" |
| 93 |
+ |
JDPBAPI = "http://www.jibble.org/javadocs/pircbot/" |
| 94 |
|
|
| 95 |
< |
## CHECK Files (for dependencies) |
| 96 |
< |
IDLCHECK = $(SERVERROOT)/.doneidl |
| 44 |
< |
BUILDCHECK = $(SERVERROOT)/.donebuild |
| 95 |
> |
DOCDIR = doc |
| 96 |
> |
DOCTMPDIR = doctemp |