1 # $NetBSD: Makefile,v 1.20 2008/07/12 12:29:42 gmcgarry Exp $
7 SRCS
= crypt.c md5crypt.c bcrypt.c crypt-sha1.c util.c pw_gensalt.c
13 MLINKS
= crypt
.3 encrypt
.3 crypt
.3 setkey
.3
19 ${CC} -o
$@
-DUNIT_TEST
-DMAIN
${LDSTATIC} ${.IMPSRC
} ${LDADD}
20 LDADD
+= -L
${.OBJDIR
} -l
${LIB} -L
${.OBJDIR
}/..
/..
/libc
23 .
include <bsd.prog.mk
>
28 .if
(defined
(HAVE_GCC
) && ${HAVE_GCC} == 4) || defined
(HAVE_PCC
)
29 COPTS.crypt-sha1.c
+= -Wno-pointer-sign