diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-03-12 18:58:44 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-03-12 18:58:44 +0000 |
commit | 0aca29460b05a01a3409c35ae8d030a4354279f7 (patch) | |
tree | 52dd8948e8f8273a53f776c402eb55d8194da016 /chpass/Makefile | |
parent | 16be8ac31e14e7fe395b84aaf06dcb470734980b (diff) | |
download | pw-darwin-0aca29460b05a01a3409c35ae8d030a4354279f7.tar.gz pw-darwin-0aca29460b05a01a3409c35ae8d030a4354279f7.tar.zst pw-darwin-0aca29460b05a01a3409c35ae8d030a4354279f7.zip |
Adopt SRCTOP in usr.bin
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)
Diffstat (limited to 'chpass/Makefile')
-rw-r--r-- | chpass/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chpass/Makefile b/chpass/Makefile index 266ca5a..fb70df8 100644 --- a/chpass/Makefile +++ b/chpass/Makefile @@ -3,7 +3,7 @@ .include <src.opts.mk> -.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../lib/libc/gen +.PATH: ${SRCTOP}/usr.sbin/pwd_mkdb ${SRCTOP}/lib/libc/gen PROG= chpass SRCS= chpass.c edit.c field.c pw_scan.c table.c util.c @@ -15,7 +15,7 @@ CFLAGS+= -DYP .endif #Some people need this, uncomment to activate #CFLAGS+=-DRESTRICT_FULLNAME_CHANGE -CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../lib/libc/gen -I. +CFLAGS+=-I${SRCTOP}/usr.sbin/pwd_mkdb -I${SRCTOP}/lib/libc/gen -I. LIBADD= crypt util .if ${MK_NIS} != "no" |