X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/20e66415abeb3fec26bdbd0c220fb926593ab135..ef8ad44b9b5d9c6d8c0fa5b5494f449fb6717387:/passwd.tproj/Makefile diff --git a/passwd.tproj/Makefile b/passwd.tproj/Makefile index cfb6938..b3136d1 100644 --- a/passwd.tproj/Makefile +++ b/passwd.tproj/Makefile @@ -1,53 +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. -# - -NAME = passwd - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool +Project = passwd +Install_Dir = /usr/bin HFILES = stringops.h +CFILES = passwd.c file_passwd.c stringops.c +MANPAGES = passwd.1 -CFILES = nis_passwd.c file_passwd.c netinfo_passwd.c ds_passwd.c passwd.c\ - stringops.c - -OTHERSRCS = Makefile.preamble Makefile Makefile.postamble passwd.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 = /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService -DEBUG_LIBS = $(LIBS) -PROF_LIBS = $(LIBS) - - - - -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 +Embedded=$(shell tconf --test TARGET_OS_EMBEDDED) -include $(MAKEFILEDIR)/platform.make +Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic +Extra_LD_Flags = -dead_strip --include Makefile.preamble +ifeq ($(Embedded),NO) +CFILES += nis_passwd.c od_passwd.c pam_passwd.c +Extra_Frameworks = -framework OpenDirectory -framework CoreFoundation -lpam +endif -include $(MAKEFILEDIR)/$(MAKEFILE) +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make --include Makefile.postamble +Install_Program_Mode = 04555 --include Makefile.dependencies +after_install: + $(INSTALL_DIRECTORY) "$(DSTROOT)"/private/etc/pam.d + $(INSTALL_FILE) passwd.pam "$(DSTROOT)"/private/etc/pam.d/passwd