mirror of
https://salsa.debian.org/games-team/bsdgames
synced 2024-11-02 16:37:17 -04:00
23 lines
384 B
Makefile
23 lines
384 B
Makefile
|
# $NetBSD: Makefile,v 1.11 2004/02/08 13:16:25 jsm 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
|
||
|
DPADD+= ${LIBCRYPTO}
|
||
|
.endif
|
||
|
|
||
|
MAN= factor.6
|
||
|
.PATH: ${PRIMES}
|
||
|
|
||
|
.include <bsd.prog.mk>
|