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