xref: /freebsd/usr.bin/factor/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <src.opts.mk>
2
3PROG=	factor
4SRCS=	factor.c pr_tbl.c
5CFLAGS+=-I${SRCTOP}/usr.bin/primes
6
7.if ${MK_OPENSSL} != "no"
8CFLAGS+=-DHAVE_OPENSSL
9LIBADD+=crypto
10.endif
11
12MAN=	factor.6
13MLINKS+=factor.6 primes.6
14.PATH:	${SRCTOP}/usr.bin/primes
15
16HAS_TESTS=
17SUBDIR.${MK_TESTS}+=	tests
18
19.include <bsd.prog.mk>
20