summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-03-18 21:37:05 +0000
committerru <ru@FreeBSD.org>2006-03-18 21:37:05 +0000
commit5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba (patch)
tree6851b1ccb04bc6d6a4b43ddbc6c2e16e2b682eb3 /usr.bin
parentf00375a188c2cdbd95c0d7c2bc960351161eabef (diff)
downloadFreeBSD-src-5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba.zip
FreeBSD-src-5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba.tar.gz
Convert NO_PROFILE and NO_LIB32 to new style.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/lex/lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/lex/lib/Makefile b/usr.bin/lex/lib/Makefile
index 51d71b6..f94eaab 100644
--- a/usr.bin/lex/lib/Makefile
+++ b/usr.bin/lex/lib/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
LIB= ln
SRCS= libmain.c libyywrap.c
NO_PIC=
@@ -7,7 +9,7 @@ NO_PIC=
LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a
LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a
-.if !defined(NO_PROFILE)
+.if ${MK_PROFILE} != "no"
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libfl_p.a
.endif
OpenPOWER on IntegriCloud