f14fb60209
* Updating common/lib * Updating lib/csu * Updating lib/libc * Updating libexec/ld.elf_so * Corrected test on __minix in featuretest to actually follow the meaning of the comment. * Cleaned up _REENTRANT-related defintions. * Disabled -D_REENTRANT for libfetch * Removing some unneeded __NBSD_LIBC defines and tests Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
27 lines
678 B
Makefile
27 lines
678 B
Makefile
# $NetBSD: Makefile.inc,v 1.7 2005/09/24 20:51:14 elad Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
# MD4/MD5 sources
|
|
.PATH: ${ARCHDIR}/md ${.CURDIR}/md
|
|
|
|
SRCS+= md4c.c md5c.c md4hl.c md5hl.c
|
|
|
|
MAN+= md4.3 md5.3
|
|
|
|
MLINKS+=md4.3 MD4Init.3 md4.3 MD4Update.3 md4.3 MD4Final.3
|
|
MLINKS+=md4.3 MD4End.3 md4.3 MD4File.3 md4.3 MD4Data.3
|
|
MLINKS+=md5.3 MD5Init.3 md5.3 MD5Update.3 md5.3 MD5Final.3
|
|
MLINKS+=md5.3 MD5End.3 md5.3 MD5File.3 md5.3 MD5Data.3
|
|
|
|
CLEANFILES+= md[45]hl.c md[45].3
|
|
|
|
.if ${MKMAN} != "no"
|
|
md4.3: mdX.3
|
|
sed -e 's/mdX/md4/g' -e 's/MDX/MD4/g' $> > $@
|
|
cat ${>:H}/md4.copyright >> $@
|
|
|
|
md5.3: mdX.3
|
|
sed -e 's/mdX/md5/g' -e 's/MDX/MD5/g' $> > $@
|
|
cat ${>:H}/md5.copyright >> $@
|
|
.endif
|