1 |
|
# Include Config for the server |
2 |
|
# $Id$ |
3 |
|
|
4 |
+ |
include $(SOURCEROOT)/Version.inc |
5 |
+ |
|
6 |
|
# Name of our dist |
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 |
9 |
– |
CVSSERVERMODULE = cms/source/server |
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` |
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 |
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 |
|
|
31 |
– |
# cvs build temporary directory name |
32 |
– |
CVSBUILDTEMP = .cvsbuildtemp |
33 |
– |
|
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 |
43 |
– |
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)/.doneidl |
56 |
< |
BUILDCHECK = $(SOURCEROOT)/.donebuild |
52 |
< |
JAVADOCCHECK = $(SOURCEROOT)/.donejavadoc |
55 |
> |
IDLCHECK = $(SOURCEROOT)/idl/.doneidl |
56 |
> |
MCOMPILECHECK = $(SOURCEROOT)/$(COMPILECHECK) |
57 |
|
SRCCHECK = $(SOURCEROOT)/.donesrc |
58 |
+ |
JAVADOCCHECK = $(SOURCEROOT)/.donejavadoc |
59 |
|
MKDISTCHECK = $(BUILD)/.donemkdist |
60 |
|
MKDISTBINCHECK = $(BUILD)/.donemkdistbin |
61 |
|
MKDISTFILESCHECK = $(BUILD)/.donemkdistfiles |
62 |
+ |
MKDISTFILESBINCHECK = $(BUILD)/.donemkdistfilesbin |
63 |
|
COMPILECHECK = .donecompile |
64 |
|
COPYCHECK = .donecopy |
65 |
|
|
73 |
|
uk.org.iscream.cms.server.filter.plugins\ |
74 |
|
uk.org.iscream.cms.server.filtermanager\ |
75 |
|
uk.org.iscream.cms.server.rootfilter\ |
70 |
– |
uk.org.iscream.cms.server.util\ |
76 |
|
uk.org.iscream.cms.server.client\ |
77 |
|
uk.org.iscream.cms.server.client.monitors\ |
78 |
|
uk.org.iscream.cms.server.client.alerters |
102 |
|
SRCDIR = $(BUILD)/src |
103 |
|
# Files to be included in the source code dist |
104 |
|
SRCFILES = Config2.inc Makefile Makefile.inc README build.config \ |
105 |
< |
build.xml configure db uk idl COPYING \ |
105 |
> |
build.xml configure db uk idl COPYING Version.inc \ |
106 |
|
$(BUILDDIRNAME)/README $(BUILDDIRNAME)/etc \ |
107 |
|
$(BUILDDIRNAME)/lib $(BUILDDIRNAME)/run.bat \ |
108 |
< |
$(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile |
108 |
> |
$(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile \ |
109 |
> |
$(BUILDDIRNAME)/COPYING |
110 |
|
|
111 |
|
# User configurable options - defaults |
106 |
– |
tag = HEAD |
107 |
– |
ver = HEAD |
112 |
|
dest = $(BUILD) |
113 |
< |
prefix = /usr/local/$(DISTNAME) |
113 |
> |
prefix = /opt/$(DISTNAME)-$(VERSION) |
114 |
|
|
115 |
|
# Install Prefix |
116 |
< |
INSTALL = $(prefix) |
113 |
< |
VERSION = $(ver) |
116 |
> |
INSTALLPREFIX = $(prefix) |
117 |
|
DISTDEST = $(dest) |
115 |
– |
CVSTAG = $(tag) |
118 |
|
|
119 |
|
# Archive extensions |
120 |
|
TAREXT = .tar |
121 |
|
TARGZEXT = .tar.gz |
122 |
|
ZIPEXT = .zip |
123 |
+ |
SIGEXT = .asc |
124 |
|
|
125 |
|
# Subdirectory the dist should be in |
126 |
|
DISTDIR = $(DISTNAME)-$(VERSION) |
128 |
|
# Name of various distfiles |
129 |
|
TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT) |
130 |
|
TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT) |
131 |
+ |
TARGZFILESIG = $(TARGZFILE)$(SIGEXT) |
132 |
|
ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT) |
133 |
+ |
ZIPFILESIG = $(ZIPFILE)$(SIGEXT) |
134 |
+ |
BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT) |
135 |
+ |
BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT) |
136 |
+ |
BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT) |
137 |
+ |
BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT) |
138 |
+ |
BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT) |