Clean up some Makefiles (let the user decide which options they want).
[dragonfly.git] / games / factor / Makefile
blob486ba3242a754f8a99426e483931b8123b3c6aff
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 $
5 PROG= factor
6 SRCS= factor.c pr_tbl.c
7 CFLAGS+=-I${.CURDIR}/../primes
9 .if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
10 CFLAGS+=-DHAVE_OPENSSL
11 LDADD+= -lcrypto
12 DPADD+= ${LIBCRYPTO}
13 .endif
15 MAN= factor.6
16 MLINKS+=factor.6 primes.6
17 .PATH: ${.CURDIR}/../primes
19 .include <bsd.prog.mk>