Tag
Hash :
18988150
Author :
Date :
2019-08-15T17:07:00
CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSION=${GOT_VERSION}
CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
#CFLAGS += -DGOT_PACK_NO_MMAP
#CFLAGS += -DGOT_NO_OBJ_CACHE
#CFLAGS += -DGOT_OBJ_CACHE_DEBUG
.if ${GOT_RELEASE} == "Yes"
PREFIX ?= /usr/local
BINDIR ?= ${PREFIX}/bin
LIBEXECDIR ?= ${PREFIX}/libexec
MANDIR ?= ${PREFIX}/man/man
.else
PREFIX ?= ${HOME}
BINDIR ?= ${PREFIX}/bin
LIBEXECDIR ?= ${BINDIR}
BINOWN ?= ${USER}
.if !defined(BINGRP)
BINGRP != id -g -n
.endif
.if defined(PROFILE)
CPPFLAGS += -DPROFILE
DEBUG = -O0 -pg -g
.else
DEBUG = -O0 -g
.endif
.endif