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