⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 Ho Chi Minh City University of Technology Computer Science Department Distributed Computing E
💻
字号:
# Makefile for "top", a top 10 process display for Unix## This makefile is for top, version 3## Written by William LeFebvre, Group sys Consulting#		(formerly of Northwestern University and Rice University)# DO NOT EDIT "Makefile"!!!!  Make changes to "Makefile.X" and rerun# Configure.# Executables (these should be obvious):SHELL   = /bin/shCC      = gccAWK     = awkINSTALL = ./install# installation information:#	OWNER	- name (or uid) for the installed executable's owner#	GROUP	- group name (or gid) for the installed executable's group#	MODE	- mode for the installed executable (should start with a 0)#	BINDIR	- directory where the executable should live#	MANDIR	- directory where the manual page should live#	MANEXT	- installed man pages end in .$(MANEXT)#	MANSTY	- "man" or "catman" depending on what's to be installed#	SIGNAL	- <signal.h> or <sys/signal.h>; the one with signal definitions#	TROFF	- most appropriate troff commandOWNER  = e9406114GROUP  = binMODE   = 4711BINDIR = /usr/local/binMANDIR = /usr/man/manlMANEXT = lMANSTY = manSIGNAL = /usr/include/sys/signal.h# Values for the two defaults in "top":#	TOPN	- default number of processes to display#	DELAY	- default delay between updates## set TOPN to -1 to indicate infinity (so that top will display as many# as the screen will hold).TOPN = 15DELAY = 5CFILES = top.c commands.c display.c screen.c username.c \	 utils.c version.c getopt.c machine.cOBJS = top.o commands.o display.o screen.o username.o \       utils.o version.o getopt.o machine.oCDEFS = -OLIBS = -lelf -lkvm -lkstatTERMCAP = -ltermcapCFLAGS = -DHAVE_GETOPT -DORDER -DHAVE_STRERROR $(CDEFS)LINTFLAGS = -x $(CDEFS)all: toptop:$(DCE_BINDIR)/top$(DCE_BINDIR)/top:$(OBJS)	rm -f $(DCE_BINDIR)/top	$(CC) -o $@ $(OBJS) $(TERMCAP) -lm $(LIBS)lint: sigdesc.h	$(LINT) $(LINTFLAGS) $(CFILES)# include file dependenciestop.o: boolean.h display.h screen.h top.h top.local.h utils.h machine.h commands.o: boolean.h utils.hdisplay.o: boolean.h display.h layout.h screen.h top.h top.local.h utils.hscreen.o: boolean.h screen.hutils.o: top.hversion.o: top.h patchlevel.husername.o: top.local.h utils.h# when compiling machine.c, include os revision definitionmachine.o: top.h machine.h utils.h	$(CC) "-DOSREV=551" $(CFLAGS) -c machine.c# automatically built include filesigdesc.h: sigconv.awk $(SIGNAL)	$(AWK) -f sigconv.awk $(SIGNAL) >sigdesc.hclean:	rm -f *.o top core core.*veryclean: clean	rm -f Make.desc machine/*.desc .defaults top.tar SYNOPSIS Makefile top.local.h top.1 machine.c primeinstall: top top.1 install-top install-$(MANSTY)install-top:	$(INSTALL) -o $(OWNER) -m $(MODE) -g $(GROUP) top $(BINDIR)install-man:	$(INSTALL) top.1 $(MANDIR)/top.$(MANEXT)install-catman:	tbl top.1 | nroff -man > $(MANDIR)/top.$(MANEXT)installmeta: top top.1	$(INSTALL) -o $(OWNER) -m 755 -g $(GROUP) metatop $(BINDIR)/top	@echo $(INSTALL) -o $(OWNER) -m $(MODE) -g $(GROUP) top $(BINDIR)/top-`uname -m`-`uname -r`	@$(INSTALL) -o $(OWNER) -m $(MODE) -g $(GROUP) \		top $(BINDIR)/top-`uname -m`-`uname -r`	$(INSTALL) top.1 $(MANDIR)/top.$(MANEXT)

⌨️ 快捷键说明

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