X-Git-Url: https://git.saurik.com/apple/file_cmds.git/blobdiff_plain/44a7a5ab64e9df65e241260d76d3dac1160b3360..40bf83fed3260cbe00f8bd41f2f5a5f622d625be:/rm/Makefile diff --git a/rm/Makefile b/rm/Makefile index f557347..5e8cf03 100644 --- a/rm/Makefile +++ b/rm/Makefile @@ -1,48 +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 = rm - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool +Project = rm +Install_Dir = /bin CFILES = rm.c +MANPAGES = rm.1 -OTHERSRCS = Makefile Makefile.preamble Makefile.postamble rm.1 - - -MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles -CODE_GEN_STYLE = DYNAMIC -MAKEFILE = tool.make -NEXTSTEP_INSTALLDIR = /bin -LIBS = -DEBUG_LIBS = $(LIBS) -PROF_LIBS = $(LIBS) - - - - -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 = -Werror -Wall -mdynamic-no-pic -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)/rm \ + $(DSTROOT)$(Install_Dir)/unlink + $(LN) -f $(DSTROOT)/usr/share/man/man1/rm.1 \ + $(DSTROOT)/usr/share/man/man1/unlink.1