chroot.mk

来自「UNIX、LINUX 环境下」· MK 代码 · 共 83 行

MK
83
字号
#	Copyright (c) 1990, 1991, 1992, 1993 Novell, Inc. All Rights Reserved.#	Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 Novell, Inc. All Rights Reserved.#	  All Rights Reserved#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Novell Inc.#	The copyright notice above does not evidence any#	actual or intended publication of such source code.#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T#	  All Rights Reserved#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T#	The copyright notice above does not evidence any#	actual or intended publication of such source code.#ident	"@(#)chroot:chroot.mk	1.9.7.1"#ident "$Header: chroot.mk 1.3 91/04/17 $"#	Makefile for chrootinclude $(CMDRULES)INSDIR = $(USRSBIN)OWN=binGRP=bin#top#MAKEFILE = chroot.mkMAINS = chrootOBJECTS =  chroot.oSOURCES =  chroot.call:		$(MAINS)$(MAINS):	chroot.o	$(CC) -o chroot chroot.o $(LDFLAGS) $(LDLIBS) $(NOSHLIBS)chroot.o:	 $(INC)/stdio.h $(INC)/errno.h \		 $(INC)/sys/errno.h $(INC)/unistd.h $(INC)/priv.hGLOBALINCS =	 $(INC)/stdio.h  $(INC)/errno.h \		 $(INC)/sys/errno.h $(INC)/unistd.h $(INC)/priv.hclean:	rm -f $(OBJECTS)clobber:	rm -f $(OBJECTS) $(MAINS)newmakefile:	makefile -m -f $(MAKEFILE)  -s INC $(INC)#bottom#install: all 	-rm -f $(ETC)/chroot	$(INS) -f $(INSDIR) -m 0555 -u $(OWN) -g $(GRP) $(MAINS)	-$(SYMLINK) /usr/sbin/chroot $(ETC)/chrootsize: all	$(SIZE) $(MAINS)strip: all	$(STRIP) $(MAINS)#	These targets are useful but optionalpartslist:	@echo $(MAKEFILE) $(SOURCES) $(LOCALINCS)  |  tr ' ' '\012'  |  sortproductdir:	@echo $(INSDIR) | tr ' ' '\012' | sortproduct:	@echo $(MAINS)  |  tr ' ' '\012'  | \	sed 's;^;$(INSDIR)/;'srcaudit:	@fileaudit $(MAKEFILE) $(LOCALINCS) $(SOURCES) -o $(OBJECTS) $(MAINS)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?