mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 04:12:51 +00:00
daaf575910
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
20 lines
325 B
Makefile
20 lines
325 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if exists(${.CURDIR}/../../lib/libcrypt/obj)
|
|
CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt/obj
|
|
.else
|
|
CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
|
|
.endif
|
|
|
|
.if ${MK_IDEA} == "no"
|
|
CFLAGS+= -DNO_IDEA
|
|
.endif
|
|
|
|
.if ${MK_OPENSSH} != "no"
|
|
SSHDIR= ${.CURDIR}/../../../crypto/openssh
|
|
.endif
|
|
|
|
WARNS?= 0
|