diff options
author | ru <ru@FreeBSD.org> | 2007-10-20 19:01:50 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2007-10-20 19:01:50 +0000 |
commit | db64b4a4bcc907ff32d7d6e08c3b68229edbb051 (patch) | |
tree | ed5ca36d008b8deb749d62d3a799fb9af7a66c0f /usr.bin/lex | |
parent | c5e068d896110d36b2af67fd2901295bcf4c1c76 (diff) | |
download | FreeBSD-src-db64b4a4bcc907ff32d7d6e08c3b68229edbb051.zip FreeBSD-src-db64b4a4bcc907ff32d7d6e08c3b68229edbb051.tar.gz |
- Convert NO_INSTALLLIB option to a new syntax: makefiles should
test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB. The old
NO_INSTALLLIB is still supported as several makefiles set it.
- While here, fix an install when instructed not to install libs
(usr.bin/lex/lib/Makefile).
PR: bin/114200
Submitted by: Henrik Brix Andersen
Diffstat (limited to 'usr.bin/lex')
-rw-r--r-- | usr.bin/lex/lib/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/lex/lib/Makefile b/usr.bin/lex/lib/Makefile index f94eaab..dcc7518 100644 --- a/usr.bin/lex/lib/Makefile +++ b/usr.bin/lex/lib/Makefile @@ -6,8 +6,10 @@ LIB= ln SRCS= libmain.c libyywrap.c NO_PIC= +.if ${MK_INSTALLLIB} != "no" LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a +.endif .if ${MK_PROFILE} != "no" LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a |