1 CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSION=${GOT_VERSION}
2 #CFLAGS += -DGOT_PACK_NO_MMAP
3 #CFLAGS += -DGOT_NO_OBJ_CACHE
4 #CFLAGS += -DGOT_NO_DELTA_CACHE
5 #CFLAGS += -DGOT_OBJ_CACHE_DEBUG
6 #CFLAGS += -DGOT_DELTA_CACHE_DEBUG
7 #CFLAGS += -DGOT_DIFF_NO_MMAP
9 .if "${GOT_RELEASE}" == "Yes"
11 BINDIR ?= ${PREFIX}/bin
12 LIBEXECDIR ?= ${PREFIX}/libexec
13 MANDIR ?= ${PREFIX}/man/man
15 CFLAGS += -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
16 CFLAGS += -Wwrite-strings -Wunused-variable
18 BINDIR ?= ${PREFIX}/bin
19 LIBEXECDIR ?= ${BINDIR}
28 DEBUG = -O0 -pg -g -static