ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/util/Config2.inc
Revision: 1.5
Committed: Sun Feb 16 20:35:59 2003 UTC (21 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.4: +7 -2 lines
Log Message:
Added install target for util package.
Removed duplicates copies of the COPYING (GPL License) file.

File Contents

# User Rev Content
1 tdb 1.1 # Include Config for util package
2 tdb 1.5 # $Id: Config2.inc,v 1.4 2003/02/11 22:00:57 tdb Exp $
3 tdb 1.1
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 tdb 1.2 CVS2CLFLAGS = --stdout --no-wrap -r -t -w -S -g "-d $(CVSROOT)" -g "-q"
19 tdb 1.1
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 tdb 1.3 JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):.
40 tdb 1.1 # 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 tdb 1.4 JDBOTTOM = "<i>Copyright &\#169; 2000-2003 i-scream. All Rights Reserved.</i>"
67 tdb 1.1
68     # Javadoc Directories
69     DOCDIR = $(BUILD)/doc
70     DOCTMPDIR = $(BUILD)/.doctemp
71     APICACHE = $(SOURCEROOT)/.api-cache
72    
73     # Javadoc API linking
74 tdb 1.4 JDJAPI = "http://java.sun.com/j2se/1.4.1/docs/api/"
75 tdb 1.1
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 tdb 1.5 # License file
90     LICFILE = COPYING
91    
92 tdb 1.1 # User configurable options - defaults
93     dest = $(BUILD)
94 tdb 1.5 prefix = /opt/$(DISTNAME)-$(VERSION)
95 tdb 1.1
96 tdb 1.5 # Install Prefix
97     INSTALLPREFIX = $(prefix)
98 tdb 1.1 DISTDEST = $(dest)
99    
100     # Archive extensions
101     TAREXT = .tar
102     TARGZEXT = .tar.gz
103     ZIPEXT = .zip
104     SIGEXT = .asc
105    
106     # Subdirectory the dist should be in
107     DISTDIR = $(DISTNAME)-$(VERSION)
108    
109     # Name of various distfiles
110     TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT)
111     TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT)
112     TARGZFILESIG = $(TARGZFILE)$(SIGEXT)
113     ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT)
114     ZIPFILESIG = $(ZIPFILE)$(SIGEXT)
115     BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT)
116     BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT)
117     BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT)
118     BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT)
119     BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT)