1 1.1 thorpej # $NetBSD: Makefile.inc,v 1.1 1997/01/30 01:01:39 thorpej Exp $ 2 1.1 thorpej 3 1.1 thorpej # MD4/MD5 sources 4 1.1 thorpej .PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/md ${.CURDIR}/md 5 1.1 thorpej 6 1.1 thorpej SRCS+= md4c.c md5c.c md4hl.c md5hl.c 7 1.1 thorpej 8 1.1 thorpej MAN+= md4.3 md5.3 9 1.1 thorpej 10 1.1 thorpej MLINKS+=md4.3 MD4Init.3 md4.3 MD4Update.3 md4.3 MD4Final.3 11 1.1 thorpej MLINKS+=md4.3 MD4End.3 md4.3 MD4File.3 md4.3 MD4Data.3 12 1.1 thorpej MLINKS+=md5.3 MD5Init.3 md5.3 MD5Update.3 md5.3 MD5Final.3 13 1.1 thorpej MLINKS+=md5.3 MD5End.3 md5.3 MD5File.3 md5.3 MD5Data.3 14 1.1 thorpej 15 1.1 thorpej CLEANFILES+= md[45]hl.c md[45].3 16 1.1 thorpej 17 1.1 thorpej md4hl.c: mdXhl.c 18 1.1 thorpej sed -e 's/mdX/md4/g' -e 's/MDX/MD4/g' $> > $@ 19 1.1 thorpej 20 1.1 thorpej md5hl.c: mdXhl.c 21 1.1 thorpej sed -e 's/mdX/md5/g' -e 's/MDX/MD5/g' $> > $@ 22 1.1 thorpej 23 1.1 thorpej .if !defined(NOMAN) 24 1.1 thorpej md4.3: mdX.3 25 1.1 thorpej sed -e 's/mdX/md4/g' -e 's/MDX/MD4/g' $> > $@ 26 1.1 thorpej cat ${>:H}/md4.copyright >> $@ 27 1.1 thorpej 28 1.1 thorpej md5.3: mdX.3 29 1.1 thorpej sed -e 's/mdX/md5/g' -e 's/MDX/MD5/g' $> > $@ 30 1.1 thorpej cat ${>:H}/md5.copyright >> $@ 31 1.1 thorpej .endif 32 1.1 thorpej 33 1.1 thorpej beforedepend: md4hl.c md5hl.c 34