etc/services - sync with NetBSD-8
[minix.git] / lib / libcrypt / Makefile
blobc3929466fcbcd0e67cc6c230fc9f36cb3d54ab21
1 # $NetBSD: Makefile,v 1.25 2013/08/10 18:42:29 dholland Exp $
3 USE_SHLIBDIR= yes
5 LIB= crypt
7 SRCS= crypt.c md5crypt.c bcrypt.c crypt-sha1.c util.c pw_gensalt.c
8 SRCS+= hmac_sha1.c
10 WARNS?= 5
12 MAN= crypt.3
13 MLINKS= crypt.3 encrypt.3 crypt.3 setkey.3
16 .if make(*.test)
17 .SUFFIXES: .test
18 .c.test:
19 ${CC} -o $@ -DUNIT_TEST -DMAIN ${LDSTATIC} ${.IMPSRC} ${LDADD}
20 LDADD+= -L${.OBJDIR} -l${LIB} -L${.OBJDIR}/../../libc
21 DPADD+= lib${LIB}.a
22 LDSTATIC?= -static
23 .include <bsd.prog.mk>
24 .else
25 .include <bsd.lib.mk>
26 .endif