1 |
tdb |
1.1 |
# Include Config for conient |
2 |
tdb |
1.18 |
# $Id: Config2.inc,v 1.17 2003/02/06 09:48:19 tdb Exp $ |
3 |
tdb |
1.1 |
|
4 |
tdb |
1.17 |
include $(SOURCEROOT)/Version.inc |
5 |
tdb |
1.1 |
|
6 |
tdb |
1.17 |
# Name of our dist |
7 |
|
|
DISTNAME = iscream_conient |
8 |
tdb |
1.1 |
|
9 |
tdb |
1.17 |
# Location of the i-scream CVS Repository Root |
10 |
tdb |
1.15 |
CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream |
11 |
tdb |
1.6 |
|
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.1 |
|
15 |
tdb |
1.17 |
# 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 |
tdb |
1.1 |
# Location of the build directory |
30 |
tdb |
1.17 |
BUILDDIRNAME = build |
31 |
|
|
BUILD = $(SOURCEROOT)/$(BUILDDIRNAME) |
32 |
tdb |
1.1 |
# Relative (to BUILD) location of the libraries |
33 |
|
|
LIBDIR = $(BUILD)/lib |
34 |
|
|
# Location of the main include |
35 |
|
|
MKINC = $(SOURCEROOT)/Makefile.inc |
36 |
|
|
|
37 |
tdb |
1.17 |
# Compiler Information |
38 |
|
|
JCLIBS = $(LIBDIR)/jaxp.jar:$(LIBDIR)/crimson.jar:$(LIBDIR)/iscream_util.jar |
39 |
|
|
JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):. |
40 |
tdb |
1.7 |
# set JCFLAGS to these if you want to optimise and turn off debugging |
41 |
|
|
#JCFLAGS = -g:none -O |
42 |
|
|
JCFLAGS = |
43 |
tdb |
1.1 |
|
44 |
|
|
# Name of JAR file (will be created in BUILD) |
45 |
tdb |
1.17 |
PACKAGE = $(DISTNAME).jar |
46 |
tdb |
1.1 |
# Main-class to be added to the Manifest |
47 |
tdb |
1.11 |
MAINCLASS = uk.org.iscream.cms.conient.Conient |
48 |
tdb |
1.1 |
# Class-path to be added to the Manifest |
49 |
tdb |
1.17 |
CLPATH = lib/jaxp.jar lib/crimson.jar lib/iscream_util.jar |
50 |
tdb |
1.1 |
|
51 |
tdb |
1.17 |
# CHECK Files (for dependencies) |
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 |
|
|
MKDISTFILESBINCHECK = $(BUILD)/.donemkdistfilesbin |
59 |
tdb |
1.1 |
COMPILECHECK = .donecompile |
60 |
tdb |
1.3 |
COPYCHECK = .donecopy |
61 |
tdb |
1.1 |
|
62 |
tdb |
1.17 |
# Javadoc package list |
63 |
tdb |
1.11 |
PKGLIST = uk.org.iscream.cms.conient\ |
64 |
tdb |
1.17 |
uk.org.iscream.cms.conient.datacomponents |
65 |
tdb |
1.10 |
|
66 |
tdb |
1.17 |
# Javadoc formatting |
67 |
|
|
JDTITLE = "i-scream CMS conient" |
68 |
tdb |
1.10 |
JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>" |
69 |
tdb |
1.14 |
JDBOTTOM = "<i>Copyright &\#169; 2000-2002 i-scream. All Rights Reserved.</i>" |
70 |
|
|
|
71 |
tdb |
1.17 |
# Javadoc Directories |
72 |
|
|
DOCDIR = $(BUILD)/doc |
73 |
|
|
APICACHE = $(SOURCEROOT)/.api-cache |
74 |
|
|
|
75 |
|
|
# Javadoc API linking |
76 |
tdb |
1.14 |
JDJAPI = "http://java.sun.com/j2se/1.3/docs/api/" |
77 |
tdb |
1.1 |
|
78 |
tdb |
1.17 |
# Javadoc API cache |
79 |
|
|
JDJAPIC = $(APICACHE)/jdk |
80 |
|
|
|
81 |
|
|
# ChangeLog file |
82 |
|
|
CHANGELOG = $(BUILD)/ChangeLog |
83 |
|
|
|
84 |
|
|
# Directory to put the source code in |
85 |
|
|
SRCDIR = $(BUILD)/src |
86 |
|
|
# Files to be included in the source code dist |
87 |
|
|
SRCFILES = Config2.inc Makefile Makefile.inc README build.config \ |
88 |
|
|
build.xml configure uk COPYING Version.inc \ |
89 |
tdb |
1.18 |
$(BUILDDIRNAME)/COPYING $(BUILDDIRNAME)/etc \ |
90 |
tdb |
1.17 |
$(BUILDDIRNAME)/lib $(BUILDDIRNAME)/run.bat \ |
91 |
tdb |
1.18 |
$(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile \ |
92 |
|
|
$(BUILDDIRNAME)/resources |
93 |
tdb |
1.17 |
|
94 |
|
|
# User configurable options - defaults |
95 |
|
|
dest = $(BUILD) |
96 |
|
|
prefix = /opt/$(DISTNAME)-$(VERSION) |
97 |
|
|
|
98 |
|
|
# Install Prefix |
99 |
|
|
INSTALLPREFIX = $(prefix) |
100 |
|
|
DISTDEST = $(dest) |
101 |
|
|
|
102 |
|
|
# Archive extensions |
103 |
|
|
TAREXT = .tar |
104 |
|
|
TARGZEXT = .tar.gz |
105 |
|
|
ZIPEXT = .zip |
106 |
|
|
SIGEXT = .asc |
107 |
|
|
|
108 |
|
|
# Subdirectory the dist should be in |
109 |
|
|
DISTDIR = $(DISTNAME)-$(VERSION) |
110 |
|
|
|
111 |
|
|
# Name of various distfiles |
112 |
|
|
TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT) |
113 |
|
|
TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT) |
114 |
|
|
TARGZFILESIG = $(TARGZFILE)$(SIGEXT) |
115 |
|
|
ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT) |
116 |
|
|
ZIPFILESIG = $(ZIPFILE)$(SIGEXT) |
117 |
|
|
BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT) |
118 |
|
|
BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT) |
119 |
|
|
BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT) |
120 |
|
|
BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT) |
121 |
|
|
BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT) |