[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games / factor

File: [cvs.NetBSD.org] / src / games / factor / Makefile (download)

Revision 1.14, Mon Apr 12 04:19:32 2021 UTC (7 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.13: +3 -1 lines

include bsd.own.mk to be sure NETBSDSRCDIR is set.

#	$NetBSD: Makefile,v 1.14 2021/04/12 04:19:32 mrg Exp $
#	@(#)Makefile	8.1 (Berkeley) 5/31/93

.include <bsd.own.mk>

PRIMES=	${NETBSDSRCDIR}/games/primes

PROG=	factor
SRCS=	factor.c pr_tbl.c
CPPFLAGS+=-I${PRIMES}

CPPFLAGS+=-DHAVE_OPENSSL
LDADD+=	-lcrypto -lcrypt
DPADD+=	${LIBCRYPTO} ${LIBCRYPT}

MAN=	factor.6
.PATH:	${PRIMES}

.include <bsd.prog.mk>