1994-09-04 04:03:31 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
2001-03-20 18:08:43 +00:00
|
|
|
# $FreeBSD$
|
1994-09-04 04:03:31 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1994-09-04 04:03:31 +00:00
|
|
|
PROG= factor
|
|
|
|
SRCS= factor.c pr_tbl.c
|
|
|
|
CFLAGS+=-I${.CURDIR}/../primes
|
2002-10-09 19:55:04 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_OPENSSL} != "no"
|
2002-10-09 19:55:04 +00:00
|
|
|
CFLAGS+=-DHAVE_OPENSSL
|
2004-02-05 22:44:25 +00:00
|
|
|
DPADD= ${LIBCRYPTO}
|
2005-04-22 18:57:32 +00:00
|
|
|
LDADD= -lcrypto
|
2002-10-09 19:55:04 +00:00
|
|
|
.endif
|
|
|
|
|
2001-03-26 14:22:12 +00:00
|
|
|
MAN= factor.6
|
1994-09-04 04:03:31 +00:00
|
|
|
MLINKS+=factor.6 primes.6
|
|
|
|
.PATH: ${.CURDIR}/../primes
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|