]>
Commit | Line | Data |
---|---|---|
916eb79e A |
1 | Project = chpass |
2 | Install_Dir = /usr/bin | |
1815bff5 | 3 | |
34d340d7 | 4 | HFILES = chpass.h open_directory.h pw_copy.h |
c3a08f59 | 5 | CFILES = chpass.c edit.c field.c pw_copy.c table.c util.c \ |
34d340d7 | 6 | open_directory.c |
916eb79e | 7 | MANPAGES = chpass.1 |
1815bff5 | 8 | |
ef8ad44b A |
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 | |
1815bff5 | 15 | |
916eb79e | 16 | include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make |
1815bff5 | 17 | |
916eb79e | 18 | Install_Program_Mode = 04555 |
1815bff5 | 19 | |
916eb79e A |
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 |