2 Star 0 Fork 0

mirrors_rancher/tgt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 1.75 KB
一键复制 编辑 原始数据 按行查看 历史
FUJITA Tomonori 提交于 2019-07-01 19:50 . tgt 1.0.79
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_rancher/tgt.git
git@gitee.com:mirrors_rancher/tgt.git
mirrors_rancher
tgt
tgt
longhorn_oct2019

搜索帮助