head	1.2;
access;
symbols
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.18
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.16
	perseant-exfatfs-base:1.2
	netbsd-9-4-RELEASE:1.2
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.14
	netbsd-10-base:1.2
	netbsd-9-3-RELEASE:1.2
	cjep_sun2x-base1:1.2
	cjep_sun2x:1.2.0.12
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	netbsd-9-2-RELEASE:1.2
	cjep_staticlib_x:1.2.0.10
	cjep_staticlib_x-base:1.2
	netbsd-9-1-RELEASE:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	is-mlppp:1.2.0.8
	is-mlppp-base:1.2
	phil-wifi-20200406:1.2
	netbsd-9-0-RELEASE:1.2
	netbsd-9-0-RC2:1.2
	netbsd-9-0-RC1:1.2
	phil-wifi-20191119:1.2
	netbsd-9:1.2.0.6
	netbsd-9-base:1.2
	phil-wifi-20190609:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	pgoyette-compat-0728:1.2
	phil-wifi:1.2.0.4
	phil-wifi-base:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	pgoyette-compat:1.2.0.2
	pgoyette-compat-base:1.2;
locks; strict;
comment	@# @;


1.2
date	2018.03.05.16.43.50;	author christos;	state Exp;
branches;
next	1.1;
commitid	I1l7ffImOjGdZhtA;

1.1
date	2018.03.04.00.59.44;	author christos;	state Exp;
branches;
next	;
commitid	DDBzUfd4AF3pN4tA;


desc
@@


1.2
log
@Handle mips64 properly.
@
text
@#	$NetBSD: Makefile,v 1.1 2018/03/04 00:59:44 christos Exp $

.include "bsd.own.mk"

CRYPTODIST=${NETBSDSRCDIR}/crypto
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"

regen:
	for i in $$(find ${OPENSSLSRC} -name \*mips\*.pl); \
	do \
		case $$i in \
		(*poly*) perl -I${OPENSSLSRC}/crypto/perlasm \
			    -I${OPENSSLSRC}/crypto/bn/asm $$i 64 /dev/stdout \
			    > $$(basename $$i .pl)64.S;; \
		(*) perl -I${OPENSSLSRC}/crypto/perlasm \
			-I${OPENSSLSRC}/crypto/bn/asm $$i o32 /dev/stdout \
			> $$(basename $$i .pl).S; \
		    perl -I${OPENSSLSRC}/crypto/perlasm \
			-I${OPENSSLSRC}/crypto/bn/asm $$i 64 /dev/stdout \
			> $$(basename $$i .pl)64.S;; \
		esac; \
	done
@


1.1
log
@regen
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2018/03/03 00:20:57 christos Exp $
a8 1
	# poly is mips64 only
d12 3
a14 1
		(*poly*);; \
d16 5
a20 2
		-I${OPENSSLSRC}/crypto/bn/asm $$i linux /dev/stdout \
		> $$(basename $$i .pl).S;; \
@

