summaryrefslogtreecommitdiffstats
path: root/factor
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2002-09-19 03:15:39 +0000
committerlukem <lukem@NetBSD.org>2002-09-19 03:15:39 +0000
commit6229db319d84458580b612a1db027175de21ee51 (patch)
tree4faa33e92fa68996a90b4b4266f0b90f14171b80 /factor
parent9fa95ded89b6580b5436b1eaa034d7a5abd64c9b (diff)
downloadbsdgames-darwin-6229db319d84458580b612a1db027175de21ee51.tar.gz
bsdgames-darwin-6229db319d84458580b612a1db027175de21ee51.tar.zst
bsdgames-darwin-6229db319d84458580b612a1db027175de21ee51.zip
use NETBSDSRCDIR as appropriate
Diffstat (limited to 'factor')
-rw-r--r--factor/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/factor/Makefile b/factor/Makefile
index 89ea508b..0be04759 100644
--- a/factor/Makefile
+++ b/factor/Makefile
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.9 2002/06/16 22:24:01 itojun Exp $
+# $NetBSD: Makefile,v 1.10 2002/09/19 03:15:39 lukem 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${.CURDIR}/../primes
+CPPFLAGS+=-I${PRIMES}
.if (${MKCRYPTO} != "no")
CPPFLAGS+=-DHAVE_OPENSSL
@@ -16,6 +18,6 @@ DPADD+= ${LIBCRYPTO}
MAN= factor.6
MLINKS+=factor.6 primes.6
-.PATH: ${.CURDIR}/../primes
+.PATH: ${PRIMES}
.include <bsd.prog.mk>