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