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
|
|
|
|
2003-05-19 15:52:50 +00:00
|
|
|
.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
2002-10-09 19:55:04 +00:00
|
|
|
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>
|