2001-03-19 07:13:16 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.6 2001/03/19 04:13:17 atatat Exp $
|
1999-02-13 05:54:17 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1997-01-30 04:01:39 +03:00
|
|
|
|
2001-03-19 07:13:16 +03:00
|
|
|
# MD2/MD4/MD5 sources
|
1999-02-24 18:05:20 +03:00
|
|
|
.PATH: ${ARCHDIR}/md ${.CURDIR}/md
|
1997-01-30 04:01:39 +03:00
|
|
|
|
2001-03-19 07:13:16 +03:00
|
|
|
SRCS+= md2c.c md4c.c md5c.c md2hl.c md4hl.c md5hl.c
|
1997-01-30 04:01:39 +03:00
|
|
|
|
2001-03-19 07:13:16 +03:00
|
|
|
MAN+= md2.3 md4.3 md5.3
|
1997-01-30 04:01:39 +03:00
|
|
|
|
2001-03-19 07:13:16 +03:00
|
|
|
MLINKS+=md2.3 MD2Init.3 md2.3 MD2Update.3 md2.3 MD2Final.3
|
|
|
|
MLINKS+=md2.3 MD2End.3 md2.3 MD2File.3 md2.3 MD2Data.3
|
1997-01-30 04:01:39 +03:00
|
|
|
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
|
|
|
|
|
2001-03-19 07:13:16 +03:00
|
|
|
CLEANFILES+= md[245]hl.c md[245].3
|
1997-01-30 04:01:39 +03:00
|
|
|
|
1999-02-13 05:54:17 +03:00
|
|
|
.if ${MKMAN} != "no"
|
2001-03-19 07:13:16 +03:00
|
|
|
md2.3: mdX.3
|
|
|
|
sed -e 's/mdX/md2/g' -e 's/MDX/MD2/g' $> > $@
|
|
|
|
cat ${>:H}/md2.copyright >> $@
|
|
|
|
|
1997-01-30 04:01:39 +03:00
|
|
|
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
|