📄 makefile.in
字号:
# simple network top - a top-like console network status tool# robert m love <rml@tech9.net># chris m rivera <cmrivera@ufl.edu>## http://sntop.sourceforge.net - homepage# ftp://sntop.sourceforge.net/pub/sntop/ - anon ftp## 05.12.2000 - 08.01.2000## Makefile## targets:# make/make all/make sntop# compile and link to create sntop executable# make install# install sntop# make clean# remove remaining object files# make proper# make clean ; makeall: sntopsrcdir = @srcdir@VPATH = @srcdir@prefix = @prefix@exec_prefix = @exec_prefix@INCLUDE = .INSTDIR = @bindir@ETCDIR = @sysconfdir@LIBS = @LIBS@OBJS = @LIBOBJS@DOWENEEDGETOPT = @LIBOBJS@MANDIR = @mandir@/man1SNTOPRC = $(ETCDIR)/sntoprcCC = @CC@CFLAGS = -Wall -Wstrict-prototypes -O2 @DEFS@ -DCONF_SFILE=\"$(SNTOPRC)\"proper: clean sntopsntop: sntop.o $(CC) -o sntop sntop.o $(OBJS) $(LIBS) @echo "sntop: done compiling, now install with 'make install'"sntop.o: sntop.c @if [ "${DOWENEEDGETOPT}" = getopt_long.o ]; \ then \ $(CC) -I$(INCLUDE) $(CFLAGS) -c getopt_long.c; \ fi $(CC) -I$(INCLUDE) $(CFLAGS) -c sntop.cclean: -rm sntop.o -rm getopt_long.oinstall: sntop @if [ -d $(INSTDIR) ]; \ then \ cp sntop $(INSTDIR); \ chmod 755 $(INSTDIR)/sntop; \ else \ echo "sntop: $(INSTDIR) does not exist"; false; \ fi @if [ -d $(ETCDIR) ]; \ then \ if [ ! -f $(ETCDIR)/sntoprc ]; \ then \ cp sntoprc.EXAMPLE $(ETCDIR)/sntoprc; \ chmod 644 $(ETCDIR)/sntoprc; \ fi; \ echo "sntop: Sample config exists at $(ETCDIR)/sntoprc"; \ else \ echo "sntop: $(ETCDIR) does not exist"; false; \ fi @if [ -d $(MANDIR) ]; \ then \ cp sntop.1 $(MANDIR); \ chmod 644 $(MANDIR)/sntop.1; \ gzip -9 $(MANDIR)/sntop.1; \ echo "sntop: Man file installed in $(MANDIR)"; \ else \ echo "sntop: $(MANDIR) does not exist, not installing man file"; \ fi @if [ -f $(INSTDIR)/sntop ]; \ then \ echo "sntop: Executable installed in $(INSTDIR)"; \ else \ echo "sntop: Install to $(INSTDIR) failed"; false; \ fi# EOF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -