]> git.saurik.com Git - apple/system_cmds.git/blame - chpass.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / chpass.tproj / Makefile
CommitLineData
916eb79e
A
1Project = chpass
2Install_Dir = /usr/bin
1815bff5 3
34d340d7 4HFILES = chpass.h open_directory.h pw_copy.h
c3a08f59 5CFILES = chpass.c edit.c field.c pw_copy.c table.c util.c \
34d340d7 6 open_directory.c
916eb79e 7MANPAGES = chpass.1
1815bff5 8
ef8ad44b
A
9Extra_CC_Flags = -mdynamic-no-pic
10Extra_CC_Flags += -DOPEN_DIRECTORY -fconstant-cfstrings \
11 -I../pwd_mkdb.tproj -I../vipw.tproj
12Extra_LD_Flags = -dead_strip
13
14Extra_Frameworks = -framework OpenDirectory -framework CoreFoundation
1815bff5 15
916eb79e 16include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
1815bff5 17
916eb79e 18Install_Program_Mode = 04555
1815bff5 19
916eb79e
A
20after_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