]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - chpass/Makefile
Remove some code that's no longer needed because it's now part of pw_scan(3).
[pw-darwin.git] / chpass / Makefile
index 266ca5ad1d3dfffa71c0900165c414ae80b2040f..fb70df886ee2d88171d13716d5ca2fceff6a873d 100644 (file)
@@ -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"