Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / games / factor / Makefile
blobaa0525245c642ba1f50ec5d93ce221ef7d7ef72e
1 # $NetBSD: Makefile,v 1.11 2004/02/08 13:16:25 jsm Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
4 # For MKCRYPTO
5 .include <bsd.own.mk>
7 PRIMES= ${NETBSDSRCDIR}/games/primes
9 PROG= factor
10 SRCS= factor.c pr_tbl.c
11 CPPFLAGS+=-I${PRIMES}
13 .if (${MKCRYPTO} != "no")
14 CPPFLAGS+=-DHAVE_OPENSSL
15 LDADD+= -lcrypto -lcrypt
16 DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
17 .endif
19 MAN= factor.6
20 .PATH: ${PRIMES}
22 .include <bsd.prog.mk>