Blob


1 CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSION=${GOT_VERSION}
2 #CFLAGS += -DGOT_PACK_NO_MMAP
3 #CFLAGS += -DGOT_NO_OBJ_CACHE
4 #CFLAGS += -DGOT_OBJ_CACHE_DEBUG
6 .if "${GOT_RELEASE}" == "Yes"
7 PREFIX ?= /usr/local
8 BINDIR ?= ${PREFIX}/bin
9 LIBEXECDIR ?= ${PREFIX}/libexec
10 MANDIR ?= ${PREFIX}/man/man
11 .else
12 CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
13 PREFIX ?= ${HOME}
14 BINDIR ?= ${PREFIX}/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 -static
25 .else
26 DEBUG = -O0 -g
27 .endif
29 .endif