63f7eaa932
from NetBSD, altered to retain the FreeBSD -h feature and various stylistic improvements and avoid regressions. In the absence of OpenSSL (and therefore bignums) the old code is used. PR: 43831 Reviewed by: kris, markm, obrien Obtained from: NetBSD MFC after: 2 weeks
19 lines
341 B
Makefile
19 lines
341 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
# $FreeBSD$
|
|
|
|
PROG= factor
|
|
SRCS= factor.c pr_tbl.c
|
|
CFLAGS+=-I${.CURDIR}/../primes
|
|
|
|
.if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
|
|
CFLAGS+=-DHAVE_OPENSSL
|
|
LDADD+= -lcrypto
|
|
DPADD+= ${LIBCRYPTO}
|
|
.endif
|
|
|
|
MAN= factor.6
|
|
MLINKS+=factor.6 primes.6
|
|
.PATH: ${.CURDIR}/../primes
|
|
|
|
.include <bsd.prog.mk>
|