]> git.saurik.com Git - apple/system_cmds.git/blobdiff - passwd.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / passwd.tproj / Makefile
index cfb6938682dec30895db6bdc26ddecc7b3a99d3e..b3136d1c3b389cfcdf7d44e44e0e664e6dd9a000 100644 (file)
@@ -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