summaryrefslogtreecommitdiffstats
path: root/games/factor/Makefile
blob: ffeae9c5932d4449c41fe1f80f141a33c6841bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	@(#)Makefile	8.1 (Berkeley) 5/31/93
# $FreeBSD$

PROG=	factor
SRCS=	factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes

.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
CFLAGS+=-DHAVE_OPENSSL
LDADD+=	-lcrypto
DPADD+=	${LIBCRYPTO}
.endif

MAN=	factor.6
MLINKS+=factor.6 primes.6
.PATH:	${.CURDIR}/../primes

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud