X-Git-Url: https://git.saurik.com/apple/file_cmds.git/blobdiff_plain/864a4b6e4495e8bb9744303352b4f19fccc90738..686e1a443a8b1ba83917c42879672abe732e955c:/cksum/Makefile?ds=sidebyside diff --git a/cksum/Makefile b/cksum/Makefile index 24e3168..7f86cfe 100644 --- a/cksum/Makefile +++ b/cksum/Makefile @@ -1,51 +1,16 @@ -# -# 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 = cksum - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool - -HFILES = extern.h +Project = cksum +Install_Dir = /usr/bin CFILES = cksum.c crc.c print.c sum1.c sum2.c crc32.c +MANPAGES = cksum.1 -OTHERSRCS = Makefile Makefile.preamble Makefile.postamble cksum.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_BUILD_OUTPUT_DIR = /tmp/doc_cmds/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 = $(JDKBINDIR)/javac - -include $(MAKEFILEDIR)/platform.make - --include Makefile.preamble - -include $(MAKEFILEDIR)/$(MAKEFILE) +Extra_CC_Flags = -Werror -Wall -D__FBSDID=__RCSID -D_DARWIN_USE_64_BIT_INODE +Extra_LD_Flags = -dead_strip --include Makefile.postamble +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make --include Makefile.dependencies +after_install: + $(LN) -f $(DSTROOT)$(Install_Dir)/cksum \ + $(DSTROOT)$(Install_Dir)/sum + $(LN) -f $(DSTROOT)/usr/share/man/man1/cksum.1 \ + $(DSTROOT)/usr/share/man/man1/sum.1