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 ****** |
14 |
> |
CVSSERVERMODULE = 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/proj/co600_10/iscream-server |
28 |
> |
prefix = /usr/local/iscream-server |
29 |
|
INSTALL = $(prefix) |
30 |
|
|
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)/parser.jar |
39 |
< |
JCCLASSPATH = $(JCLIBS):$(SERVERROOT):$(BUILD):. |
38 |
> |
JCLIBS = $(LIBDIR)/idl.jar:$(LIBDIR)/jacorb.jar:$(LIBDIR)/jaxp.jar:$(LIBDIR)/crimson.jar:$(LIBDIR)/mm.mysql-2.0.4-bin.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 tar archive (will be gzipped afterwards) |
48 |
< |
TARFILE = iscream.tar |
49 |
< |
TARGZFILE = iscream.tar.gz |
50 |
< |
ZIPFILE = iscream.zip |
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.4-bin.jar lib/crimson.jar |
64 |
|
|
65 |
|
|
66 |
|
## CHECK Files (for dependencies) |
67 |
< |
IDLCHECK = $(SERVERROOT)/.doneidl |
68 |
< |
BUILDCHECK = $(SERVERROOT)/.donebuild |
67 |
> |
IDLCHECK = $(SOURCEROOT)/.doneidl |
68 |
> |
BUILDCHECK = $(SOURCEROOT)/.donebuild |
69 |
|
COMPILECHECK = .donecompile |
70 |
+ |
COPYCHECK = .donecopy |
71 |
+ |
|
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 server" |
88 |
+ |
JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>" |
89 |
+ |
|
90 |
+ |
DOCDIR = doc |
91 |
+ |
DOCTMPDIR = doctemp |