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
|
|
|
|
|
|
|
PROG= factor
|
|
|
|
SRCS= factor.c pr_tbl.c
|
|
|
|
CFLAGS+=-I${.CURDIR}/../primes
|
2002-10-09 19:55:04 +00:00
|
|
|
|
|
|
|
.if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
|
|
|
|
CFLAGS+=-DHAVE_OPENSSL
|
|
|
|
LDADD+= -lcrypto
|
|
|
|
DPADD+= ${LIBCRYPTO}
|
|
|
|
.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>
|