1 # @(#)Makefile 8.2 (Berkeley) 4/2/94
6 .PATH: ${SRCTOP}/usr.sbin/pwd_mkdb ${SRCTOP}/lib/libc/gen
9 SRCS= chpass.c edit.c field.c pw_scan.c table.c util.c
16 #Some people need this, uncomment to activate
17 #CFLAGS+=-DRESTRICT_FULLNAME_CHANGE
18 CFLAGS+=-I${SRCTOP}/usr.sbin/pwd_mkdb -I${SRCTOP}/lib/libc/gen -I.
25 SYMLINKS= chpass ${BINDIR}/chfn
26 SYMLINKS+= chpass ${BINDIR}/chsh
28 SYMLINKS+= chpass ${BINDIR}/ypchfn
29 SYMLINKS+= chpass ${BINDIR}/ypchpass
30 SYMLINKS+= chpass ${BINDIR}/ypchsh
33 MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
35 MLINKS+= chpass.1 ypchpass.1 chpass.1 ypchfn.1 chpass.1 ypchsh.1
39 .for i in chpass chfn chsh ypchpass ypchfn ypchsh
40 .if exists(${DESTDIR}${BINDIR}/$i)
41 -chflags noschg ${DESTDIR}${BINDIR}/$i
45 .include <bsd.prog.mk>