1 |
tdb |
1.1 |
# Include Config for the rrd graphing |
2 |
tdb |
1.2 |
# $Id: Config2.inc,v 1.1 2003/02/16 01:00:53 tdb Exp $ |
3 |
tdb |
1.1 |
|
4 |
|
|
include $(SOURCEROOT)/Version.inc |
5 |
|
|
|
6 |
|
|
# Name of our dist |
7 |
|
|
DISTNAME = iscream_rrdgraphing |
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 |
|
|
# Location of the main include |
29 |
|
|
MKINC = $(SOURCEROOT)/Makefile.inc |
30 |
|
|
|
31 |
|
|
# CHECK Files (for dependencies) |
32 |
|
|
MCOMPILECHECK = $(SOURCEROOT)/$(COMPILECHECK) |
33 |
|
|
MKDISTCHECK = $(BUILD)/.donemkdist |
34 |
|
|
MKDISTFILESCHECK = $(BUILD)/.donemkdistfiles |
35 |
|
|
COMPILECHECK = .donecompile |
36 |
|
|
COPYCHECK = .donecopy |
37 |
|
|
|
38 |
|
|
# ChangeLog file |
39 |
|
|
CHANGELOG = $(BUILD)/ChangeLog |
40 |
|
|
|
41 |
tdb |
1.2 |
FILES = graph.pl rrdgraphing.conf watch.pl iscream README |
42 |
tdb |
1.1 |
|
43 |
|
|
# User configurable options - defaults |
44 |
|
|
dest = $(BUILD) |
45 |
|
|
prefix = /opt/$(DISTNAME)-$(VERSION) |
46 |
|
|
|
47 |
|
|
# Install Prefix |
48 |
|
|
INSTALLPREFIX = $(prefix) |
49 |
|
|
DISTDEST = $(dest) |
50 |
|
|
|
51 |
|
|
# Archive extensions |
52 |
|
|
TAREXT = .tar |
53 |
|
|
TARGZEXT = .tar.gz |
54 |
|
|
ZIPEXT = .zip |
55 |
|
|
SIGEXT = .asc |
56 |
|
|
|
57 |
|
|
# Subdirectory the dist should be in |
58 |
|
|
DISTDIR = $(DISTNAME)-$(VERSION) |
59 |
|
|
|
60 |
|
|
# Name of various distfiles |
61 |
|
|
TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT) |
62 |
|
|
TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT) |
63 |
|
|
TARGZFILESIG = $(TARGZFILE)$(SIGEXT) |
64 |
|
|
ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT) |
65 |
|
|
ZIPFILESIG = $(ZIPFILE)$(SIGEXT) |
66 |
|
|
BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT) |
67 |
|
|
BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT) |
68 |
|
|
BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT) |
69 |
|
|
BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT) |
70 |
|
|
BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT) |