]> git.saurik.com Git - apple/system_cmds.git/blobdiff - chpass.tproj/Makefile
system_cmds-541.tar.gz
[apple/system_cmds.git] / chpass.tproj / Makefile
index 6d3d8ed3bd2f440f55d63d23c315df29b16a0a9d..b446cd3eec6ed3322e725e71e036f560e3144b60 100644 (file)
@@ -1,19 +1,21 @@
 Project = chpass
 Install_Dir = /usr/bin
-Extra_CC_Flags = -DOPEN_DIRECTORY -fconstant-cfstrings \
-       -I../pwd_mkdb.tproj -I../vipw.tproj \
-       -F/System/Library/PrivateFrameworks
 
 HFILES = chpass.h open_directory.h pw_copy.h
 CFILES = chpass.c edit.c field.c pw_copy.c table.c util.c \
         open_directory.c
 MANPAGES = chpass.1
 
-Extra_Frameworks = -F/System/Library/PrivateFrameworks -framework OpenDirectory -framework CoreFoundation
+Extra_CC_Flags =
+Extra_CC_Flags += -DOPEN_DIRECTORY -fconstant-cfstrings \
+       -I../pwd_mkdb.tproj -I../vipw.tproj
+Extra_LD_Flags = -dead_strip
+
+Extra_Frameworks = -framework OpenDirectory -framework CoreFoundation
 
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
 
-Install_Program_Mode = 04555
+Install_Program_Mode = 00555
 
 after_install:
        $(LN) -sf chpass.1 $(DSTROOT)/usr/share/man/man1/chfn.1