博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
c121 nrpe-2.12 # vim Makefile.in(研究)--->生成Makefile
阅读量:7284 次
发布时间:2019-06-30

本文共 1740 字,大约阅读时间需要 5 分钟。

c121 nrpe-2.12 # vim Makefile.in

###############################

# Makefile for NRPE
#
# Last Modified: 03-14-2007
###############################

# Source code directories
SRC_BASE=./src/
SRC_INCLUDE=./include/

CC=@CC@

CFLAGS=@CFLAGS@ @DEFS@
LDFLAGS=@LDFLAGS@ @LIBS@

prefix=@prefix@

exec_prefix=@exec_prefix@
CFGDIR=@sysconfdir@
BINDIR=@bindir@
SBINDIR=@sbindir@
LIBEXECDIR=@libexecdir@
INSTALL=@INSTALL@
NAGIOS_INSTALL_OPTS=@NAGIOS_INSTALL_OPTS@
NRPE_INSTALL_OPTS=@NRPE_INSTALL_OPTS@

INIT_DIR=@init_dir@

INIT_OPTS=-o root -g root

all:
cd $(SRC_BASE); $(MAKE) ; cd ..

@echo ""

@echo "*** Compile finished ***"
@echo ""
@echo "If the NRPE daemon and client compiled without any errors, you"
@echo "can continue with the installation or upgrade process."
@echo ""

@echo "Read the PDF documentation (NRPE.pdf) for information on the next"

@echo "steps you should take to complete the installation or upgrade."
@echo ""
nrpe:
cd $(SRC_BASE); $(MAKE) ; cd ..

check_nrpe:

cd $(SRC_BASE); $(MAKE) ; cd ..

install-plugin:
cd $(SRC_BASE) && $(MAKE) $@

install-daemon:

cd $(SRC_BASE) && $(MAKE) $@

install:

cd $(SRC_BASE) && $(MAKE) $@

install-xinetd:

$(INSTALL) -m 644 sample-config/nrpe.xinetd /etc/xinetd.d/nrpe

install-daemon-config:

$(INSTALL) -m 775 $(NAGIOS_INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
$(INSTALL) -m 644 $(NRPE_INSTALL_OPTS) sample-config/nrpe.cfg $(DESTDIR)$(CFGDIR)

clean:

cd $(SRC_BASE); $(MAKE) $@ ; cd ..
rm -f core
rm -f *~ */*~

distclean: clean

cd $(SRC_BASE); $(MAKE) $@ ; cd ..
rm -f config.log config.status config.cache nrpe.cfg nrpe.xinetd subst $(SRC_INCLUDE)/config.h init-script init-script.debian init-script.freebsd init-script.suse
rm -f sample-config/*.cfg sample-config/*.xinetd
rm -f Makefile

devclean: distclean

转载地址:http://oqzjm.baihongyu.com/

你可能感兴趣的文章
Sliverlight调用Rest服务的一点思考和实践
查看>>
提取mkv文件中的字幕
查看>>
C#多线程学习(六) 互斥对象
查看>>
C#和C++混合编程[转]
查看>>
ubuntu 10.10下安装与配置CUDA 4.0
查看>>
Cython: C-Extensions for Python
查看>>
POJ 1423 Big Number
查看>>
How Tomcat Works 学习-我们到底能走多远系列(8)
查看>>
一个父亲给儿子的信
查看>>
SQL SERVER--指定查询优化参数
查看>>
JWhoisServer
查看>>
post方式发微博
查看>>
命令模式
查看>>
SMAS——service和dao
查看>>
httpclient处理页面跳转
查看>>
JS在textarea光标处插入文本
查看>>
c++ new的三种形态
查看>>
jsp文件做模板文件生成代码
查看>>
spring.net 学习笔记之 AOP (异常记录实例)转
查看>>
数据库模糊搜索时,关键字中有%号,怎么办?
查看>>