代码拉取完成,页面将自动刷新
VERSION ?= 1.0.79
CHECK_CC = cgcc
CHECK_CC_FLAGS = '$(CHECK_CC) -Wbitwise -Wno-return-void -no-compile $(ARCH)'
# Define a common prefix where binaries and docs install
PREFIX ?= /usr
# Export VERSION and PREFIX so sub-make knows about them
export VERSION PREFIX
# Export the feature switches so sub-make knows about them
export ISCSI_RDMA
export CEPH_RBD
export GLFS_BD
export SD_NOTIFY
.PHONY: all
all: programs doc conf scripts
# Targets for the /usr/sbin utilities
.PHONY: programs install-programs clean-programs
programs:
$(MAKE) -C usr
install-programs:
$(MAKE) -C usr install
clean-programs:
$(MAKE) -C usr clean
# Targets for man pages and other documentation
.PHONY: doc install-doc clean-doc
doc:
$(MAKE) -C doc
install-doc:
$(MAKE) -C doc install
clean-doc:
$(MAKE) -C doc clean
# Targets for scripts
.PHONY: scripts install-scripts clean-scripts
scripts:
$(MAKE) -C scripts
install-scripts:
$(MAKE) -C scripts install
clean-scripts:
$(MAKE) -C scripts clean
# Targets for configuration stubs
.PHONY: conf install-conf clean-conf
conf:
$(MAKE) -C conf
install-conf:
$(MAKE) -C conf install
clean-conf:
$(MAKE) -C conf clean
.PHONY: install
install: install-programs install-doc install-conf install-scripts
.PHONY: rpm
rpm:
@./scripts/build-pkg.sh rpm
.PHONY: deb
deb:
@./scripts/build-pkg.sh deb
.PHONY: clean
clean-pkg:
rm -fr pkg
.PHONY: clean
clean: clean-programs clean-doc clean-conf clean-scripts clean-pkg
.PHONY:check
check: ARCH=$(shell sh scripts/checkarch.sh)
check:
CC=$(CHECK_CC_FLAGS) $(MAKE) all
.PHONY:check32
check32: override ARCH=-m32
check32:
CC=$(CHECK_CC_FLAGS) $(MAKE) all
.PHONY:check64
check64: override ARCH=-m64
check64:
CC=$(CHECK_CC_FLAGS) $(MAKE) all
cscope:
find -name '*.[ch]' > cscope.files
cscope -bq
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。