1 bb5b19e3 2020-01-28 stsp KCGIBASE ?= /usr/local
2 bb5b19e3 2020-01-28 stsp LDADD += -lz -lutil
3 bb5b19e3 2020-01-28 stsp LDSTATIC = ${STATIC}
4 1570c56f 2020-01-30 tracey CHROOT_DIR ?= /var/www
5 bb5b19e3 2020-01-28 stsp GOTWEB_DIR = /cgi-bin/gotweb
6 bb5b19e3 2020-01-28 stsp LIBEXECDIR = ${GOTWEB_DIR}/libexec
7 bb5b19e3 2020-01-28 stsp LIBEXEC_DIR = ${CHROOT_DIR}${LIBEXECDIR}
8 bb5b19e3 2020-01-28 stsp ETC_DIR = ${CHROOT_DIR}/etc
9 bb5b19e3 2020-01-28 stsp HTTPD_DIR = ${CHROOT_DIR}/htdocs
10 bb63914a 2020-02-17 stsp GOTWEB_TMP_DIR ?= /got/tmp
11 bb63914a 2020-02-17 stsp TMP_DIR = ${CHROOT_DIR}${GOTWEB_TMP_DIR}
12 bb5b19e3 2020-01-28 stsp PROG_DIR = ${HTTPD_DIR}/${PROG}
13 bb5b19e3 2020-01-28 stsp CGI_DIR = ${CHROOT_DIR}${GOTWEB_DIR}
14 bb5b19e3 2020-01-28 stsp TMPL_DIR = ${CGI_DIR}/gw_tmpl
15 bb5b19e3 2020-01-28 stsp PUB_REPOS_DIR = ${CHROOT_DIR}/got/public
16 bb5b19e3 2020-01-28 stsp WWWUSR ?= www
17 bb5b19e3 2020-01-28 stsp WWWGRP ?= www
19 bb63914a 2020-02-17 stsp CPPFLAGS += -DGOT_TMPDIR=${GOTWEB_TMP_DIR}
21 7a6dddae 2021-06-18 stsp .if defined(PROFILE)
22 7a6dddae 2021-06-18 stsp CPPFLAGS += -DPROFILE
23 7a6dddae 2021-06-18 stsp DEBUG = -O0 -pg -g -static
25 7a6dddae 2021-06-18 stsp DEBUG = -O0 -g