]>
Commit | Line | Data |
---|---|---|
916eb79e A |
1 | Project = passwd |
2 | Install_Dir = /usr/bin | |
1815bff5 | 3 | |
8459d725 | 4 | CFILES = passwd.c file_passwd.c |
916eb79e | 5 | MANPAGES = passwd.1 |
1815bff5 | 6 | |
916eb79e | 7 | Embedded=$(shell tconf --test TARGET_OS_EMBEDDED) |
1815bff5 | 8 | |
8459d725 | 9 | Extra_CC_Flags = -Wall -Werror |
ef8ad44b A |
10 | Extra_LD_Flags = -dead_strip |
11 | ||
916eb79e | 12 | ifeq ($(Embedded),NO) |
ef8ad44b A |
13 | CFILES += nis_passwd.c od_passwd.c pam_passwd.c |
14 | Extra_Frameworks = -framework OpenDirectory -framework CoreFoundation -lpam | |
916eb79e | 15 | endif |
1815bff5 | 16 | |
916eb79e | 17 | include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make |
1815bff5 | 18 | |
8459d725 | 19 | Install_Program_Mode = 0555 |
ef8ad44b A |
20 | |
21 | after_install: | |
22 | $(INSTALL_DIRECTORY) "$(DSTROOT)"/private/etc/pam.d | |
23 | $(INSTALL_FILE) passwd.pam "$(DSTROOT)"/private/etc/pam.d/passwd |