minix/lib/libcrypt/Makefile
Lionel Sambuc f5435c74b7 Updating lib/libcrypt
Change-Id: I4dc5ca7c86abc5295ffc57386a14dd1d790fd489
2013-01-14 11:36:27 +01:00

29 lines
545 B
Makefile

# $NetBSD: Makefile,v 1.24 2012/08/10 04:30:47 joerg Exp $
USE_SHLIBDIR= yes
LIB= crypt
SRCS= crypt.c md5crypt.c bcrypt.c crypt-sha1.c util.c pw_gensalt.c
SRCS+= hmac_sha1.c
WARNS?= 5
MAN= crypt.3
MLINKS= crypt.3 encrypt.3 crypt.3 setkey.3
.if make(*.test)
.SUFFIXES: .test
.c.test:
${CC} -o $@ -DUNIT_TEST -DMAIN ${LDSTATIC} ${.IMPSRC} ${LDADD}
LDADD+= -L${.OBJDIR} -l${LIB} -L${.OBJDIR}/../../libc
DPADD+= lib${LIB}.a
LDSTATIC?= -static
.include <bsd.prog.mk>
.else
.include <bsd.lib.mk>
.endif
COPTS.crypt-sha1.c+= -Wno-pointer-sign