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