diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:20:02 +0000 |
commit | 58daab21cd043e1dc37024a7f99b396788372918 (patch) | |
tree | 96771e43bb69f7c1c2b0b4f7374cb74d7866d0cb /web/server/h2o/libh2o/misc/regen.mk | |
parent | Releasing debian version 1.43.2-1. (diff) | |
download | netdata-58daab21cd043e1dc37024a7f99b396788372918.tar.xz netdata-58daab21cd043e1dc37024a7f99b396788372918.zip |
Merging upstream version 1.44.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/server/h2o/libh2o/misc/regen.mk')
-rwxr-xr-x | web/server/h2o/libh2o/misc/regen.mk | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/web/server/h2o/libh2o/misc/regen.mk b/web/server/h2o/libh2o/misc/regen.mk new file mode 100755 index 000000000..46417e7cf --- /dev/null +++ b/web/server/h2o/libh2o/misc/regen.mk @@ -0,0 +1,45 @@ +define FATPACK_SHEBANG +#! /bin/sh +exec $${H2O_PERL:-perl} -x $$0 "$$@" +#! perl +endef +export FATPACK_SHEBANG + +all: tokens lib/handler/mruby/embedded.c.h lib/http2/hpack_huffman_table.h lib/handler/file/templates.c.h clang-format-all share/h2o/start_server share/h2o/fastcgi-cgi share/h2o/ca-bundle.crt + +tokens: + misc/tokens.pl + +lib/handler/mruby/embedded.c.h: misc/embed_mruby_code.pl \ + lib/handler/mruby/embedded/core.rb \ + lib/handler/mruby/embedded/http_request.rb \ + lib/handler/mruby/embedded/chunked.rb + misc/embed_mruby_code.pl $^ > $@ + clang-format -i $@ + +lib/http2/hpack_huffman_table.h: misc/mkhufftbl.py + python misc/mkhufftbl.py > $@ + +lib/handler/file/templates.c.h: misc/picotemplate-conf.pl lib/handler/file/_templates.c.h + misc/picotemplate/picotemplate.pl --conf misc/picotemplate-conf.pl lib/handler/file/_templates.c.h || exit 1 + clang-format -i $@ + +clang-format-all: + misc/clang-format-all.sh + +share/h2o/start_server: FORCE + cd misc/p5-Server-Starter; \ + fatpack-simple --shebang "$$FATPACK_SHEBANG" -o ../../$@ script/start_server + +share/h2o/fastcgi-cgi: FORCE + cd misc/p5-net-fastcgi; \ + fatpack-simple --shebang "$$FATPACK_SHEBANG" -o ../../$@ ../fastcgi-cgi.pl + +share/h2o/ca-bundle.crt: FORCE + cd share/h2o; \ + ../../misc/mk-ca-bundle.pl; \ + rm -f certdata.txt + +FORCE: + +.PHONY: tokens clang-format-all FORCE |