build - Significantly improve parallel buildworld times
[dragonfly.git] / games / factor / Makefile
CommitLineData
984263bc
MD
1# @(#)Makefile 8.1 (Berkeley) 5/31/93
2# $FreeBSD: src/games/factor/Makefile,v 1.2.6.2 2002/10/23 14:59:14 fanf Exp $
0ac6bf9d 3# $DragonFly: src/games/factor/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
984263bc
MD
4
5PROG= factor
6SRCS= factor.c pr_tbl.c
7CFLAGS+=-I${.CURDIR}/../primes
8
9.if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
10CFLAGS+=-DHAVE_OPENSSL
11LDADD+= -lcrypto
12DPADD+= ${LIBCRYPTO}
13.endif
14
15MAN= factor.6
16MLINKS+=factor.6 primes.6
17.PATH: ${.CURDIR}/../primes
18
19.include <bsd.prog.mk>