1 Star 0 Fork 0

glaye/kamailio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
#
# Root Makefile for Kamailio project
# - forward all commands to the Makefile in the src/ subfolder
#
# path to the source code folder
KSR_DIR ?= src/
# default target for makefile
.DEFAULT_GOAL := default
ifneq ($(wildcard modules),)
$(warning "old Kamailio modules directory found, you should clean that")
endif
# strip the src/ from the path to modules
SMODPARAM=
ifneq ($(modules),)
ifneq (,$(findstring src/,$(modules)))
smodules=$(subst src/,,$(modules))
SMODPARAM=modules=$(smodules)
endif
endif
MKTAGS?=ctags
EMACS_COMPAT=
ifneq ($(INSIDE_EMACS),)
EMACS_COMPAT=-e
endif
# forward all named targets
%:
$(MAKE) -C $(KSR_DIR) $@ $(SMODPARAM)
# forward the default target
default:
$(MAKE) -C $(KSR_DIR)
# forward the install target
.PHONY: install
install:
$(MAKE) -C $(KSR_DIR) $@ $(SMODPARAM)
.PHONY: TAGS
.PHONY: tags
TAGS tags:
$(MKTAGS) $(EMACS_COMPAT) --exclude="misc/*" --exclude="test/*" -R .
# clean everything generated - shortcut on maintainer-clean
.PHONY: pure
clean pure distclean:
@rm -f .*.swp tags TAGS
$(MAKE) -C $(KSR_DIR) $@
#
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/glaye/kamailio.git
git@gitee.com:glaye/kamailio.git
glaye
kamailio
kamailio
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385