release.sh: restore -jJAILDIR option
[minix.git] / lib / libcrypt / Makefile
blob42ad3b1f6a3d5ff1f9b0f4f59f33a41f8c752eff
1 # $NetBSD: Makefile,v 1.24 2012/08/10 04:30:47 joerg Exp $
3 USE_SHLIBDIR= yes
4 #LSC MINIX Until the library gets updated
5 NOGCCERROR=yes
7 LIB= crypt
9 SRCS= crypt.c md5crypt.c bcrypt.c crypt-sha1.c util.c pw_gensalt.c
10 SRCS+= hmac_sha1.c
12 WARNS?= 5
14 MAN= crypt.3
15 MLINKS= crypt.3 encrypt.3 crypt.3 setkey.3
18 .if make(*.test)
19 .SUFFIXES: .test
20 .c.test:
21 ${CC} -o $@ -DUNIT_TEST -DMAIN ${LDSTATIC} ${.IMPSRC} ${LDADD}
22 LDADD+= -L${.OBJDIR} -l${LIB} -L${.OBJDIR}/../../libc
23 DPADD+= lib${LIB}.a
24 LDSTATIC?= -static
25 .include <bsd.prog.mk>
26 .else
27 .include <bsd.lib.mk>
28 .endif
30 COPTS.crypt-sha1.c+= -Wno-pointer-sign