#
# Portsearch
#
# $Id: Makefile.var,v 1.4 2006/04/27 08:44:46 dd Exp $
#

LOCALBASE?=	/usr/local
PREFIX?=	${LOCALBASE}
DATADIR?=	${PREFIX}/share/portsearch

INSTALL?=	install
INSTALL_PROGRAM?=	${INSTALL} ${STRIP} -o root -g wheel -m 555
INSTALL_DATA?=	${INSTALL} -o root -g wheel -m 444
MAKE?=	/usr/bin/make
MKDEP?=	/usr/bin/mkdep
MKDIR?=	/bin/mkdir -p
RM?=	/bin/rm

CFLAGS+=	-Wall

.if defined(DEBUG) || defined(WITH_DEBUG)
CFLAGS+=	-Werror
CFLAGS:=	${CFLAGS:C/-O[023s]?//g} -g
STRIP=
.else
STRIP?=	-s
.endif

CFLAGS+=	-DDATADIR=\"${DATADIR}\"

# EOF


syntax highlighted by Code2HTML, v. 0.9.1