|
Packit Bot |
4c90e1 |
# nghttp2 - HTTP/2 C Library
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
# Copyright (c) 2012 Tatsuhiro Tsujikawa
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
# Permission is hereby granted, free of charge, to any person obtaining
|
|
Packit Bot |
4c90e1 |
# a copy of this software and associated documentation files (the
|
|
Packit Bot |
4c90e1 |
# "Software"), to deal in the Software without restriction, including
|
|
Packit Bot |
4c90e1 |
# without limitation the rights to use, copy, modify, merge, publish,
|
|
Packit Bot |
4c90e1 |
# distribute, sublicense, and/or sell copies of the Software, and to
|
|
Packit Bot |
4c90e1 |
# permit persons to whom the Software is furnished to do so, subject to
|
|
Packit Bot |
4c90e1 |
# the following conditions:
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
# The above copyright notice and this permission notice shall be
|
|
Packit Bot |
4c90e1 |
# included in all copies or substantial portions of the Software.
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
Packit Bot |
4c90e1 |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
Packit Bot |
4c90e1 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
Packit Bot |
4c90e1 |
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
Packit Bot |
4c90e1 |
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
Packit Bot |
4c90e1 |
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
Packit Bot |
4c90e1 |
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
Packit Bot |
4c90e1 |
SUBDIRS = lib third-party src examples python tests integration-tests \
|
|
Packit Bot |
4c90e1 |
doc contrib script
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
# Now with python setuptools, make uninstall will leave many files we
|
|
Packit Bot |
4c90e1 |
# cannot easily remove (e.g., easy-install.pth). Disable it for
|
|
Packit Bot |
4c90e1 |
# distcheck rule.
|
|
Packit Bot |
4c90e1 |
AM_DISTCHECK_CONFIGURE_FLAGS = --disable-python-bindings
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
ACLOCAL_AMFLAGS = -I m4
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
dist_doc_DATA = README.rst
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
EXTRA_DIST = nghttpx.conf.sample proxy.pac.sample android-config android-make \
|
|
Packit Bot |
4c90e1 |
Dockerfile.android \
|
|
Packit Bot |
4c90e1 |
cmakeconfig.h.in \
|
|
Packit Bot |
4c90e1 |
CMakeLists.txt \
|
|
Packit Bot |
4c90e1 |
CMakeOptions.txt \
|
|
Packit Bot |
4c90e1 |
cmake/FindSpdylay.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/ExtractValidFlags.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/FindJemalloc.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/FindLibev.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/FindCUnit.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/Version.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/FindCython.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/FindLibevent.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/FindJansson.cmake \
|
|
Packit Bot |
4c90e1 |
cmake/FindLibcares.cmake
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
.PHONY: clang-format
|
|
Packit Bot |
4c90e1 |
|
|
Packit Bot |
4c90e1 |
# Format source files using clang-format. Don't format source files
|
|
Packit Bot |
4c90e1 |
# under third-party directory since we are not responsible for thier
|
|
Packit Bot |
4c90e1 |
# coding style.
|
|
Packit Bot |
4c90e1 |
clang-format:
|
|
Packit Bot |
4c90e1 |
CLANGFORMAT=`git config --get clangformat.binary`; \
|
|
Packit Bot |
4c90e1 |
test -z $${CLANGFORMAT} && CLANGFORMAT="clang-format"; \
|
|
Packit Bot |
4c90e1 |
$${CLANGFORMAT} -i lib/*.{c,h} lib/includes/nghttp2/*.h \
|
|
Packit Bot |
4c90e1 |
src/*.{c,cc,h} src/includes/nghttp2/*.h examples/*.{c,cc} \
|
|
Packit Bot |
4c90e1 |
tests/*.{c,h}
|