mirror of
https://github.com/opnsense/src.git
synced 2026-02-11 06:45:34 -05:00
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)
15 lines
237 B
Makefile
15 lines
237 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${SRCTOP}/usr.bin/newkey
|
|
|
|
PROG= chkey
|
|
SRCS= chkey.c generic.c update.c
|
|
CFLAGS+= -I${SRCTOP}/usr.bin/newkey
|
|
.if ${MK_NIS} != "no"
|
|
CFLAGS+= -DYP
|
|
.endif
|
|
LIBADD+= rpcsvc mp
|
|
|
|
.include <bsd.prog.mk>
|