1 |
|
# Include Config for the server |
2 |
|
# $Id$ |
3 |
|
|
4 |
< |
## |
5 |
< |
## Only the first section needs changing here, the rest are just |
6 |
< |
## information for use throughout the build scripts |
7 |
< |
## |
4 |
> |
# Name of our dist |
5 |
> |
DISTNAME = iscream_server |
6 |
|
|
7 |
< |
## File and Path Locations |
7 |
> |
# Location of the i-scream CVS Repository Root |
8 |
> |
CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream |
9 |
> |
CVSSERVERMODULE = cms/source/server |
10 |
|
|
11 |
– |
# ****** These need to be set correctly ****** |
12 |
– |
# Location of the CVS Repository Root |
13 |
– |
CVSROOT = /usr/local/proj/co600_10/cvs |
14 |
– |
CVSSERVERMODULE = source/server |
15 |
– |
# ****** These need to be set correctly ****** |
16 |
– |
|
11 |
|
# This will attempt to locate cvs, and return the path. |
12 |
|
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` |
13 |
|
|
14 |
+ |
# and the same for cvs2cl |
15 |
+ |
CVS2CL = `if test -x /usr/bin/cvs2cl; then echo /usr/bin/cvs2cl; else if test -x /usr/local/bin/cvs2cl; then echo /usr/local/bin/cvs2cl; else echo cvs2cl; fi fi` |
16 |
+ |
# and flags for cvs2cl |
17 |
+ |
CVS2CLFLAGS = --stdout -r -t -w -S -g "-d $(CVSROOT)" -g "-q" |
18 |
+ |
|
19 |
+ |
# Binary to run for javac and javadoc |
20 |
+ |
JAVACBIN = javac |
21 |
+ |
JAVADOCBIN = javadoc |
22 |
+ |
|
23 |
|
# Location of the build directory |
24 |
< |
BUILD = $(SERVERROOT)/build |
24 |
> |
BUILDDIRNAME = build |
25 |
> |
BUILD = $(SOURCEROOT)/$(BUILDDIRNAME) |
26 |
|
# Relative (to BUILD) location of the libraries |
27 |
|
LIBDIR = $(BUILD)/lib |
28 |
|
# Location of the main include |
29 |
< |
MKINC = $(SERVERROOT)/Makefile.inc |
29 |
> |
MKINC = $(SOURCEROOT)/Makefile.inc |
30 |
|
|
31 |
< |
# Install Prefix |
32 |
< |
prefix = /usr/local/iscream-server |
29 |
< |
INSTALL = $(prefix) |
31 |
> |
# cvs build temporary directory name |
32 |
> |
CVSBUILDTEMP = .cvsbuildtemp |
33 |
|
|
34 |
< |
# cvsbuild temporary directory name |
35 |
< |
CVSBUILDTEMP = $(SERVERROOT)/cvsbuildtemp |
36 |
< |
# 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:$(LIBDIR)/mm.mysql-2.0.2-bin.jar |
39 |
< |
##### Added $(SERVERROOT)/idl - this may not be a good thing, but it helps dependencies. |
40 |
< |
JCCLASSPATH = $(JCLIBS):$(SERVERROOT):$(BUILD):$(SERVERROOT)/idl:. |
34 |
> |
# Compiler Information |
35 |
> |
JCLIBS = $(LIBDIR)/idl.jar:$(LIBDIR)/jacorb.jar:$(LIBDIR)/jaxp.jar:$(LIBDIR)/crimson.jar:$(LIBDIR)/mm.mysql-2.0.11-bin.jar:$(LIBDIR)/pircbot.jar |
36 |
> |
JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):$(SOURCEROOT)/idl:. |
37 |
|
# set JCFLAGS to these if you want to optimise and turn off debugging |
38 |
|
#JCFLAGS = -g:none -O |
39 |
|
JCFLAGS = |
40 |
|
|
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 |
– |
|
41 |
|
# Name of JAR file (will be created in BUILD) |
42 |
< |
PACKAGE = iscream-server.jar |
43 |
< |
UTILPACKAGE = iscream-util.jar |
42 |
> |
PACKAGE = $(DISTNAME).jar |
43 |
> |
UTILPACKAGE = iscream_util.jar |
44 |
|
# Main-class to be added to the Manifest |
45 |
< |
MAINCLASS = uk.ac.ukc.iscream.componentmanager.ComponentManager |
45 |
> |
MAINCLASS = uk.org.iscream.cms.server.componentmanager.ComponentManager |
46 |
|
# Class-path to be added to the Manifest |
47 |
< |
CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/parser.jar lib/mm.mysql-2.0.2-bin.jar |
47 |
> |
CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.11-bin.jar lib/crimson.jar lib/pircbot.jar |
48 |
|
|
49 |
< |
|
50 |
< |
## CHECK Files (for dependencies) |
51 |
< |
IDLCHECK = $(SERVERROOT)/.doneidl |
52 |
< |
BUILDCHECK = $(SERVERROOT)/.donebuild |
49 |
> |
# CHECK Files (for dependencies) |
50 |
> |
IDLCHECK = $(SOURCEROOT)/.doneidl |
51 |
> |
BUILDCHECK = $(SOURCEROOT)/.donebuild |
52 |
> |
JAVADOCCHECK = $(SOURCEROOT)/.donejavadoc |
53 |
> |
SRCCHECK = $(SOURCEROOT)/.donesrc |
54 |
> |
MKDISTCHECK = $(BUILD)/.donemkdist |
55 |
> |
MKDISTBINCHECK = $(BUILD)/.donemkdistbin |
56 |
> |
MKDISTFILESCHECK = $(BUILD)/.donemkdistfiles |
57 |
|
COMPILECHECK = .donecompile |
58 |
|
COPYCHECK = .donecopy |
59 |
|
|
60 |
< |
## Javadoc package list |
61 |
< |
PKGLIST = uk.ac.ukc.iscream.clientinterface uk.ac.ukc.iscream.componentmanager\ |
62 |
< |
uk.ac.ukc.iscream.core uk.ac.ukc.iscream.core.loggers\ |
63 |
< |
uk.ac.ukc.iscream.dbinterface uk.ac.ukc.iscream.filter\ |
64 |
< |
uk.ac.ukc.iscream.filter.plugins uk.ac.ukc.iscream.filtermanager\ |
65 |
< |
uk.ac.ukc.iscream.rootfilter uk.ac.ukc.iscream.util\ |
66 |
< |
uk.ac.ukc.iscream.client uk.ac.ukc.iscream.client.monitors\ |
67 |
< |
uk.ac.ukc.iscream.client.alerters |
60 |
> |
# Javadoc package list |
61 |
> |
PKGLIST = uk.org.iscream.cms.server.clientinterface\ |
62 |
> |
uk.org.iscream.cms.server.componentmanager\ |
63 |
> |
uk.org.iscream.cms.server.core\ |
64 |
> |
uk.org.iscream.cms.server.core.loggers\ |
65 |
> |
uk.org.iscream.cms.server.dbinterface\ |
66 |
> |
uk.org.iscream.cms.server.filter\ |
67 |
> |
uk.org.iscream.cms.server.filter.plugins\ |
68 |
> |
uk.org.iscream.cms.server.filtermanager\ |
69 |
> |
uk.org.iscream.cms.server.rootfilter\ |
70 |
> |
uk.org.iscream.cms.server.util\ |
71 |
> |
uk.org.iscream.cms.server.client\ |
72 |
> |
uk.org.iscream.cms.server.client.monitors\ |
73 |
> |
uk.org.iscream.cms.server.client.alerters |
74 |
|
|
75 |
< |
DOCDIR = doc |
76 |
< |
DOCTMPDIR = doctemp |
75 |
> |
# Javadoc formatting |
76 |
> |
JDTITLE = "i-scream CMS server" |
77 |
> |
JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>" |
78 |
> |
JDBOTTOM = "<i>Copyright &\#169; 2000-2002 i-scream. All Rights Reserved.</i>" |
79 |
> |
|
80 |
> |
# Javadoc Directories |
81 |
> |
DOCDIR = $(BUILD)/doc |
82 |
> |
DOCTMPDIR = $(BUILD)/.doctemp |
83 |
> |
APICACHE = $(SOURCEROOT)/.api-cache |
84 |
> |
|
85 |
> |
# Javadoc API linking |
86 |
> |
JDJAPI = "http://java.sun.com/j2se/1.3/docs/api/" |
87 |
> |
JDPBAPI = "http://www.jibble.org/javadocs/pircbot/" |
88 |
> |
|
89 |
> |
# Javadoc API cache |
90 |
> |
JDJAPIC = $(APICACHE)/jdk |
91 |
> |
JDPBAPIC = $(APICACHE)/pircbot |
92 |
> |
|
93 |
> |
# ChangeLog file |
94 |
> |
CHANGELOG = $(BUILD)/ChangeLog |
95 |
> |
|
96 |
> |
# Directory to put the source code in |
97 |
> |
SRCDIR = $(BUILD)/src |
98 |
> |
# Files to be included in the source code dist |
99 |
> |
SRCFILES = Config2.inc Makefile Makefile.inc README build.config \ |
100 |
> |
build.xml configure db uk idl COPYING \ |
101 |
> |
$(BUILDDIRNAME)/README $(BUILDDIRNAME)/etc \ |
102 |
> |
$(BUILDDIRNAME)/lib $(BUILDDIRNAME)/run.bat \ |
103 |
> |
$(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile |
104 |
> |
|
105 |
> |
# User configurable options - defaults |
106 |
> |
tag = HEAD |
107 |
> |
ver = HEAD |
108 |
> |
dest = $(BUILD) |
109 |
> |
prefix = /usr/local/$(DISTNAME) |
110 |
> |
|
111 |
> |
# Install Prefix |
112 |
> |
INSTALL = $(prefix) |
113 |
> |
VERSION = $(ver) |
114 |
> |
DISTDEST = $(dest) |
115 |
> |
CVSTAG = $(tag) |
116 |
> |
|
117 |
> |
# Archive extensions |
118 |
> |
TAREXT = .tar |
119 |
> |
TARGZEXT = .tar.gz |
120 |
> |
ZIPEXT = .zip |
121 |
> |
|
122 |
> |
# Subdirectory the dist should be in |
123 |
> |
DISTDIR = $(DISTNAME)-$(VERSION) |
124 |
> |
|
125 |
> |
# Name of various distfiles |
126 |
> |
TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT) |
127 |
> |
TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT) |
128 |
> |
ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT) |