blob: cc2aa8c3ba88d440c4b3bc4a49e2bba73287bf80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
# Toplevel Makefile for Xymon
# $FreeBSD$
BUILDTOPDIR=`pwd`
# configure settings for Xymon
#
# Toplevel dir
XYMONTOPDIR = ${PREFIX}/www/xymon
# Server home dir for etc/, bin/
XYMONHOME = ${PREFIX}/www/xymon/server
# Server data dir for hist/ etc.
XYMONVAR = ${PREFIX}/www/xymon/data
# CGI scripts go in CGIDIR
CGIDIR = ${PREFIX}/www/xymon/cgi-bin
# Admin CGI scripts go in SECURECGIDIR
SECURECGIDIR = ${PREFIX}/www/xymon/cgi-secure
# Where to put logfiles
XYMONLOGDIR = /var/log/xymon
# Where to install manpages
MANROOT = ${PREFIX}/man
# How to run fping or xymonping
FPING = xymonping
# Username running xymon
#XYMONUSER = nobody
# Xymon server hostname
#XYMONHOSTNAME = xymon.example.com
# Xymon server IP-address
#XYMONHOSTIP = 127.0.0.1
# Xymon server OS
XYMONHOSTOS = freebsd
# URL for Xymon webpages
XYMONHOSTURL = /xymon
# URL for Xymon CGIs
XYMONCGIURL = /xymon-cgi
# URL for Xymon Admin CGIs
SECUREXYMONCGIURL = /xymon-seccgi
# Webserver group-ID
HTTPDGID=80
# RRDtool settings
RRDDEF = -DRRDTOOL12
RRDINCDIR = -I${LOCALBASE}/include
RRDLIBS = -L${LOCALBASE}/lib -lrrd -L${LOCALBASE}/lib -lpng
RPATHVAL += ${LOCALBASE}/lib
# PCRE settings
PCREINCDIR = -I${LOCALBASE}/include
PCRELIBS = -L${LOCALBASE}/lib -lpcre
RPATHVAL += ${LOCALBASE}/lib
#
# OpenSSL settings
SSLFLAGS = -DHAVE_OPENSSL=1
SSLINCDIR = -I${OPENSSLINC}
SSLLIBS = -L${OPENSSLLIB} -lssl -lcrypto
RPATHVAL += ${OPENSSLLIB}
#
ifdef WITH_LDAP
# OpenLDAP settings
LDAPFLAGS = -DXYMON_LDAP -DXYMON_LDAP_USESTARTTLS
LDAPINCDIR = -I${PREFIX}/include
LDAPLIBS = -L${PREFIX}/lib -lldap -llber
RPATHVAL += ${PREFIX}/lib
endif
# clock_gettime() settings
LIBRTDEF =
ifdef WITH_NETSNMP
# Net-SNMP settings
DOSNMP = yes
else
DOSNMP = no
endif
# Large File Support settings
LFSDEF = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
include build/Makefile.FreeBSD
# Add local CFLAGS etc. settings here
include build/Makefile.rules
|