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