minix/games/factor/Makefile
Thomas Cort c1f592a24c Importing games/factor
Replaces commands/factor. No Minix specific changes needed.

Change-Id: Ie2a58534c59a1ebbf922d483fb27abd8dffd1f5f
2014-07-28 17:05:16 +02:00

22 lines
409 B
Makefile

# $NetBSD: Makefile,v 1.12 2005/03/09 03:11:21 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# For MKCRYPTO
.include <bsd.own.mk>
PRIMES= ${NETBSDSRCDIR}/games/primes
PROG= factor
SRCS= factor.c pr_tbl.c
CPPFLAGS+=-I${PRIMES}
.if (${MKCRYPTO} != "no")
CPPFLAGS+=-DHAVE_OPENSSL
LDADD+= -lcrypto -lcrypt
DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
.endif
MAN= factor.6
.PATH: ${PRIMES}
.include <bsd.prog.mk>