ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Config2.inc
Revision: 1.39
Committed: Tue Feb 11 22:38:29 2003 UTC (21 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.38: +3 -1 lines
Log Message:
Added linking of util package api's to javadocs.

File Contents

# User Rev Content
1 tdb 1.2 # Include Config for the server
2 tdb 1.39 # $Id: Config2.inc,v 1.38 2003/02/11 22:00:56 tdb Exp $
3 tdb 1.30
4     include $(SOURCEROOT)/Version.inc
5 tdb 1.2
6 tdb 1.28 # Name of our dist
7     DISTNAME = iscream_server
8 tdb 1.2
9 tdb 1.28 # Location of the i-scream CVS Repository Root
10 tdb 1.27 CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream
11 tdb 1.12
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 tdb 1.2
15 tdb 1.28 # 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 tdb 1.35 CVS2CLFLAGS = --stdout --no-wrap -r -t -w -S -g "-d $(CVSROOT)" -g "-q"
19 tdb 1.28
20 tdb 1.31 # 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 tdb 1.28 # Binary to run for javac and javadoc
26     JAVACBIN = javac
27     JAVADOCBIN = javadoc
28    
29 tdb 1.2 # Location of the build directory
30 tdb 1.28 BUILDDIRNAME = build
31     BUILD = $(SOURCEROOT)/$(BUILDDIRNAME)
32 tdb 1.2 # Relative (to BUILD) location of the libraries
33     LIBDIR = $(BUILD)/lib
34     # Location of the main include
35 tdb 1.17 MKINC = $(SOURCEROOT)/Makefile.inc
36 tdb 1.30 # IDL directory
37     IDLDIR = $(SOURCEROOT)/idl
38     IDLFILE = $(IDLDIR)/iscream.idl
39 tdb 1.2
40 tdb 1.28 # Compiler Information
41 tdb 1.33 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 tdb 1.17 JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):$(SOURCEROOT)/idl:.
43 tdb 1.13 # set JCFLAGS to these if you want to optimise and turn off debugging
44     #JCFLAGS = -g:none -O
45     JCFLAGS =
46 tdb 1.2
47     # Name of JAR file (will be created in BUILD)
48 tdb 1.28 PACKAGE = $(DISTNAME).jar
49 tdb 1.2 # Main-class to be added to the Manifest
50 tdb 1.21 MAINCLASS = uk.org.iscream.cms.server.componentmanager.ComponentManager
51 tdb 1.2 # Class-path to be added to the Manifest
52 tdb 1.33 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
53 tdb 1.2
54 tdb 1.28 # CHECK Files (for dependencies)
55 tdb 1.30 IDLCHECK = $(SOURCEROOT)/idl/.doneidl
56     MCOMPILECHECK = $(SOURCEROOT)/$(COMPILECHECK)
57     SRCCHECK = $(SOURCEROOT)/.donesrc
58 tdb 1.29 JAVADOCCHECK = $(SOURCEROOT)/.donejavadoc
59     MKDISTCHECK = $(BUILD)/.donemkdist
60     MKDISTBINCHECK = $(BUILD)/.donemkdistbin
61     MKDISTFILESCHECK = $(BUILD)/.donemkdistfiles
62 tdb 1.31 MKDISTFILESBINCHECK = $(BUILD)/.donemkdistfilesbin
63 tdb 1.2 COMPILECHECK = .donecompile
64 tdb 1.8 COPYCHECK = .donecopy
65 tdb 1.4
66 tdb 1.28 # Javadoc package list
67 tdb 1.21 PKGLIST = uk.org.iscream.cms.server.clientinterface\
68     uk.org.iscream.cms.server.componentmanager\
69     uk.org.iscream.cms.server.core\
70     uk.org.iscream.cms.server.core.loggers\
71     uk.org.iscream.cms.server.dbinterface\
72     uk.org.iscream.cms.server.filter\
73     uk.org.iscream.cms.server.filter.plugins\
74     uk.org.iscream.cms.server.filtermanager\
75     uk.org.iscream.cms.server.rootfilter\
76     uk.org.iscream.cms.server.client\
77     uk.org.iscream.cms.server.client.monitors\
78     uk.org.iscream.cms.server.client.alerters
79 tdb 1.28
80     # Javadoc formatting
81 tdb 1.26 JDTITLE = "i-scream CMS server"
82 tdb 1.20 JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>"
83 tdb 1.38 JDBOTTOM = "<i>Copyright &\#169; 2000-2003 i-scream. All Rights Reserved.</i>"
84 tdb 1.26
85 tdb 1.29 # Javadoc Directories
86     DOCDIR = $(BUILD)/doc
87     DOCTMPDIR = $(BUILD)/.doctemp
88     APICACHE = $(SOURCEROOT)/.api-cache
89    
90 tdb 1.28 # Javadoc API linking
91 tdb 1.38 JDJAPI = "http://java.sun.com/j2se/1.4.1/docs/api/"
92 tdb 1.26 JDPBAPI = "http://www.jibble.org/javadocs/pircbot/"
93 tdb 1.39 JDUAPI = "http://www.i-scream.org.uk/javadoc/util/"
94 tdb 1.4
95 tdb 1.29 # Javadoc API cache
96     JDJAPIC = $(APICACHE)/jdk
97     JDPBAPIC = $(APICACHE)/pircbot
98 tdb 1.39 JDUAPIC = $(APICACHE)/util
99 tdb 1.28
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 tdb 1.32 build.xml configure db uk idl COPYING Version.inc \
108 tdb 1.28 $(BUILDDIRNAME)/README $(BUILDDIRNAME)/etc \
109     $(BUILDDIRNAME)/lib $(BUILDDIRNAME)/run.bat \
110 tdb 1.37 $(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile \
111     $(BUILDDIRNAME)/COPYING
112 tdb 1.28
113     # User configurable options - defaults
114     dest = $(BUILD)
115 tdb 1.34 prefix = /opt/$(DISTNAME)-$(VERSION)
116 tdb 1.28
117     # Install Prefix
118 tdb 1.34 INSTALLPREFIX = $(prefix)
119 tdb 1.28 DISTDEST = $(dest)
120    
121     # Archive extensions
122     TAREXT = .tar
123     TARGZEXT = .tar.gz
124     ZIPEXT = .zip
125 tdb 1.31 SIGEXT = .asc
126 tdb 1.28
127     # Subdirectory the dist should be in
128     DISTDIR = $(DISTNAME)-$(VERSION)
129    
130     # Name of various distfiles
131     TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT)
132     TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT)
133 tdb 1.31 TARGZFILESIG = $(TARGZFILE)$(SIGEXT)
134 tdb 1.28 ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT)
135 tdb 1.31 ZIPFILESIG = $(ZIPFILE)$(SIGEXT)
136     BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT)
137     BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT)
138     BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT)
139     BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT)
140     BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT)