Blob


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"
8 PREFIX ?= /usr/local
9 BINDIR ?= ${PREFIX}/bin
10 LIBEXECDIR ?= ${PREFIX}/libexec
11 MANDIR ?= ${PREFIX}/man/man
12 .else
13 PREFIX ?= ${HOME}
14 BINDIR ?= ${HOME}/bin
15 LIBEXECDIR ?= ${BINDIR}
17 BINOWN ?= ${USER}
18 .if !defined(BINGRP)
19 BINGRP != id -g -n
20 .endif
22 .if defined(PROFILE)
23 CPPFLAGS += -DPROFILE
24 DEBUG = -O0 -pg -g
25 .else
26 DEBUG = -O0 -g
27 .endif
29 .endif