ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Config2.inc
(Generate patch)

Comparing projects/cms/source/server/Config2.inc (file contents):
Revision 1.23 by tdb, Sun Nov 25 19:34:27 2001 UTC vs.
Revision 1.35 by tdb, Wed Feb 5 22:17:56 2003 UTC

# Line 1 | Line 1
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 > include $(SOURCEROOT)/Version.inc
5  
6 < ## File and Path Locations
6 > # Name of our dist
7 > DISTNAME = iscream_server
8  
9 < # ****** These need to be set correctly ******
10 < # Location of the CVS Repository Root
13 < CVSROOT = :ext:username@cvs.i-scream.org.uk:/cvs/i-scream
14 < CVSSERVERMODULE = cms/source/server
15 < # ****** These need to be set correctly ******
9 > # Location of the i-scream CVS Repository Root
10 > CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream
11  
12   # This will attempt to locate cvs, and return the path.
13   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`
14  
15 + # and the same for cvs2cl
16 + 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`
17 + # and flags for cvs2cl
18 + CVS2CLFLAGS = --stdout --no-wrap -r -t -w -S -g "-d $(CVSROOT)" -g "-q"
19 +
20 + # and the same for gpg
21 + GPG = `if test -x /usr/bin/gpg; then echo /usr/bin/gpg; else if test -x /usr/local/bin/gpg; then echo /usr/local/bin/gpg; else echo gpg; fi fi`
22 + # and flags for gpg
23 + GPGFLAGS = -abs --default-key=0x135D6B0A
24 +
25 + # Binary to run for javac and javadoc
26 + JAVACBIN = javac
27 + JAVADOCBIN = javadoc
28 +
29   # Location of the build directory
30 < BUILD = $(SOURCEROOT)/build
30 > BUILDDIRNAME = build
31 > BUILD = $(SOURCEROOT)/$(BUILDDIRNAME)
32   # Relative (to BUILD) location of the libraries
33   LIBDIR = $(BUILD)/lib
34   # Location of the main include
35   MKINC = $(SOURCEROOT)/Makefile.inc
36 + # IDL directory
37 + IDLDIR = $(SOURCEROOT)/idl
38 + IDLFILE = $(IDLDIR)/iscream.idl
39  
40 < # Install Prefix
41 < 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)/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 > # Compiler Information
41 > JCLIBS = $(LIBDIR)/idl.jar:$(LIBDIR)/jacorb.jar:$(LIBDIR)/jaxp.jar:$(LIBDIR)/crimson.jar:$(LIBDIR)/mm.mysql-2.0.11-bin.jar:$(LIBDIR)/pircbot.jar:$(LIBDIR)/iscream_util.jar
42   JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):$(SOURCEROOT)/idl:.
43   # set JCFLAGS to these if you want to optimise and turn off debugging
44   #JCFLAGS = -g:none -O
45   JCFLAGS =
46  
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
47   # Name of JAR file (will be created in BUILD)
48 < PACKAGE = iscream-server.jar
49 < UTILPACKAGE = iscream-util.jar
48 > PACKAGE = $(DISTNAME).jar
49 > UTILPACKAGE = iscream_util.jar
50   # Main-class to be added to the Manifest
51   MAINCLASS = uk.org.iscream.cms.server.componentmanager.ComponentManager
52   # Class-path to be added to the Manifest
53 < CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.4-bin.jar lib/crimson.jar
53 > CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.11-bin.jar lib/crimson.jar lib/pircbot.jar lib/iscream_util.jar
54  
55 <
56 < ## CHECK Files (for dependencies)
57 < IDLCHECK = $(SOURCEROOT)/.doneidl
58 < BUILDCHECK = $(SOURCEROOT)/.donebuild
55 > # CHECK Files (for dependencies)
56 > IDLCHECK = $(SOURCEROOT)/idl/.doneidl
57 > MCOMPILECHECK = $(SOURCEROOT)/$(COMPILECHECK)
58 > SRCCHECK = $(SOURCEROOT)/.donesrc
59 > JAVADOCCHECK = $(SOURCEROOT)/.donejavadoc
60 > MKDISTCHECK = $(BUILD)/.donemkdist
61 > MKDISTBINCHECK = $(BUILD)/.donemkdistbin
62 > MKDISTFILESCHECK = $(BUILD)/.donemkdistfiles
63 > MKDISTFILESBINCHECK = $(BUILD)/.donemkdistfilesbin
64   COMPILECHECK = .donecompile
65   COPYCHECK = .donecopy
66  
67 < ## Javadoc package list
67 > # Javadoc package list
68   PKGLIST = uk.org.iscream.cms.server.clientinterface\
69          uk.org.iscream.cms.server.componentmanager\
70          uk.org.iscream.cms.server.core\
# Line 83 | Line 78 | PKGLIST = uk.org.iscream.cms.server.clientinterface\
78          uk.org.iscream.cms.server.client\
79          uk.org.iscream.cms.server.client.monitors\
80          uk.org.iscream.cms.server.client.alerters
81 < ## Javadoc formatting
82 < JDTITLE = "i-scream server"
81 >
82 > # Javadoc formatting
83 > JDTITLE = "i-scream CMS server"
84   JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>"
85 + JDBOTTOM = "<i>Copyright &\#169; 2000-2002 i-scream. All Rights Reserved.</i>"
86  
87 < DOCDIR = doc
88 < DOCTMPDIR = doctemp
87 > # Javadoc Directories
88 > DOCDIR = $(BUILD)/doc
89 > DOCTMPDIR = $(BUILD)/.doctemp
90 > APICACHE = $(SOURCEROOT)/.api-cache
91 >
92 > # Javadoc API linking
93 > JDJAPI = "http://java.sun.com/j2se/1.3/docs/api/"
94 > JDPBAPI = "http://www.jibble.org/javadocs/pircbot/"
95 >
96 > # Javadoc API cache
97 > JDJAPIC = $(APICACHE)/jdk
98 > JDPBAPIC = $(APICACHE)/pircbot
99 >
100 > # ChangeLog file
101 > CHANGELOG = $(BUILD)/ChangeLog
102 >
103 > # Directory to put the source code in
104 > SRCDIR = $(BUILD)/src
105 > # Files to be included in the source code dist
106 > SRCFILES = Config2.inc Makefile Makefile.inc README build.config \
107 >           build.xml configure db uk idl COPYING Version.inc \
108 >           $(BUILDDIRNAME)/README $(BUILDDIRNAME)/etc \
109 >           $(BUILDDIRNAME)/lib $(BUILDDIRNAME)/run.bat \
110 >           $(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile
111 >
112 > # User configurable options - defaults
113 > dest = $(BUILD)
114 > prefix = /opt/$(DISTNAME)-$(VERSION)
115 >
116 > # Install Prefix
117 > INSTALLPREFIX = $(prefix)
118 > DISTDEST = $(dest)
119 >
120 > # Archive extensions
121 > TAREXT = .tar
122 > TARGZEXT = .tar.gz
123 > ZIPEXT = .zip
124 > SIGEXT = .asc
125 >
126 > # Subdirectory the dist should be in
127 > DISTDIR = $(DISTNAME)-$(VERSION)
128 >
129 > # Name of various distfiles
130 > TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT)
131 > TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT)
132 > TARGZFILESIG = $(TARGZFILE)$(SIGEXT)
133 > ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT)
134 > ZIPFILESIG = $(ZIPFILE)$(SIGEXT)
135 > BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT)
136 > BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT)
137 > BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT)
138 > BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT)
139 > BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines