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