xref: /minix3/games/factor/Makefile (revision c1f592a24c56302c3d77330920ae55c1c8936925)
1*c1f592a2SThomas Cort#	$NetBSD: Makefile,v 1.12 2005/03/09 03:11:21 christos Exp $
2*c1f592a2SThomas Cort#	@(#)Makefile	8.1 (Berkeley) 5/31/93
3*c1f592a2SThomas Cort
4*c1f592a2SThomas Cort# For MKCRYPTO
5*c1f592a2SThomas Cort.include <bsd.own.mk>
6*c1f592a2SThomas Cort
7*c1f592a2SThomas CortPRIMES=	${NETBSDSRCDIR}/games/primes
8*c1f592a2SThomas Cort
9*c1f592a2SThomas CortPROG=	factor
10*c1f592a2SThomas CortSRCS=	factor.c pr_tbl.c
11*c1f592a2SThomas CortCPPFLAGS+=-I${PRIMES}
12*c1f592a2SThomas Cort
13*c1f592a2SThomas Cort.if (${MKCRYPTO} != "no")
14*c1f592a2SThomas CortCPPFLAGS+=-DHAVE_OPENSSL
15*c1f592a2SThomas CortLDADD+=	-lcrypto -lcrypt
16*c1f592a2SThomas CortDPADD+=	${LIBCRYPTO} ${LIBCRYPT}
17*c1f592a2SThomas Cort.endif
18*c1f592a2SThomas Cort
19*c1f592a2SThomas CortMAN=	factor.6
20*c1f592a2SThomas Cort.PATH:	${PRIMES}
21*c1f592a2SThomas Cort
22*c1f592a2SThomas Cort.include <bsd.prog.mk>
23