1# @(#)Makefile 8.1 (Berkeley) 5/31/93 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PROG= factor 7SRCS= factor.c pr_tbl.c 8CFLAGS+=-I${SRCTOP}/usr.bin/primes 9 10.if ${MK_OPENSSL} != "no" 11CFLAGS+=-DHAVE_OPENSSL 12CFLAGS+=-DOPENSSL_API_COMPAT=0x10100000L 13LIBADD+=crypto 14.endif 15 16MAN= factor.6 17MLINKS+=factor.6 primes.6 18.PATH: ${SRCTOP}/usr.bin/primes 19 20HAS_TESTS= 21SUBDIR.${MK_TESTS}+= tests 22 23.include <bsd.prog.mk> 24