Merge branch 'vendor/LIBARCHIVE' into HEAD
[dragonfly.git] / games / factor / Makefile
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 $
3 # $DragonFly: src/games/factor/Makefile,v 1.4 2006/10/08 16:22:35 pavalos Exp $
4
5 PROG=   factor
6 SRCS=   factor.c pr_tbl.c
7 CFLAGS+=-I${.CURDIR}/../primes
8
9 .if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
10 CFLAGS+=-DHAVE_OPENSSL
11 LDADD+= -lcrypto
12 DPADD+= ${LIBCRYPTO}
13 .endif
14
15 MAN=    factor.6
16 MLINKS+=factor.6 primes.6
17 .PATH:  ${.CURDIR}/../primes
18
19 .include <bsd.prog.mk>