]> git.saurik.com Git - apple/system_cmds.git/blobdiff - chpass.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / chpass.tproj / Makefile
index 6d3d8ed3bd2f440f55d63d23c315df29b16a0a9d..c2cca606b4f811753c3119cf8bb9d25ef9336589 100644 (file)
@@ -1,15 +1,17 @@
 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 = -mdynamic-no-pic
+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