HardenedBSD/gnu/usr.bin/gperf/Makefile
Warner Losh ffec315183 Convert gnu to using SRCTOP
Prefer SRCTOP over CURDIR/../../contrib, etc. However, retain the "up
one level" instances of ../ because they are really relative to this
part of the tree and not a means to find the root of the tree. As
such, it's better to leave them since that further the goal of being
able to move directories if watned to in the future.

Differential Revision:	https://reviews.freebsd.org/D9932
Sponsored by:		Netflix
Silence	On:		arch@ (twice)
2017-03-12 18:59:16 +00:00

18 lines
397 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
GPERFDIR= ${SRCTOP}/contrib/gperf
.PATH: ${GPERFDIR}/src ${GPERFDIR}/lib ${GPERFDIR}/doc
PROG_CXX= gperf
SRCS= bool-array.cc hash-table.cc input.cc keyword-list.cc keyword.cc \
main.cc options.cc output.cc positions.cc search.cc version.cc \
getline.cc hash.cc
WARNS= 1
MAN= gperf.1 gperf.7
CXXFLAGS+= -I${GPERFDIR}/lib -I${.CURDIR}
.include <bsd.prog.mk>