# $OpenBSD: Makefile.inc,v 1.12 2002/01/16 19:29:13 marc Exp $ # hash functions .PATH: ${LIBCSRCDIR}/hash SRCS+= sha1.c sha1hl.c rmd160.c rmd160hl.c MAN+= sha1.3 rmd160.3 MLINKS+=sha1.3 SHA1Init.3 sha1.3 SHA1Update.3 sha1.3 SHA1Final.3 MLINKS+=sha1.3 SHA1End.3 sha1.3 SHA1File.3 sha1.3 SHA1Data.3 MLINKS+=sha1.3 SHA1Transform.3 MLINKS+=rmd160.3 RMD160Init.3 rmd160.3 RMD160Update.3 rmd160.3 RMD160Final.3 MLINKS+=rmd160.3 RMD160End.3 rmd160.3 RMD160File.3 rmd160.3 RMD160Data.3 MLINKS+=rmd160.3 RMD160Transform.3 .if (${MACHINE_ARCH} == "sparc64") sha1.o: ${CC} ${CFLAGS} ${CPPFLAGS} -O0 -c ${.IMPSRC} sha1.po: ${CC} ${CFLAGS} ${CPPFLAGS} -O0 -c ${.IMPSRC} -o $@ sha1.so: ${CC} ${CFLAGS} ${CPPFLAGS} -O0 ${PICFLAG} -DPIC -c ${.IMPSRC} -o $@ sha1.go: ${CC} ${CFLAGS} ${CPPFLAGS} -O0 -g -c ${.IMPSRC} -o $@ .endif