1 |
# Include Config for the php pages |
2 |
# $Id$ |
3 |
|
4 |
include $(SOURCEROOT)/Version.inc |
5 |
|
6 |
# Name of our dist |
7 |
DISTNAME = iscream_php |
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 --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 |
# Location of the build directory |
26 |
BUILDDIRNAME = build |
27 |
BUILD = $(SOURCEROOT)/$(BUILDDIRNAME) |
28 |
TMPDIR = $(BUILD)/tmp |
29 |
# Location of the main include |
30 |
MKINC = $(SOURCEROOT)/Makefile.inc |
31 |
|
32 |
# CHECK Files (for dependencies) |
33 |
MCOMPILECHECK = $(SOURCEROOT)/$(COMPILECHECK) |
34 |
MKDISTCHECK = $(BUILD)/.donemkdist |
35 |
MKDISTFILESCHECK = $(BUILD)/.donemkdistfiles |
36 |
COMPILECHECK = .donecompile |
37 |
COPYCHECK = .donecopy |
38 |
|
39 |
# ChangeLog file |
40 |
CHANGELOG = $(BUILD)/ChangeLog |
41 |
|
42 |
FILES = README alerts/* graphs/* historical/* index/* latest/* \ |
43 |
logins/* public/* shared/* COPYING |
44 |
|
45 |
# User configurable options - defaults |
46 |
dest = $(BUILD) |
47 |
prefix = /opt/$(DISTNAME)-$(VERSION) |
48 |
|
49 |
# Install Prefix |
50 |
INSTALLPREFIX = $(prefix) |
51 |
DISTDEST = $(dest) |
52 |
|
53 |
# Archive extensions |
54 |
TAREXT = .tar |
55 |
TARGZEXT = .tar.gz |
56 |
ZIPEXT = .zip |
57 |
SIGEXT = .asc |
58 |
|
59 |
# Subdirectory the dist should be in |
60 |
DISTDIR = $(DISTNAME)-$(VERSION) |
61 |
|
62 |
# Name of various distfiles |
63 |
TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT) |
64 |
TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT) |
65 |
TARGZFILESIG = $(TARGZFILE)$(SIGEXT) |
66 |
ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT) |
67 |
ZIPFILESIG = $(ZIPFILE)$(SIGEXT) |
68 |
BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT) |
69 |
BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT) |
70 |
BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT) |
71 |
BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT) |
72 |
BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT) |