X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/20e66415abeb3fec26bdbd0c220fb926593ab135..8459d7254751dbe55e98bb49dd51e1796df2bb0d:/chpass.tproj/Makefile diff --git a/chpass.tproj/Makefile b/chpass.tproj/Makefile index 4fa59cb..b446cd3 100644 --- a/chpass.tproj/Makefile +++ b/chpass.tproj/Makefile @@ -1,56 +1,24 @@ -# -# 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. -# +Project = chpass +Install_Dir = /usr/bin -NAME = chpass +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 -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool +Extra_CC_Flags = +Extra_CC_Flags += -DOPEN_DIRECTORY -fconstant-cfstrings \ + -I../pwd_mkdb.tproj -I../vipw.tproj +Extra_LD_Flags = -dead_strip -HFILES = chpass.h pathnames.h pw_copy.h pw_scan.h pw_util.h +Extra_Frameworks = -framework OpenDirectory -framework CoreFoundation -CFILES = chpass.c edit.c field.c pw_copy.c table.c util.c +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make -OTHERSRCS = Makefile.preamble Makefile Makefile.postamble chpass.1 \ - Makefile.dist +Install_Program_Mode = 00555 - -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 -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 - -include $(MAKEFILEDIR)/$(MAKEFILE) - --include Makefile.postamble - --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