Home | History | Annotate | Line # | Download | only in factor
Makefile revision 1.10
      1 #	$NetBSD: Makefile,v 1.10 2002/09/19 03:15:39 lukem Exp $
      2 #	@(#)Makefile	8.1 (Berkeley) 5/31/93
      3 
      4 # For MKCRYPTO
      5 .include <bsd.own.mk>
      6 
      7 PRIMES=	${NETBSDSRCDIR}/games/primes
      8 
      9 PROG=	factor
     10 SRCS=	factor.c pr_tbl.c
     11 CPPFLAGS+=-I${PRIMES}
     12 
     13 .if (${MKCRYPTO} != "no")
     14 CPPFLAGS+=-DHAVE_OPENSSL
     15 LDADD+=	-lcrypto
     16 DPADD+=	${LIBCRYPTO}
     17 .endif
     18 
     19 MAN=	factor.6
     20 MLINKS+=factor.6 primes.6
     21 .PATH:	${PRIMES}
     22 
     23 .include <bsd.prog.mk>
     24