File: Makefile.bsd

package info (click to toggle)
bsdgames 2.17-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 10,036 kB
  • ctags: 6,236
  • sloc: ansic: 80,006; sh: 1,452; cpp: 1,154; yacc: 321; makefile: 82; lex: 75; sed: 13; csh: 5
file content (22 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#	$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>