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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines