1 # Makefile.in generated by automake 1.16.4 from Makefile.am.
4 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # nghttp2 - HTTP/2 C Library
19 # Copyright (c) 2012 Tatsuhiro Tsujikawa
21 # Permission is hereby granted, free of charge, to any person obtaining
22 # a copy of this software and associated documentation files (the
23 # "Software"), to deal in the Software without restriction, including
24 # without limitation the rights to use, copy, modify, merge, publish,
25 # distribute, sublicense, and/or sell copies of the Software, and to
26 # permit persons to whom the Software is furnished to do so, subject to
27 # the following conditions:
29 # The above copyright notice and this permission notice shall be
30 # included in all copies or substantial portions of the Software.
34 if test -z '$(MAKELEVEL)'; then \
36 elif test -n '$(MAKE_HOST)'; then \
38 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
44 am__make_running_with_option = \
45 case $${target_option-} in \
47 *) echo "am__make_running_with_option: internal error: invalid" \
48 "target option '$${target_option-}' specified" >&2; \
52 sane_makeflags=$$MAKEFLAGS; \
53 if $(am__is_gnu_make); then \
54 sane_makeflags=$$MFLAGS; \
59 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
60 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
66 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
68 for flg in $$sane_makeflags; do \
69 test $$skip_next = yes && { skip_next=no; continue; }; \
72 -*I) strip_trailopt 'I'; skip_next=yes;; \
73 -*I?*) strip_trailopt 'I';; \
74 -*O) strip_trailopt 'O'; skip_next=yes;; \
75 -*O?*) strip_trailopt 'O';; \
76 -*l) strip_trailopt 'l'; skip_next=yes;; \
77 -*l?*) strip_trailopt 'l';; \
78 -[dEDm]) skip_next=yes;; \
79 -[JT]) skip_next=yes;; \
82 *$$target_option*) has_opt=yes; break;; \
86 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
87 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
88 pkgdatadir = $(datadir)/@PACKAGE@
89 pkgincludedir = $(includedir)/@PACKAGE@
90 pkglibdir = $(libdir)/@PACKAGE@
91 pkglibexecdir = $(libexecdir)/@PACKAGE@
92 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
93 install_sh_DATA = $(install_sh) -c -m 644
94 install_sh_PROGRAM = $(install_sh) -c
95 install_sh_SCRIPT = $(install_sh) -c
96 INSTALL_HEADER = $(INSTALL_DATA)
97 transform = $(program_transform_name)
104 build_triplet = @build@
105 host_triplet = @host@
106 target_triplet = @target@
108 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
109 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_asio.m4 \
110 $(top_srcdir)/m4/ax_boost_base.m4 \
111 $(top_srcdir)/m4/ax_boost_system.m4 \
112 $(top_srcdir)/m4/ax_boost_thread.m4 \
113 $(top_srcdir)/m4/ax_check_compile_flag.m4 \
114 $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
115 $(top_srcdir)/m4/ax_python_devel.m4 \
116 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
117 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
118 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
119 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
121 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
122 $(am__configure_deps) $(dist_doc_DATA) $(am__DIST_COMMON)
123 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
124 configure.lineno config.status.lineno
125 mkinstalldirs = $(install_sh) -d
126 CONFIG_HEADER = config.h
127 CONFIG_CLEAN_FILES = lib/includes/nghttp2/nghttp2ver.h
128 CONFIG_CLEAN_VPATH_FILES =
129 AM_V_P = $(am__v_P_@AM_V@)
130 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
133 AM_V_GEN = $(am__v_GEN_@AM_V@)
134 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
135 am__v_GEN_0 = @echo " GEN " $@;
137 AM_V_at = $(am__v_at_@AM_V@)
138 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
143 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
144 ctags-recursive dvi-recursive html-recursive info-recursive \
145 install-data-recursive install-dvi-recursive \
146 install-exec-recursive install-html-recursive \
147 install-info-recursive install-pdf-recursive \
148 install-ps-recursive install-recursive installcheck-recursive \
149 installdirs-recursive pdf-recursive ps-recursive \
150 tags-recursive uninstall-recursive
151 am__can_run_installinfo = \
152 case $$AM_UPDATE_INFO_DIR in \
154 *) (install-info --version) >/dev/null 2>&1;; \
156 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
157 am__vpath_adj = case $$p in \
158 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
161 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
163 am__nobase_strip_setup = \
164 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
166 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
167 am__nobase_list = $(am__nobase_strip_setup); \
168 for p in $$list; do echo "$$p $$p"; done | \
169 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
170 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
171 if (++n[$$2] == $(am__install_max)) \
172 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
173 END { for (dir in files) print dir, files[dir] }'
175 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
176 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
177 am__uninstall_files_from_dir = { \
179 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
180 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
181 $(am__cd) "$$dir" && rm -f $$files; }; \
183 am__installdirs = "$(DESTDIR)$(docdir)"
184 DATA = $(dist_doc_DATA)
185 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
186 distclean-recursive maintainer-clean-recursive
187 am__recursive_targets = \
188 $(RECURSIVE_TARGETS) \
189 $(RECURSIVE_CLEAN_TARGETS) \
190 $(am__extra_recursive_targets)
191 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
192 cscope distdir distdir-am dist dist-all distcheck
193 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
195 # Read a list of newline-separated strings from the standard input,
196 # and print each of them once, without duplicates. Input order is
198 am__uniquify_input = $(AWK) '\
199 BEGIN { nonempty = 0; } \
200 { items[$$0] = 1; nonempty = 1; } \
201 END { if (nonempty) { for (i in items) print i; }; } \
203 # Make sure the list of sources is unique. This is necessary because,
204 # e.g., the same source file might be shared among _SOURCES variables
205 # for different programs/libraries.
206 am__define_uniq_tagged_files = \
207 list='$(am__tagged_files)'; \
208 unique=`for i in $$list; do \
209 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
210 done | $(am__uniquify_input)`
211 DIST_SUBDIRS = $(SUBDIRS)
212 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
213 $(top_srcdir)/lib/includes/nghttp2/nghttp2ver.h.in AUTHORS \
214 COPYING ChangeLog INSTALL NEWS README compile config.guess \
215 config.sub install-sh ltmain.sh missing
216 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
217 distdir = $(PACKAGE)-$(VERSION)
218 top_distdir = $(distdir)
219 am__remove_distdir = \
220 if test -d "$(distdir)"; then \
221 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
222 && rm -rf "$(distdir)" \
223 || { sleep 5 && rm -rf "$(distdir)"; }; \
225 am__post_remove_distdir = $(am__remove_distdir)
228 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
229 sed_rest='s,^[^/]*/*,,'; \
230 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
231 sed_butlast='s,/*[^/]*$$,,'; \
232 while test -n "$$dir1"; do \
233 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
234 if test "$$first" != "."; then \
235 if test "$$first" = ".."; then \
236 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
237 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
239 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
240 if test "$$first2" = "$$first"; then \
241 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
245 dir0="$$dir0"/"$$first"; \
248 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
251 DIST_ARCHIVES = $(distdir).tar.gz
253 DIST_TARGETS = dist-gzip
254 # Exists only to be overridden by the user if desired.
255 AM_DISTCHECK_DVI_TARGET = dvi
256 distuninstallcheck_listfiles = find . -type f -print
257 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
258 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
259 distcleancheck_listfiles = find . -type f -print
262 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
263 APPLDFLAGS = @APPLDFLAGS@
265 AUTOCONF = @AUTOCONF@
266 AUTOHEADER = @AUTOHEADER@
267 AUTOMAKE = @AUTOMAKE@
269 BOOST_ASIO_LIB = @BOOST_ASIO_LIB@
270 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
271 BOOST_LDFLAGS = @BOOST_LDFLAGS@
272 BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@
273 BOOST_THREAD_LIB = @BOOST_THREAD_LIB@
274 BPFCFLAGS = @BPFCFLAGS@
276 CCDEPMODE = @CCDEPMODE@
279 CPPFLAGS = @CPPFLAGS@
282 CUNIT_CFLAGS = @CUNIT_CFLAGS@
283 CUNIT_LIBS = @CUNIT_LIBS@
285 CXX1XCXXFLAGS = @CXX1XCXXFLAGS@
287 CXXDEPMODE = @CXXDEPMODE@
288 CXXFLAGS = @CXXFLAGS@
289 CYGPATH_W = @CYGPATH_W@
294 DSYMUTIL = @DSYMUTIL@
302 EXTRABPFCFLAGS = @EXTRABPFCFLAGS@
303 EXTRACFLAG = @EXTRACFLAG@
304 EXTRA_DEFS = @EXTRA_DEFS@
307 HAVE_CXX14 = @HAVE_CXX14@
309 INSTALL_DATA = @INSTALL_DATA@
310 INSTALL_PROGRAM = @INSTALL_PROGRAM@
311 INSTALL_SCRIPT = @INSTALL_SCRIPT@
312 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
313 JANSSON_CFLAGS = @JANSSON_CFLAGS@
314 JANSSON_LIBS = @JANSSON_LIBS@
315 JEMALLOC_CFLAGS = @JEMALLOC_CFLAGS@
316 JEMALLOC_LIBS = @JEMALLOC_LIBS@
319 LIBBPF_CFLAGS = @LIBBPF_CFLAGS@
320 LIBBPF_LIBS = @LIBBPF_LIBS@
321 LIBCARES_CFLAGS = @LIBCARES_CFLAGS@
322 LIBCARES_LIBS = @LIBCARES_LIBS@
323 LIBEVENT_OPENSSL_CFLAGS = @LIBEVENT_OPENSSL_CFLAGS@
324 LIBEVENT_OPENSSL_LIBS = @LIBEVENT_OPENSSL_LIBS@
325 LIBEV_CFLAGS = @LIBEV_CFLAGS@
326 LIBEV_LIBS = @LIBEV_LIBS@
327 LIBMRUBY_CFLAGS = @LIBMRUBY_CFLAGS@
328 LIBMRUBY_LIBS = @LIBMRUBY_LIBS@
329 LIBNGHTTP3_CFLAGS = @LIBNGHTTP3_CFLAGS@
330 LIBNGHTTP3_LIBS = @LIBNGHTTP3_LIBS@
331 LIBNGTCP2_CFLAGS = @LIBNGTCP2_CFLAGS@
332 LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS = @LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS@
333 LIBNGTCP2_CRYPTO_BORINGSSL_LIBS = @LIBNGTCP2_CRYPTO_BORINGSSL_LIBS@
334 LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS = @LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS@
335 LIBNGTCP2_CRYPTO_OPENSSL_LIBS = @LIBNGTCP2_CRYPTO_OPENSSL_LIBS@
336 LIBNGTCP2_LIBS = @LIBNGTCP2_LIBS@
340 LIBTOOL_LDFLAGS = @LIBTOOL_LDFLAGS@
341 LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
342 LIBXML2_LIBS = @LIBXML2_LIBS@
345 LTLIBOBJS = @LTLIBOBJS@
347 LT_CURRENT = @LT_CURRENT@
348 LT_REVISION = @LT_REVISION@
349 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
350 MAKEINFO = @MAKEINFO@
351 MANIFEST_TOOL = @MANIFEST_TOOL@
357 OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
358 OPENSSL_LIBS = @OPENSSL_LIBS@
362 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
363 PACKAGE_NAME = @PACKAGE_NAME@
364 PACKAGE_STRING = @PACKAGE_STRING@
365 PACKAGE_TARNAME = @PACKAGE_TARNAME@
366 PACKAGE_URL = @PACKAGE_URL@
367 PACKAGE_VERSION = @PACKAGE_VERSION@
368 PACKAGE_VERSION_NUM = @PACKAGE_VERSION_NUM@
369 PATH_SEPARATOR = @PATH_SEPARATOR@
370 PKG_CONFIG = @PKG_CONFIG@
371 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
372 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
374 PYTHON_CPPFLAGS = @PYTHON_CPPFLAGS@
375 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
376 PYTHON_EXTRA_LDFLAGS = @PYTHON_EXTRA_LDFLAGS@
377 PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@
378 PYTHON_LIBS = @PYTHON_LIBS@
379 PYTHON_PLATFORM = @PYTHON_PLATFORM@
380 PYTHON_PLATFORM_SITE_PKG = @PYTHON_PLATFORM_SITE_PKG@
381 PYTHON_PREFIX = @PYTHON_PREFIX@
382 PYTHON_SITE_PKG = @PYTHON_SITE_PKG@
383 PYTHON_VERSION = @PYTHON_VERSION@
386 SET_MAKE = @SET_MAKE@
389 SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@
390 SYSTEMD_LIBS = @SYSTEMD_LIBS@
391 TESTLDADD = @TESTLDADD@
393 WARNCFLAGS = @WARNCFLAGS@
394 WARNCXXFLAGS = @WARNCXXFLAGS@
395 ZLIB_CFLAGS = @ZLIB_CFLAGS@
396 ZLIB_LIBS = @ZLIB_LIBS@
397 abs_builddir = @abs_builddir@
398 abs_srcdir = @abs_srcdir@
399 abs_top_builddir = @abs_top_builddir@
400 abs_top_srcdir = @abs_top_srcdir@
401 ac_ct_AR = @ac_ct_AR@
402 ac_ct_CC = @ac_ct_CC@
403 ac_ct_CXX = @ac_ct_CXX@
404 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
405 am__include = @am__include@
406 am__leading_dot = @am__leading_dot@
407 am__quote = @am__quote@
409 am__untar = @am__untar@
412 build_alias = @build_alias@
413 build_cpu = @build_cpu@
414 build_os = @build_os@
415 build_vendor = @build_vendor@
416 builddir = @builddir@
418 datarootdir = @datarootdir@
421 exec_prefix = @exec_prefix@
423 host_alias = @host_alias@
424 host_cpu = @host_cpu@
426 host_vendor = @host_vendor@
428 includedir = @includedir@
430 install_sh = @install_sh@
432 libexecdir = @libexecdir@
433 localedir = @localedir@
434 localstatedir = @localstatedir@
437 oldincludedir = @oldincludedir@
439 pkgpyexecdir = @pkgpyexecdir@
440 pkgpythondir = @pkgpythondir@
442 program_transform_name = @program_transform_name@
444 pyexecdir = @pyexecdir@
445 pythondir = @pythondir@
446 runstatedir = @runstatedir@
448 sharedstatedir = @sharedstatedir@
450 sysconfdir = @sysconfdir@
452 target_alias = @target_alias@
453 target_cpu = @target_cpu@
454 target_os = @target_os@
455 target_vendor = @target_vendor@
456 top_build_prefix = @top_build_prefix@
457 top_builddir = @top_builddir@
458 top_srcdir = @top_srcdir@
460 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
461 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
462 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
463 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
464 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
465 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
466 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
467 SUBDIRS = lib third-party src bpf examples python tests integration-tests \
471 # Now with python setuptools, make uninstall will leave many files we
472 # cannot easily remove (e.g., easy-install.pth). Disable it for
474 AM_DISTCHECK_CONFIGURE_FLAGS = --disable-python-bindings
475 ACLOCAL_AMFLAGS = -I m4
476 dist_doc_DATA = README.rst
477 EXTRA_DIST = nghttpx.conf.sample proxy.pac.sample android-config android-make \
482 cmake/ExtractValidFlags.cmake \
483 cmake/FindJemalloc.cmake \
484 cmake/FindLibev.cmake \
485 cmake/FindCUnit.cmake \
486 cmake/Version.cmake \
487 cmake/FindCython.cmake \
488 cmake/FindLibevent.cmake \
489 cmake/FindJansson.cmake \
490 cmake/FindLibcares.cmake \
491 cmake/FindSystemd.cmake \
492 cmake/FindLibbpf.cmake \
493 cmake/FindLibnghttp3.cmake \
494 cmake/FindLibngtcp2.cmake \
495 cmake/FindLibngtcp2_crypto_openssl.cmake
498 $(MAKE) $(AM_MAKEFLAGS) all-recursive
501 am--refresh: Makefile
503 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
505 case '$(am__configure_deps)' in \
507 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
508 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
513 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
514 $(am__cd) $(top_srcdir) && \
515 $(AUTOMAKE) --gnu Makefile
516 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
519 echo ' $(SHELL) ./config.status'; \
520 $(SHELL) ./config.status;; \
522 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
523 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
526 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
527 $(SHELL) ./config.status --recheck
529 $(top_srcdir)/configure: $(am__configure_deps)
530 $(am__cd) $(srcdir) && $(AUTOCONF)
531 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
532 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
533 $(am__aclocal_m4_deps):
536 @test -f $@ || rm -f stamp-h1
537 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
539 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
541 cd $(top_builddir) && $(SHELL) ./config.status config.h
542 $(srcdir)/config.h.in: $(am__configure_deps)
543 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
548 -rm -f config.h stamp-h1
549 lib/includes/nghttp2/nghttp2ver.h: $(top_builddir)/config.status $(top_srcdir)/lib/includes/nghttp2/nghttp2ver.h.in
550 cd $(top_builddir) && $(SHELL) ./config.status $@
559 -rm -f libtool config.lt
560 install-dist_docDATA: $(dist_doc_DATA)
562 @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
563 if test -n "$$list"; then \
564 echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
565 $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
567 for p in $$list; do \
568 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
570 done | $(am__base_list) | \
571 while read files; do \
572 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
573 $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
576 uninstall-dist_docDATA:
578 @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
579 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
580 dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
582 # This directory's subdirectories are mostly independent; you can cd
583 # into them and run 'make' without going through this Makefile.
584 # To change the values of 'make' variables: instead of editing Makefiles,
585 # (1) if the variable is set in 'config.status', edit 'config.status'
586 # (which will cause the Makefiles to be regenerated when you run 'make');
587 # (2) otherwise, pass the desired values on the 'make' command line.
588 $(am__recursive_targets):
590 if $(am__make_keepgoing); then \
591 failcom='fail=yes'; \
596 target=`echo $@ | sed s/-recursive//`; \
598 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
599 *) list='$(SUBDIRS)' ;; \
601 for subdir in $$list; do \
602 echo "Making $$target in $$subdir"; \
603 if test "$$subdir" = "."; then \
605 local_target="$$target-am"; \
607 local_target="$$target"; \
609 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
612 if test "$$dot_seen" = "no"; then \
613 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
616 ID: $(am__tagged_files)
617 $(am__define_uniq_tagged_files); mkid -fID $$unique
621 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
624 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
625 include_option=--etags-include; \
628 include_option=--include; \
631 list='$(SUBDIRS)'; for subdir in $$list; do \
632 if test "$$subdir" = .; then :; else \
633 test ! -f $$subdir/TAGS || \
634 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
637 $(am__define_uniq_tagged_files); \
639 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
640 test -n "$$unique" || unique=$$empty_fix; \
641 if test $$# -gt 0; then \
642 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
645 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
649 ctags: ctags-recursive
652 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
653 $(am__define_uniq_tagged_files); \
654 test -z "$(CTAGS_ARGS)$$unique" \
655 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
659 here=`$(am__cd) $(top_builddir) && pwd` \
660 && $(am__cd) $(top_srcdir) \
661 && gtags -i $(GTAGS_ARGS) "$$here"
663 test ! -s cscope.files \
664 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
667 cscope.files: clean-cscope cscopelist
668 cscopelist: cscopelist-recursive
670 cscopelist-am: $(am__tagged_files)
671 list='$(am__tagged_files)'; \
672 case "$(srcdir)" in \
673 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
674 *) sdir=$(subdir)/$(srcdir) ;; \
676 for i in $$list; do \
677 if test -f "$$i"; then \
678 echo "$(subdir)/$$i"; \
682 done >> $(top_builddir)/cscope.files
685 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
686 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
687 distdir: $(BUILT_SOURCES)
688 $(MAKE) $(AM_MAKEFLAGS) distdir-am
690 distdir-am: $(DISTFILES)
691 $(am__remove_distdir)
692 test -d "$(distdir)" || mkdir "$(distdir)"
693 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
694 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
695 list='$(DISTFILES)'; \
696 dist_files=`for file in $$list; do echo $$file; done | \
697 sed -e "s|^$$srcdirstrip/||;t" \
698 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
699 case $$dist_files in \
700 */*) $(MKDIR_P) `echo "$$dist_files" | \
701 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
704 for file in $$dist_files; do \
705 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
706 if test -d $$d/$$file; then \
707 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
708 if test -d "$(distdir)/$$file"; then \
709 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
711 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
712 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
713 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
715 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
717 test -f "$(distdir)/$$file" \
718 || cp -p $$d/$$file "$(distdir)/$$file" \
722 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
723 if test "$$subdir" = .; then :; else \
725 || test -d "$(distdir)/$$subdir" \
726 || $(MKDIR_P) "$(distdir)/$$subdir" \
728 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
730 new_distdir=$$reldir; \
731 dir1=$$subdir; dir2="$(top_distdir)"; \
733 new_top_distdir=$$reldir; \
734 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
735 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
736 ($(am__cd) $$subdir && \
737 $(MAKE) $(AM_MAKEFLAGS) \
738 top_distdir="$$new_top_distdir" \
739 distdir="$$new_distdir" \
740 am__remove_distdir=: \
741 am__skip_length_check=: \
742 am__skip_mode_fix=: \
747 -test -n "$(am__skip_mode_fix)" \
748 || find "$(distdir)" -type d ! -perm -755 \
749 -exec chmod u+rwx,go+rx {} \; -o \
750 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
751 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
752 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
753 || chmod -R a+r "$(distdir)"
755 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
756 $(am__post_remove_distdir)
759 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
760 $(am__post_remove_distdir)
763 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
764 $(am__post_remove_distdir)
767 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
768 $(am__post_remove_distdir)
771 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
772 $(am__post_remove_distdir)
775 @echo WARNING: "Support for distribution archives compressed with" \
776 "legacy program 'compress' is deprecated." >&2
777 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
778 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
779 $(am__post_remove_distdir)
782 @echo WARNING: "Support for shar distribution archives is" \
784 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
785 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
786 $(am__post_remove_distdir)
789 -rm -f $(distdir).zip
790 zip -rq $(distdir).zip $(distdir)
791 $(am__post_remove_distdir)
794 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
795 $(am__post_remove_distdir)
797 # This target untars the dist file and tries a VPATH configuration. Then
798 # it guarantees that the distribution is self-contained by making another
801 case '$(DIST_ARCHIVES)' in \
803 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
805 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
807 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
809 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
811 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
813 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
815 unzip $(distdir).zip ;;\
817 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
819 chmod -R a-w $(distdir)
821 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
823 test -d $(distdir)/_build || exit 0; \
824 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
825 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
827 && $(am__cd) $(distdir)/_build/sub \
829 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
830 $(DISTCHECK_CONFIGURE_FLAGS) \
831 --srcdir=../.. --prefix="$$dc_install_base" \
832 && $(MAKE) $(AM_MAKEFLAGS) \
833 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
834 && $(MAKE) $(AM_MAKEFLAGS) check \
835 && $(MAKE) $(AM_MAKEFLAGS) install \
836 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
837 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
838 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
840 && chmod -R a-w "$$dc_install_base" \
842 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
843 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
844 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
845 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
846 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
847 } || { rm -rf "$$dc_destdir"; exit 1; }) \
848 && rm -rf "$$dc_destdir" \
849 && $(MAKE) $(AM_MAKEFLAGS) dist \
850 && rm -rf $(DIST_ARCHIVES) \
851 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
854 $(am__post_remove_distdir)
855 @(echo "$(distdir) archives ready for distribution: "; \
856 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
857 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
859 @test -n '$(distuninstallcheck_dir)' || { \
860 echo 'ERROR: trying to run $@ with an empty' \
861 '$$(distuninstallcheck_dir)' >&2; \
864 $(am__cd) '$(distuninstallcheck_dir)' || { \
865 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
868 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
869 || { echo "ERROR: files left after uninstall:" ; \
870 if test -n "$(DESTDIR)"; then \
871 echo " (check DESTDIR support)"; \
873 $(distuninstallcheck_listfiles) ; \
875 distcleancheck: distclean
876 @if test '$(srcdir)' = . ; then \
877 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
880 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
881 || { echo "ERROR: files left in build directory after distclean:" ; \
882 $(distcleancheck_listfiles) ; \
885 check: check-recursive
886 all-am: Makefile $(DATA) config.h
887 installdirs: installdirs-recursive
889 for dir in "$(DESTDIR)$(docdir)"; do \
890 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
892 install: install-recursive
893 install-exec: install-exec-recursive
894 install-data: install-data-recursive
895 uninstall: uninstall-recursive
898 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
900 installcheck: installcheck-recursive
902 if test -z '$(STRIP)'; then \
903 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
904 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
907 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
908 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
909 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
916 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
917 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
919 maintainer-clean-generic:
920 @echo "This command is intended for maintainers to use"
921 @echo "it deletes files that may require special tools to rebuild."
922 clean: clean-recursive
924 clean-am: clean-generic clean-libtool mostlyclean-am
926 distclean: distclean-recursive
927 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
929 distclean-am: clean-am distclean-generic distclean-hdr \
930 distclean-libtool distclean-tags
944 install-data-am: install-dist_docDATA
946 install-dvi: install-dvi-recursive
952 install-html: install-html-recursive
956 install-info: install-info-recursive
962 install-pdf: install-pdf-recursive
966 install-ps: install-ps-recursive
972 maintainer-clean: maintainer-clean-recursive
973 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
974 -rm -rf $(top_srcdir)/autom4te.cache
976 maintainer-clean-am: distclean-am maintainer-clean-generic
978 mostlyclean: mostlyclean-recursive
980 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
990 uninstall-am: uninstall-dist_docDATA
992 .MAKE: $(am__recursive_targets) all install-am install-strip
994 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
995 am--refresh check check-am clean clean-cscope clean-generic \
996 clean-libtool cscope cscopelist-am ctags ctags-am dist \
997 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
998 dist-xz dist-zip dist-zstd distcheck distclean \
999 distclean-generic distclean-hdr distclean-libtool \
1000 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1001 dvi-am html html-am info info-am install install-am \
1002 install-data install-data-am install-dist_docDATA install-dvi \
1003 install-dvi-am install-exec install-exec-am install-html \
1004 install-html-am install-info install-info-am install-man \
1005 install-pdf install-pdf-am install-ps install-ps-am \
1006 install-strip installcheck installcheck-am installdirs \
1007 installdirs-am maintainer-clean maintainer-clean-generic \
1008 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1009 ps ps-am tags tags-am uninstall uninstall-am \
1010 uninstall-dist_docDATA
1015 .PHONY: clang-format
1017 # Format source files using clang-format. Don't format source files
1018 # under third-party directory since we are not responsible for thier
1021 CLANGFORMAT=`git config --get clangformat.binary`; \
1022 test -z $${CLANGFORMAT} && CLANGFORMAT="clang-format"; \
1023 $${CLANGFORMAT} -i lib/*.{c,h} lib/includes/nghttp2/*.h \
1024 src/*.{c,cc,h} src/includes/nghttp2/*.h examples/*.{c,cc} \
1025 tests/*.{c,h} bpf/*.c
1027 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1028 # Otherwise a system limit (for SysV at least) may be exceeded.