代码拉取完成,页面将自动刷新
include config.mk
DIRS=lib apps client plugins src
DOCDIRS=man
DISTDIRS=man
DISTFILES= \
apps/ \
client/ \
cmake/ \
deps/ \
examples/ \
include/ \
installer/ \
lib/ \
logo/ \
man/ \
misc/ \
plugins/ \
security/ \
service/ \
snap/ \
src/ \
test/ \
\
CMakeLists.txt \
CONTRIBUTING.md \
ChangeLog.txt \
LICENSE.txt \
Makefile \
about.html \
aclfile.example \
config.h \
config.mk \
edl-v10 \
epl-v20 \
libmosquitto.pc.in \
libmosquittopp.pc.in \
mosquitto.conf \
NOTICE.md \
pskfile.example \
pwfile.example \
README-compiling.md \
README-letsencrypt.md \
README-windows.txt \
README.md
.PHONY : all mosquitto api docs binary check clean reallyclean test install uninstall dist sign copy localdocker
all : $(MAKE_ALL)
api :
mkdir -p api p
naturaldocs -o HTML api -i lib -p p
rm -rf p
docs :
set -e; for d in ${DOCDIRS}; do $(MAKE) -C $${d}; done
binary : mosquitto
mosquitto :
ifeq ($(UNAME),Darwin)
$(error Please compile using CMake on Mac OS X)
endif
set -e; for d in ${DIRS}; do $(MAKE) -C $${d}; done
clean :
set -e; for d in ${DIRS}; do $(MAKE) -C $${d} clean; done
set -e; for d in ${DOCDIRS}; do $(MAKE) -C $${d} clean; done
$(MAKE) -C test clean
reallyclean :
set -e; for d in ${DIRS}; do $(MAKE) -C $${d} reallyclean; done
set -e; for d in ${DOCDIRS}; do $(MAKE) -C $${d} reallyclean; done
$(MAKE) -C test reallyclean
-rm -f *.orig
check : test
test : mosquitto
$(MAKE) -C test test
ptest : mosquitto
$(MAKE) -C test ptest
utest : mosquitto
$(MAKE) -C test utest
install : all
set -e; for d in ${DIRS}; do $(MAKE) -C $${d} install; done
ifeq ($(WITH_DOCS),yes)
set -e; for d in ${DOCDIRS}; do $(MAKE) -C $${d} install; done
endif
$(INSTALL) -d "${DESTDIR}/etc/mosquitto"
$(INSTALL) -m 644 mosquitto.conf "${DESTDIR}/etc/mosquitto/mosquitto.conf.example"
$(INSTALL) -m 644 aclfile.example "${DESTDIR}/etc/mosquitto/aclfile.example"
$(INSTALL) -m 644 pwfile.example "${DESTDIR}/etc/mosquitto/pwfile.example"
$(INSTALL) -m 644 pskfile.example "${DESTDIR}/etc/mosquitto/pskfile.example"
uninstall :
set -e; for d in ${DIRS}; do $(MAKE) -C $${d} uninstall; done
rm -f "${DESTDIR}/etc/mosquitto/mosquitto.conf.example"
rm -f "${DESTDIR}/etc/mosquitto/aclfile.example"
rm -f "${DESTDIR}/etc/mosquitto/pwfile.example"
rm -f "${DESTDIR}/etc/mosquitto/pskfile.example"
dist : reallyclean
set -e; for d in ${DISTDIRS}; do $(MAKE) -C $${d} dist; done
mkdir -p dist/mosquitto-${VERSION}
cp -r ${DISTFILES} dist/mosquitto-${VERSION}/
cd dist; tar -zcf mosquitto-${VERSION}.tar.gz mosquitto-${VERSION}/
sign : dist
cd dist; gpg --detach-sign -a mosquitto-${VERSION}.tar.gz
copy : sign
cd dist; scp mosquitto-${VERSION}.tar.gz mosquitto-${VERSION}.tar.gz.asc mosquitto:site/mosquitto.org/files/source/
scp ChangeLog.txt mosquitto:site/mosquitto.org/
coverage :
lcov --capture --directory . --output-file coverage.info
genhtml coverage.info --output-directory out
localdocker : reallyclean
set -e; for d in ${DISTDIRS}; do $(MAKE) -C $${d} dist; done
rm -rf dockertmp/
mkdir -p dockertmp/mosquitto-${VERSION}
cp -r ${DISTFILES} dockertmp/mosquitto-${VERSION}/
cd dockertmp/; tar -zcf mosq.tar.gz mosquitto-${VERSION}/
cp dockertmp/mosq.tar.gz docker/local
rm -rf dockertmp/
cd docker/local && docker build . -t eclipse-mosquitto:local
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。