]> git.saurik.com Git - apple/system_cmds.git/blob - chpass.tproj/Makefile
system_cmds-433.8.tar.gz
[apple/system_cmds.git] / chpass.tproj / Makefile
1 Project = chpass
2 Install_Dir = /usr/bin
3 Extra_CC_Flags = -DOPEN_DIRECTORY -fconstant-cfstrings \
4 -I../pwd_mkdb.tproj -I../vipw.tproj \
5 -F/System/Library/PrivateFrameworks
6
7 HFILES = chpass.h open_directory.h pw_copy.h
8 CFILES = chpass.c edit.c field.c pw_copy.c table.c util.c \
9 open_directory.c
10 MANPAGES = chpass.1
11
12 Extra_Frameworks = -F/System/Library/PrivateFrameworks -framework OpenDirectory -framework CoreFoundation
13
14 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
15
16 Install_Program_Mode = 04555
17
18 after_install:
19 $(LN) -sf chpass.1 $(DSTROOT)/usr/share/man/man1/chfn.1
20 $(LN) -sf chpass.1 $(DSTROOT)/usr/share/man/man1/chsh.1
21 $(LN) -f $(DSTROOT)$(Install_Dir)/chpass $(DSTROOT)$(Install_Dir)/chfn
22 $(LN) -f $(DSTROOT)$(Install_Dir)/chpass $(DSTROOT)$(Install_Dir)/chsh