ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/util/Config2.inc
Revision: 1.1
Committed: Wed Feb 5 14:27:58 2003 UTC (21 years, 10 months ago) by tdb
Branch: MAIN
Log Message:
Util package has been pulled out of the server. Next step will be to modify
the server and conient (and anything else?) to use this instead. New
package name is uk.org.iscream.cms.util. All the java files were moved with
a repo copy, so they retain their history.

File Contents

# User Rev Content
1 tdb 1.1 # Include Config for util package
2     # $Id$
3    
4     include $(SOURCEROOT)/Version.inc
5    
6     # Name of our dist
7     DISTNAME = iscream_util
8    
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     # 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     # Location of the build directory
30     BUILDDIRNAME = build
31     BUILD = $(SOURCEROOT)/$(BUILDDIRNAME)
32     # Relative (to BUILD) location of the libraries
33     LIBDIR = $(BUILD)/lib
34     # Location of the main include
35     MKINC = $(SOURCEROOT)/Makefile.inc
36    
37     # Compiler Information
38     JCLIBS = $(LIBDIR)/jaxp.jar:$(LIBDIR)/crimson.jar
39     JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):$(SOURCEROOT)/idl:.
40     # set JCFLAGS to these if you want to optimise and turn off debugging
41     #JCFLAGS = -g:none -O
42     JCFLAGS =
43    
44     # Name of JAR file (will be created in BUILD)
45     PACKAGE = $(DISTNAME).jar
46     # Class-path to be added to the Manifest
47     CLPATH = lib/jaxp.jar lib/crimson.jar
48    
49     # CHECK Files (for dependencies)
50     MCOMPILECHECK = $(SOURCEROOT)/$(COMPILECHECK)
51     SRCCHECK = $(SOURCEROOT)/.donesrc
52     JAVADOCCHECK = $(SOURCEROOT)/.donejavadoc
53     MKDISTCHECK = $(BUILD)/.donemkdist
54     MKDISTBINCHECK = $(BUILD)/.donemkdistbin
55     MKDISTFILESCHECK = $(BUILD)/.donemkdistfiles
56     MKDISTFILESBINCHECK = $(BUILD)/.donemkdistfilesbin
57     COMPILECHECK = .donecompile
58     COPYCHECK = .donecopy
59    
60     # Javadoc package list
61     PKGLIST = uk.org.iscream.cms.util
62    
63     # Javadoc formatting
64     JDTITLE = "i-scream CMS util"
65     JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>"
66     JDBOTTOM = "<i>Copyright &\#169; 2000-2002 i-scream. All Rights Reserved.</i>"
67    
68     # Javadoc Directories
69     DOCDIR = $(BUILD)/doc
70     DOCTMPDIR = $(BUILD)/.doctemp
71     APICACHE = $(SOURCEROOT)/.api-cache
72    
73     # Javadoc API linking
74     JDJAPI = "http://java.sun.com/j2se/1.3/docs/api/"
75    
76     # Javadoc API cache
77     JDJAPIC = $(APICACHE)/jdk
78    
79     # ChangeLog file
80     CHANGELOG = $(BUILD)/ChangeLog
81    
82     # Directory to put the source code in
83     SRCDIR = $(BUILD)/src
84     # Files to be included in the source code dist
85     SRCFILES = Config2.inc Makefile Makefile.inc Version.inc README \
86     configure uk COPYING $(BUILDDIRNAME)/README \
87     $(BUILDDIRNAME)/lib $(BUILDDIRNAME)/Makefile
88    
89     # User configurable options - defaults
90     dest = $(BUILD)
91    
92     # Distribution directory
93     DISTDEST = $(dest)
94    
95     # Archive extensions
96     TAREXT = .tar
97     TARGZEXT = .tar.gz
98     ZIPEXT = .zip
99     SIGEXT = .asc
100    
101     # Subdirectory the dist should be in
102     DISTDIR = $(DISTNAME)-$(VERSION)
103    
104     # Name of various distfiles
105     TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT)
106     TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT)
107     TARGZFILESIG = $(TARGZFILE)$(SIGEXT)
108     ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT)
109     ZIPFILESIG = $(ZIPFILE)$(SIGEXT)
110     BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT)
111     BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT)
112     BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT)
113     BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT)
114     BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT)