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