NetBSD/games/factor/Makefile

24 lines
412 B
Makefile
Raw Normal View History

2002-09-19 07:15:39 +04:00
# $NetBSD: Makefile,v 1.10 2002/09/19 03:15:39 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
1993-03-21 12:45:37 +03:00
# For MKCRYPTO
.include <bsd.own.mk>
2002-09-19 07:15:39 +04:00
PRIMES= ${NETBSDSRCDIR}/games/primes
1993-03-21 12:45:37 +03:00
PROG= factor
SRCS= factor.c pr_tbl.c
2002-09-19 07:15:39 +04:00
CPPFLAGS+=-I${PRIMES}
.if (${MKCRYPTO} != "no")
CPPFLAGS+=-DHAVE_OPENSSL
LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
.endif
1994-12-22 12:31:26 +03:00
MAN= factor.6
1993-03-21 12:45:37 +03:00
MLINKS+=factor.6 primes.6
2002-09-19 07:15:39 +04:00
.PATH: ${PRIMES}
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>