]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - chpass/Makefile
Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
[pw-darwin.git] / chpass / Makefile
index c17a4ce7ceb5fc2a3a14a2defd8ea1da9efc41c7..8b2db0b19407ea4fc3477f1d7cb3e81ab3eb8b23 100644 (file)
@@ -1,4 +1,5 @@
 #      @(#)Makefile    8.2 (Berkeley) 4/2/94
+# $FreeBSD$
 
 PROG=  chpass
 CFLAGS+=-Wall
@@ -9,8 +10,9 @@ GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c yppasswd_private.h \
 BINMODE=4555
 .PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
        ${.CURDIR}/../../libexec/ypxfr \
-       ${.CURDIR}/../../usr.sbin/rpc.yppasswdd
-CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
+       ${.CURDIR}/../../usr.sbin/rpc.yppasswdd \
+       ${.CURDIR}/../../lib/libc/gen
+CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw -I${.CURDIR}/../../lib/libc/gen
 LINKS= ${BINDIR}/chpass ${BINDIR}/chfn
 LINKS+=        ${BINDIR}/chpass ${BINDIR}/chsh
 LINKS+=        ${BINDIR}/chpass ${BINDIR}/ypchpass
@@ -26,8 +28,8 @@ COPTS+=       -DYP -I. -I${.CURDIR}/../../libexec/ypxfr \
 #Some people need this, uncomment to activate
 #COPTS+= -DRESTRICT_FULLNAME_CHANGE
 
-DPADD= ${LIBRPCSVC} ${LIBCRYPT}
-LDADD+=        -lrpcsvc -lcrypt
+DPADD= ${LIBRPCSVC} ${LIBCRYPT} ${LIBMD}
+LDADD+=        -lrpcsvc -lcrypt -lmd
 
 CLEANFILES= ${GENSRCS}