- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
26 lines
508 B
Makefile
26 lines
508 B
Makefile
# $NetBSD: Makefile,v 1.25 2013/08/10 18:42:29 dholland 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
|