mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
a35f04fba2
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice)
20 lines
316 B
Makefile
20 lines
316 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= factor
|
|
SRCS= factor.c pr_tbl.c
|
|
CFLAGS+=-I${SRCTOP}/usr.bin/primes
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
CFLAGS+=-DHAVE_OPENSSL
|
|
LIBADD+=crypto
|
|
.endif
|
|
|
|
MAN= factor.6
|
|
MLINKS+=factor.6 primes.6
|
|
.PATH: ${SRCTOP}/usr.bin/primes
|
|
|
|
.include <bsd.prog.mk>
|