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
5 #CFLAGS += -DGOT_DIFF_NO_MMAP
7 .if "${GOT_RELEASE}" == "Yes"
9 BINDIR ?= ${PREFIX}/bin
10 LIBEXECDIR ?= ${PREFIX}/libexec
11 MANDIR ?= ${PREFIX}/man/man
13 CFLAGS += -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
14 CFLAGS += -Wwrite-strings -Wunused-variable
16 BINDIR ?= ${PREFIX}/bin
17 LIBEXECDIR ?= ${BINDIR}
26 DEBUG = -O0 -pg -g -static