1 Star 1 Fork 0

ensonz/trafficserver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.am 6.50 KB
一键复制 编辑 原始数据 按行查看 历史
#
# Top-level Makefile.am for Traffic Server.
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Local Macros
# http://www.gnu.org/software/automake/manual/automake.html#Local-Macros
ACLOCAL_AMFLAGS = -I build
export CCACHE_BASEDIR
# TODO: There's still some weirdness in the dependencies between proxy
# and mgmt, hence we have to build proxy/hdrs first.
# depends on the generates ts/ts.h include file.
SUBDIRS = include src/tscpp/util lib src/tscore iocore proxy mgmt src plugins tools example rc configs tests
if BUILD_DOCS
SUBDIRS += doc include
endif
DIST_BUILD_USER=`id -nu`
DIST_BUILD_USER_GROUP=`id -ng`
DISTCHECK_CONFIGURE_FLAGS=--with-user=${DIST_BUILD_USER} --with-group=${DIST_BUILD_USER_GROUP}
EXTRA_DIST=CHANGES INSTALL STATUS NOTICE LAYOUT LICENSE example contrib README-EC2 REVIEWERS
# Default value when creating release candidates
RC = 0
# Make sure the git pre-commit hook gets installed on build time
all-local: $(abs_top_srcdir)/.git/hooks/pre-commit
# igalic can't remember if this is make check or make test and neither should you.
test: check
installcheck-local:
$(DESTDIR)$(bindir)/traffic_server -R 1
distclean-local:
-rm -f config.nice
doxygen:
@cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
changelog:
./tools/git/changelog.pl -o apache -r trafficserver -m $(VERSION) -a $(AUTHTOKEN) > CHANGELOG-$(VERSION)
asf-dist: asf-distdir
tardir=$(distdir) && $(am__tar) --mtime=./configure.ac | bzip2 -9 -c >$(distdir).tar.bz2
@$(am__remove_distdir)
asf-dist-rc: asf-distdir
tardir=$(distdir) && $(am__tar) --mtime=./configure.ac | bzip2 -9 -c >$(distdir)-rc$(RC).tar.bz2
@$(am__remove_distdir)
asf-distdir:
@$(am__remove_distdir)
test -d .git && git clone . $(distdir)
cd $(distdir) && autoreconf -i
$(RM) -r -- $(distdir)/autom4te.cache $(distdir)/ci `find $(distdir) -name .git -o -name .gitignore -o -name .gitmodules`
asf-dist-sign: asf-dist
sha512sum -b $(distdir).tar.bz2 >$(distdir).tar.bz2.sha512
gpg --armor --output $(distdir).tar.bz2.asc --detach-sig $(distdir).tar.bz2
asf-dist-sign-rc: asf-dist-rc
sha512sum -b $(distdir)-rc$(RC).tar.bz2 >$(distdir)-rc$(RC).tar.bz2.sha512
gpg --armor --output $(distdir)-rc$(RC).tar.bz2.asc --detach-sig $(distdir)-rc$(RC).tar.bz2
release: asf-dist-sign
git tag -fs -m "Release $(VERSION)" $(VERSION)
rel-candidate: asf-dist-sign-rc
git tag -fs -m "Release Candidate $(VERSION)-rc$(RC)" $(VERSION)-rc$(RC)
examples: all
@cd example && $(MAKE) $(AM_MAKEFLAGS)
install-examples: examples
@cd example && $(MAKE) $(AM_MAKEFLAGS) install pkglibdir=$(pkglibexecdir)
$(abs_top_srcdir)/.git/hooks/pre-commit: $(abs_top_srcdir)/tools/git/pre-commit
@if [ -d $(abs_top_srcdir)/.git/hooks ]; then \
cp $(abs_top_srcdir)/tools/git/pre-commit $(abs_top_srcdir)/.git/hooks/pre-commit; \
fi
install-data-hook:
if BUILD_DOCS
@cd doc && $(MAKE) $(AM_MAKEFLAGS) install-man
endif
if OS_LINUX
TESTS = tools/check-unused-dependencies
endif
rat:
java -jar $(top_srcdir)/ci/apache-rat-0.13-SNAPSHOT.jar -E $(top_srcdir)/ci/rat-regex.txt -d $(top_srcdir)
autopep8:
@$(top_srcdir)/tools/autopep8.sh $(top_srcdir)
#
# These are rules to make clang-format easy and fast to run. Run it with e.g.
# make -j clang-format
#
# If you make changes to directory structures, you must update this as well.
#
.PHONY: clang-format-src clang-format-example clang-format-iocore clang-format-lib clang-format-mgmt \
clang-format-plugins clang-format-proxy clang-format-tools perltidy
clang-format: clang-format-src clang-format-example clang-format-iocore clang-format-lib clang-format-mgmt \
clang-format-plugins clang-format-proxy clang-format-tools clang-format-tests
clang-format-src:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/src
clang-format-example:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/example
clang-format-iocore:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/iocore
clang-format-lib:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/include
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/lib/records
clang-format-mgmt:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/mgmt
clang-format-plugins:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/plugins
clang-format-proxy:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/proxy
clang-format-tools:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/tools
clang-format-tests:
@$(top_srcdir)/tools/clang-format.sh $(top_srcdir)/tests
perltidy:
perltidy -q -b -bext='/' `find . -name \*.pm -o -name \*.pl`
help:
@echo 'all default target for building the package'
@echo 'asf-dist recreate source package'
@echo 'asf-dist-sign recreate source package, with checksums and signature'
@echo 'check run the test suite, if any'
@echo 'clang-format run clang-format over most C and C++ files (not git subtrees)'
@echo 'clang-tidy run clang-tidy in fix-it mode'
@echo 'clean remove whatever make created'
@echo 'dist DEPRECATED: recreate source package'
@echo 'distcheck verify dist by performing VPATH build and then distclean'
@echo 'distclean remove whatever configure created'
@echo 'doxygen generate doxygen docs in doc/html dir'
@echo 'examples make examples'
@echo 'help display this list of make targets'
@echo 'install install by copying the built files to system-wide dirs'
@echo 'install-examples install examples by copying the built files to system-wide dirs'
@echo 'install-strip same as install but then strips debugging symbols'
@echo 'rat produce a RAT licence compliance report of the source'
@echo 'rel-candidate recreate a signed relelease candidate source package and a signed git tag'
@echo 'release recreate a signed release source package and a signed git tag'
@echo 'autopep8 run autopep8 over python files'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ensonz/trafficserver.git
git@gitee.com:ensonz/trafficserver.git
ensonz
trafficserver
trafficserver
master

搜索帮助