| 7 |
|
DISTNAME = iscream_server |
| 8 |
|
|
| 9 |
|
# Location of the i-scream CVS Repository Root |
| 10 |
< |
CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream |
| 10 |
> |
CVSROOT = :pserver:anonymous@cvs.i-scream.org:/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` |
| 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" |
| 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` |
| 38 |
|
IDLFILE = $(IDLDIR)/iscream.idl |
| 39 |
|
|
| 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 |
| 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 |
| 46 |
|
|
| 47 |
|
# Name of JAR file (will be created in BUILD) |
| 48 |
|
PACKAGE = $(DISTNAME).jar |
| 49 |
– |
UTILPACKAGE = iscream_util.jar |
| 49 |
|
# Main-class to be added to the Manifest |
| 50 |
|
MAINCLASS = uk.org.iscream.cms.server.componentmanager.ComponentManager |
| 51 |
|
# Class-path to be added to the Manifest |
| 52 |
< |
CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.11-bin.jar lib/crimson.jar lib/pircbot.jar |
| 52 |
> |
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 |
|
|
| 54 |
|
# CHECK Files (for dependencies) |
| 55 |
|
IDLCHECK = $(SOURCEROOT)/idl/.doneidl |
| 68 |
|
uk.org.iscream.cms.server.componentmanager\ |
| 69 |
|
uk.org.iscream.cms.server.core\ |
| 70 |
|
uk.org.iscream.cms.server.core.loggers\ |
| 72 |
– |
uk.org.iscream.cms.server.dbinterface\ |
| 71 |
|
uk.org.iscream.cms.server.filter\ |
| 72 |
|
uk.org.iscream.cms.server.filter.plugins\ |
| 73 |
|
uk.org.iscream.cms.server.filtermanager\ |
| 74 |
|
uk.org.iscream.cms.server.rootfilter\ |
| 77 |
– |
uk.org.iscream.cms.server.util\ |
| 75 |
|
uk.org.iscream.cms.server.client\ |
| 76 |
|
uk.org.iscream.cms.server.client.monitors\ |
| 77 |
|
uk.org.iscream.cms.server.client.alerters |
| 78 |
|
|
| 79 |
|
# Javadoc formatting |
| 80 |
|
JDTITLE = "i-scream CMS server" |
| 81 |
< |
JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>" |
| 82 |
< |
JDBOTTOM = "<i>Copyright &\#169; 2000-2002 i-scream. All Rights Reserved.</i>" |
| 81 |
> |
JDHEADER = "<img src='http://www.i-scream.org/i-scream_small.gif' width='146' height='38'>" |
| 82 |
> |
JDBOTTOM = "<i>Copyright &\#169; 2000-2003 i-scream. All Rights Reserved.</i>" |
| 83 |
|
|
| 84 |
|
# Javadoc Directories |
| 85 |
|
DOCDIR = $(BUILD)/doc |
| 87 |
|
APICACHE = $(SOURCEROOT)/.api-cache |
| 88 |
|
|
| 89 |
|
# Javadoc API linking |
| 90 |
< |
JDJAPI = "http://java.sun.com/j2se/1.3/docs/api/" |
| 90 |
> |
JDJAPI = "http://java.sun.com/j2se/1.4.2/docs/api/" |
| 91 |
|
JDPBAPI = "http://www.jibble.org/javadocs/pircbot/" |
| 92 |
+ |
JDUAPI = "http://www.i-scream.org/javadoc/util/" |
| 93 |
|
|
| 94 |
|
# Javadoc API cache |
| 95 |
|
JDJAPIC = $(APICACHE)/jdk |
| 96 |
|
JDPBAPIC = $(APICACHE)/pircbot |
| 97 |
+ |
JDUAPIC = $(APICACHE)/util |
| 98 |
|
|
| 99 |
|
# ChangeLog file |
| 100 |
|
CHANGELOG = $(BUILD)/ChangeLog |
| 106 |
|
build.xml configure db uk idl COPYING Version.inc \ |
| 107 |
|
$(BUILDDIRNAME)/README $(BUILDDIRNAME)/etc \ |
| 108 |
|
$(BUILDDIRNAME)/lib $(BUILDDIRNAME)/run.bat \ |
| 109 |
< |
$(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile |
| 109 |
> |
$(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile \ |
| 110 |
> |
$(BUILDDIRNAME)/$(JACPROP) |
| 111 |
|
|
| 112 |
+ |
# License file |
| 113 |
+ |
LICFILE = COPYING |
| 114 |
+ |
|
| 115 |
+ |
# Jacorb properties file |
| 116 |
+ |
JACPROP = jacorb.properties |
| 117 |
+ |
|
| 118 |
|
# User configurable options - defaults |
| 119 |
|
dest = $(BUILD) |
| 120 |
< |
prefix = /usr/local/$(DISTNAME) |
| 120 |
> |
prefix = /opt/$(DISTNAME)-$(VERSION) |
| 121 |
|
|
| 122 |
|
# Install Prefix |
| 123 |
< |
INSTALL = $(prefix) |
| 123 |
> |
INSTALLPREFIX = $(prefix) |
| 124 |
|
DISTDEST = $(dest) |
| 125 |
|
|
| 126 |
|
# Archive extensions |