| 1 |
# Include Config for the rrd graphing |
| 2 |
# $Id: Config2.inc,v 1.3 2003/02/16 20:35:58 tdb Exp $ |
| 3 |
|
| 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:/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 |
# License file |
| 42 |
LICFILE = COPYING |
| 43 |
|
| 44 |
FILES = graph.pl rrdgraphing.conf watch.pl iscream README |
| 45 |
|
| 46 |
# User configurable options - defaults |
| 47 |
dest = $(BUILD) |
| 48 |
prefix = /opt/$(DISTNAME)-$(VERSION) |
| 49 |
|
| 50 |
# Install Prefix |
| 51 |
INSTALLPREFIX = $(prefix) |
| 52 |
DISTDEST = $(dest) |
| 53 |
|
| 54 |
# Archive extensions |
| 55 |
TAREXT = .tar |
| 56 |
TARGZEXT = .tar.gz |
| 57 |
ZIPEXT = .zip |
| 58 |
SIGEXT = .asc |
| 59 |
|
| 60 |
# Subdirectory the dist should be in |
| 61 |
DISTDIR = $(DISTNAME)-$(VERSION) |
| 62 |
|
| 63 |
# Name of various distfiles |
| 64 |
TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT) |
| 65 |
TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT) |
| 66 |
TARGZFILESIG = $(TARGZFILE)$(SIGEXT) |
| 67 |
ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT) |
| 68 |
ZIPFILESIG = $(ZIPFILE)$(SIGEXT) |
| 69 |
BINTARFILE = $(DISTNAME)-bin-$(VERSION)$(TAREXT) |
| 70 |
BINTARGZFILE = $(DISTNAME)-bin-$(VERSION)$(TARGZEXT) |
| 71 |
BINTARGZFILESIG = $(BINTARGZFILE)$(SIGEXT) |
| 72 |
BINZIPFILE = $(DISTNAME)-bin-$(VERSION)$(ZIPEXT) |
| 73 |
BINZIPFILESIG = $(BINZIPFILE)$(SIGEXT) |