suppress new PHP-7.4 notice about failed stream_write
[m6w6/ext-http] / Makefile.frag
1 # provide headers in builddir, so they do not end up in /usr/include/ext/http/src
2
3 PHP_HTTP_HEADERS := $(addprefix $(PHP_HTTP_BUILDDIR)/,$(PHP_HTTP_HEADERS))
4
5 $(PHP_HTTP_BUILDDIR)/%.h: $(PHP_HTTP_SRCDIR)/src/%.h
6 @cat >$@ <$<
7
8 $(all_targets): http-build-headers
9 clean: http-clean-headers
10
11 .PHONY: http-build-headers
12 http-build-headers: $(PHP_HTTP_HEADERS)
13
14 .PHONY: http-clean-headers
15 http-clean-headers:
16 -rm -f $(PHP_HTTP_HEADERS)