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