1 CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSION=${GOT_VERSION}
2 #CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
3 #CFLAGS += -DGOT_PACK_NO_MMAP
4 #CFLAGS += -DGOT_NO_OBJ_CACHE
5 #CFLAGS += -DGOT_OBJ_CACHE_DEBUG
7 .if "${GOT_RELEASE}" == "Yes"
9 BINDIR ?= ${PREFIX}/bin
10 LIBEXECDIR ?= ${PREFIX}/libexec
11 MANDIR ?= ${PREFIX}/man/man
14 BINDIR ?= ${PREFIX}/bin
15 LIBEXECDIR ?= ${BINDIR}
24 DEBUG = -O0 -pg -g -static
31 .if ${MAKEWEB} == "Yes"
32 LDADD = -L${PREFIX}/lib -static -lkcgihtml -lkcgi -lz -lutil
35 GOTWEB_DIR = /cgi-bin/gotweb
36 LIBEXECDIR = ${GOTWEB_DIR}/libexec
37 LIBEXEC_DIR = ${CHROOT_DIR}${LIBEXECDIR}
38 ETC_DIR = ${CHROOT_DIR}/etc
39 EXPL_DIR = ${ETC_DIR}/examples
40 HTTPD_DIR = ${CHROOT_DIR}/htdocs
41 PROG_DIR = ${HTTPD_DIR}/${PROG}
42 CGI_DIR = ${CHROOT_DIR}${GOTWEB_DIR}
43 TMPL_DIR = ${CGI_DIR}/gw_tmpl