X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/34d340d711a2b033f5da480ed7b5eb147679a588..916eb79ee6e2fd3e1ab08275e76ec4e126cab685:/chpass.tproj/Makefile diff --git a/chpass.tproj/Makefile b/chpass.tproj/Makefile index 8cb711e..6d3d8ed 100644 --- a/chpass.tproj/Makefile +++ b/chpass.tproj/Makefile @@ -1,58 +1,22 @@ -# -# Generated by the NeXT Project Builder. -# -# NOTE: Do NOT change this file -- Project Builder maintains it. -# -# Put all of your customizations in files called Makefile.preamble -# and Makefile.postamble (both optional), and Makefile will include them. -# - -NAME = chpass - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool +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 -OTHERSRCS = Makefile.preamble Makefile Makefile.postamble chpass.1 - - -MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles -CODE_GEN_STYLE = DYNAMIC -MAKEFILE = tool.make -NEXTSTEP_INSTALLDIR = /usr/bin -WINDOWS_INSTALLDIR = /usr/bin -PDO_UNIX_INSTALLDIR = /usr/bin -LIBS = -DEBUG_LIBS = $(LIBS) -PROF_LIBS = $(LIBS) - - -HEADER_PATHS = -I../pwd_mkdb.tproj -I../vipw.tproj -FRAMEWORK_PATHS = -F/System/Library/PrivateFrameworks -FRAMEWORKS = -framework OpenDirectory -framework CoreFoundation -PROJECT_HEADERS = pw_copy.h - - - -NEXTSTEP_BUILD_OUTPUT_DIR = /$(USER)/BUILD - -NEXTSTEP_OBJCPLUS_COMPILER = /usr/bin/cc -WINDOWS_OBJCPLUS_COMPILER = $(DEVDIR)/gcc -PDO_UNIX_OBJCPLUS_COMPILER = $(NEXTDEV_BIN)/gcc -NEXTSTEP_JAVA_COMPILER = /usr/bin/javac -WINDOWS_JAVA_COMPILER = $(JDKBINDIR)/javac.exe -PDO_UNIX_JAVA_COMPILER = $(NEXTDEV_BIN)/javac - -include $(MAKEFILEDIR)/platform.make - --include Makefile.preamble +Extra_Frameworks = -F/System/Library/PrivateFrameworks -framework OpenDirectory -framework CoreFoundation -include $(MAKEFILEDIR)/$(MAKEFILE) +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make --include Makefile.postamble +Install_Program_Mode = 04555 --include Makefile.dependencies +after_install: + $(LN) -sf chpass.1 $(DSTROOT)/usr/share/man/man1/chfn.1 + $(LN) -sf chpass.1 $(DSTROOT)/usr/share/man/man1/chsh.1 + $(LN) -f $(DSTROOT)$(Install_Dir)/chpass $(DSTROOT)$(Install_Dir)/chfn + $(LN) -f $(DSTROOT)$(Install_Dir)/chpass $(DSTROOT)$(Install_Dir)/chsh