X-Git-Url: https://git.saurik.com/apple/file_cmds.git/blobdiff_plain/864a4b6e4495e8bb9744303352b4f19fccc90738..64d2f73f72a44d5cc536043a2a9270edc5de82da:/stat/Makefile diff --git a/stat/Makefile b/stat/Makefile index 5bad274..9afcd22 100644 --- a/stat/Makefile +++ b/stat/Makefile @@ -1,50 +1,17 @@ -# -# 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 = stat - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool +Project = stat +Install_Dir = /usr/bin CFILES = stat.c +MANPAGES = stat.1 -OTHERSRCS = Makefile Makefile.preamble Makefile.postamble stat.1 - -OTHER_CFLAGS = -D__FBSDID=__RCSID - -MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles -CODE_GEN_STYLE = DYNAMIC -MAKEFILE = tool.make -NEXTSTEP_INSTALLDIR = /usr/bin -LIBS = -DEBUG_LIBS = $(LIBS) -PROF_LIBS = $(LIBS) - - -NEXTSTEP_PB_CFLAGS = - - -NEXTSTEP_BUILD_OUTPUT_DIR = /tmp/$(NAME)/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) +Extra_CC_Flags = -Wall -mdynamic-no-pic \ + -D__FBSDID=__RCSID +Extra_LD_Flags = -dead_strip --include Makefile.postamble +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make --include Makefile.dependencies +after_install: + $(LN) -f $(DSTROOT)$(Install_Dir)/stat \ + $(DSTROOT)$(Install_Dir)/readlink + $(LN) -f $(DSTROOT)/usr/share/man/man1/stat.1 \ + $(DSTROOT)/usr/share/man/man1/readlink.1