raw object blocksize and read buffer were unused; remove them
[got-portable.git] / Makefile.inc
blob328c4a1e1795d88a1e53519b52ad67b9e682f85a
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"
8 PREFIX ?= /usr/local
9 BINDIR ?= ${PREFIX}/bin
10 LIBEXECDIR ?= ${PREFIX}/libexec
11 MANDIR ?= ${PREFIX}/man/man
12 .else
13 CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable
14 PREFIX ?= ${HOME}
15 BINDIR ?= ${PREFIX}/bin
16 LIBEXECDIR ?= ${BINDIR}
18 BINOWN ?= ${USER}
19 .if !defined(BINGRP)
20 BINGRP != id -g -n
21 .endif
23 .if defined(PROFILE)
24 CPPFLAGS += -DPROFILE
25 DEBUG = -O0 -pg -g -static
26 .else
27 DEBUG = -O0 -g
28 .endif
30 .endif