2002-09-19 07:15:39 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 2002/09/19 03:15:39 lukem Exp $
|
1995-03-23 11:28:00 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-06-17 02:24:00 +04: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}
|
2002-06-17 02:24:00 +04:00
|
|
|
|
|
|
|
.if (${MKCRYPTO} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_OPENSSL
|
2002-06-15 06:12:23 +04:00
|
|
|
LDADD+= -lcrypto
|
|
|
|
DPADD+= ${LIBCRYPTO}
|
2002-06-17 02:24:00 +04:00
|
|
|
.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>
|