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