summaryrefslogtreecommitdiff
path: root/zabbix-out-of-tree.patch
diff options
context:
space:
mode:
Diffstat (limited to 'zabbix-out-of-tree.patch')
-rw-r--r--zabbix-out-of-tree.patch1119
1 files changed, 1119 insertions, 0 deletions
diff --git a/zabbix-out-of-tree.patch b/zabbix-out-of-tree.patch
new file mode 100644
index 0000000..9bfabaa
--- /dev/null
+++ b/zabbix-out-of-tree.patch
@@ -0,0 +1,1119 @@
+diff -up zabbix-6.0.13/src/go/Makefile.am.out-of-tree zabbix-6.0.13/src/go/Makefile.am
+--- zabbix-6.0.13/src/go/Makefile.am.out-of-tree 2023-02-01 00:19:54.520718582 -0700
++++ zabbix-6.0.13/src/go/Makefile.am 2023-02-16 12:12:40.691876329 -0700
+@@ -57,15 +57,15 @@ zabbix.com/cmd/zabbix_web_service:
+ build: ${TARGETS}
+
+ clean:
+- go clean ./...
++ go clean $(srcdir)/...
+ rm -f bin/zabbix_agent2 bin/mock_server
+
+ install-zabbix.com/cmd/zabbix_agent2:
+ CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" GOBIN=${GOBIN} \
+ go install -ldflags="${AGENT_GOLDFLAGS}" ${TARGETS}
+ $(MKDIR_P) "$(DESTDIR)$(AGENT2_CONFIG_PLUGINS_PATH)"
+- test -f "$(DESTDIR)$(AGENT2_CONFIG_FILE)" || cp "conf/zabbix_agent2.conf" "$(DESTDIR)$(AGENT2_CONFIG_FILE)"
+- for cfg in conf/zabbix_agent2.d/plugins.d/*.conf; do \
++ test -f "$(DESTDIR)$(AGENT2_CONFIG_FILE)" || cp "$(top_srcdir)conf/zabbix_agent2.conf" "$(DESTDIR)$(AGENT2_CONFIG_FILE)"
++ for cfg in $(top_srcdir)conf/zabbix_agent2.d/plugins.d/*.conf; do \
+ test -f "$(DESTDIR)$(AGENT2_CONFIG_PLUGINS_PATH)/"`basename $$cfg` || \
+ cp "$$cfg" "$(DESTDIR)$(AGENT2_CONFIG_PLUGINS_PATH)/"`basename $$cfg`; \
+ done
+@@ -76,7 +76,7 @@ install-zabbix.com/cmd/zabbix_web_servic
+ install-exec-local: ${INSTALL_TARGETS}
+
+ check:
+- CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" go test ./...
++ CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" go test $(srcdir)/...
+ style:
+ CGO_CFLAGS="${CGO_CFLAGS}" CGO_LDFLAGS="${CGO_LDFLAGS}" golangci-lint run --new-from-rev=$(NEW_FROM_REV) ./...
+ format:
+diff -up zabbix-6.0.13/src/libs/zbxalgo/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxalgo/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxalgo/Makefile.am.out-of-tree 2023-02-01 00:19:54.536718733 -0700
++++ zabbix-6.0.13/src/libs/zbxalgo/Makefile.am 2023-02-16 12:12:40.692876324 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxalgo.a
+
+ if SERVER
+diff -up zabbix-6.0.13/src/libs/zbxaudit/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxaudit/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxaudit/Makefile.am.out-of-tree 2023-02-01 00:19:54.540718773 -0700
++++ zabbix-6.0.13/src/libs/zbxaudit/Makefile.am 2023-02-16 12:12:40.693876319 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxaudit.a
+
+ libzbxaudit_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxavailability/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxavailability/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxavailability/Makefile.am.out-of-tree 2023-02-01 00:19:54.544718811 -0700
++++ zabbix-6.0.13/src/libs/zbxavailability/Makefile.am 2023-02-16 12:12:40.694876314 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxavailability.a
+
+ libzbxavailability_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxcommon/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxcommon/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxcommon/Makefile.am.out-of-tree 2023-02-01 00:19:54.544718811 -0700
++++ zabbix-6.0.13/src/libs/zbxcommon/Makefile.am 2023-02-16 12:12:40.695876310 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxcommon.a
+
+ libzbxcommon_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxcommshigh/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxcommshigh/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxcommshigh/Makefile.am.out-of-tree 2023-01-30 00:22:04.944328308 -0700
++++ zabbix-6.0.13/src/libs/zbxcommshigh/Makefile.am 2023-02-16 12:12:40.697876300 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxcommshigh.a
+
+ libzbxcommshigh_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxcomms/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxcomms/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxcomms/Makefile.am.out-of-tree 2023-01-30 00:22:04.944328308 -0700
++++ zabbix-6.0.13/src/libs/zbxcomms/Makefile.am 2023-02-16 12:12:40.698876295 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxcomms.a
+
+ libzbxcomms_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxcompress/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxcompress/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxcompress/Makefile.am.out-of-tree 2023-01-23 01:33:45.931502136 -0700
++++ zabbix-6.0.13/src/libs/zbxcompress/Makefile.am 2023-02-16 12:12:40.699876291 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxcompress.a
+
+ libzbxcompress_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxconf/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxconf/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxconf/Makefile.am.out-of-tree 2023-01-23 01:33:45.931502136 -0700
++++ zabbix-6.0.13/src/libs/zbxconf/Makefile.am 2023-02-16 12:12:40.699876291 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxconf.a
+
+ libzbxconf_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxcrypto/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxcrypto/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxcrypto/Makefile.am.out-of-tree 2023-02-01 00:19:54.552718885 -0700
++++ zabbix-6.0.13/src/libs/zbxcrypto/Makefile.am 2023-02-16 12:12:40.700876286 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxcrypto.a
+
+ libzbxcrypto_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxdbcache/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxdbcache/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxdbcache/Makefile.am.out-of-tree 2023-01-30 00:22:04.948328337 -0700
++++ zabbix-6.0.13/src/libs/zbxdbcache/Makefile.am 2023-02-16 12:12:40.701876281 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxdbcache.a
+
+ libzbxdbcache_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxdbhigh/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxdbhigh/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxdbhigh/Makefile.am.out-of-tree 2023-02-01 00:19:54.568719037 -0700
++++ zabbix-6.0.13/src/libs/zbxdbhigh/Makefile.am 2023-02-16 12:12:40.702876276 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ if DBSCHEMA
+ dbschema.c: $(top_srcdir)/create/src/schema.tmpl
+ $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
+diff -up zabbix-6.0.13/src/libs/zbxdb/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxdb/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxdb/Makefile.am.out-of-tree 2023-01-23 01:33:45.931502136 -0700
++++ zabbix-6.0.13/src/libs/zbxdb/Makefile.am 2023-02-16 12:12:40.703876272 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxdb.a
+
+ libzbxdb_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxdbupgrade/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxdbupgrade/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxdbupgrade/Makefile.am.out-of-tree 2023-02-01 00:19:54.572719076 -0700
++++ zabbix-6.0.13/src/libs/zbxdbupgrade/Makefile.am 2023-02-16 12:12:40.704876267 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxdbupgrade.a
+
+ libzbxdbupgrade_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxdiag/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxdiag/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxdiag/Makefile.am.out-of-tree 2023-01-30 00:22:04.964328451 -0700
++++ zabbix-6.0.13/src/libs/zbxdiag/Makefile.am 2023-02-16 12:12:40.704876267 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxdiag_server.a libzbxdiag_proxy.a
+
+ libzbxdiag_server_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxembed/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxembed/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxembed/Makefile.am.out-of-tree 2023-02-01 00:19:54.580719152 -0700
++++ zabbix-6.0.13/src/libs/zbxembed/Makefile.am 2023-02-16 12:12:40.705876262 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxembed.a
+
+ libzbxembed_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxeval/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxeval/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxeval/Makefile.am.out-of-tree 2023-02-01 00:19:54.596719303 -0700
++++ zabbix-6.0.13/src/libs/zbxeval/Makefile.am 2023-02-16 12:12:40.706876257 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxeval.a
+
+ libzbxeval_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxexec/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxexec/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxexec/Makefile.am.out-of-tree 2023-01-23 01:33:45.959502505 -0700
++++ zabbix-6.0.13/src/libs/zbxexec/Makefile.am 2023-02-16 12:12:40.706876257 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxexec.a
+
+ libzbxexec_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxha/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxha/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxha/Makefile.am.out-of-tree 2023-02-01 00:19:54.596719303 -0700
++++ zabbix-6.0.13/src/libs/zbxha/Makefile.am 2023-02-16 12:12:40.707876252 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxha.a
+
+ libzbxha_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxhistory/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxhistory/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxhistory/Makefile.am.out-of-tree 2023-01-23 01:33:45.959502505 -0700
++++ zabbix-6.0.13/src/libs/zbxhistory/Makefile.am 2023-02-16 12:12:40.708876248 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxhistory.a
+
+ libzbxhistory_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxhttp/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxhttp/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxhttp/Makefile.am.out-of-tree 2023-01-30 00:22:04.976328534 -0700
++++ zabbix-6.0.13/src/libs/zbxhttp/Makefile.am 2023-02-16 12:12:40.709876243 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxhttp.a
+
+ libzbxhttp_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxicmpping/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxicmpping/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxicmpping/Makefile.am.out-of-tree 2023-01-30 00:22:04.976328534 -0700
++++ zabbix-6.0.13/src/libs/zbxicmpping/Makefile.am 2023-02-16 12:12:40.710876238 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxicmpping.a
+
+ libzbxicmpping_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxipcservice/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxipcservice/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxipcservice/Makefile.am.out-of-tree 2023-01-27 02:18:53.018143449 -0700
++++ zabbix-6.0.13/src/libs/zbxipcservice/Makefile.am 2023-02-16 12:12:40.711876234 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxipcservice.a
+
+ libzbxipcservice_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxjson/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxjson/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxjson/Makefile.am.out-of-tree 2023-02-01 00:19:54.600719342 -0700
++++ zabbix-6.0.13/src/libs/zbxjson/Makefile.am 2023-02-16 12:12:40.712876229 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxjson.a
+
+ libzbxjson_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxlog/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxlog/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxlog/Makefile.am.out-of-tree 2023-01-23 01:33:45.963502558 -0700
++++ zabbix-6.0.13/src/libs/zbxlog/Makefile.am 2023-02-16 12:12:40.712876229 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxlog.a
+
+ libzbxlog_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxmedia/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxmedia/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxmedia/Makefile.am.out-of-tree 2023-01-30 00:22:04.980328562 -0700
++++ zabbix-6.0.13/src/libs/zbxmedia/Makefile.am 2023-02-16 12:12:40.713876224 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxmedia.a
+
+ libzbxmedia_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxmemory/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxmemory/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxmemory/Makefile.am.out-of-tree 2023-01-30 00:22:04.980328562 -0700
++++ zabbix-6.0.13/src/libs/zbxmemory/Makefile.am 2023-02-16 12:12:40.714876219 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxmemory.a
+
+ libzbxmemory_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxmodules/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxmodules/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxmodules/Makefile.am.out-of-tree 2023-01-23 01:33:45.963502558 -0700
++++ zabbix-6.0.13/src/libs/zbxmodules/Makefile.am 2023-02-16 12:12:40.715876214 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxmodules.a
+
+ libzbxmodules_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxnix/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxnix/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxnix/Makefile.am.out-of-tree 2023-01-30 00:22:04.980328562 -0700
++++ zabbix-6.0.13/src/libs/zbxnix/Makefile.am 2023-02-16 12:12:40.716876210 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxnix.a
+
+ libzbxnix_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxprof/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxprof/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxprof/Makefile.am.out-of-tree 2023-02-01 00:19:54.604719380 -0700
++++ zabbix-6.0.13/src/libs/zbxprof/Makefile.am 2023-02-16 12:15:46.024983315 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxprof.a
+
+ libzbxprof_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxprometheus/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxprometheus/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxprometheus/Makefile.am.out-of-tree 2023-01-23 01:33:45.963502558 -0700
++++ zabbix-6.0.13/src/libs/zbxprometheus/Makefile.am 2023-02-16 12:12:40.717876205 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxprometheus.a
+
+ libzbxprometheus_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxregexp/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxregexp/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxregexp/Makefile.am.out-of-tree 2023-01-23 01:33:45.967502610 -0700
++++ zabbix-6.0.13/src/libs/zbxregexp/Makefile.am 2023-02-16 12:12:40.717876205 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxregexp.a
+
+ libzbxregexp_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxrtc/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxrtc/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxrtc/Makefile.am.out-of-tree 2023-02-01 00:19:54.604719380 -0700
++++ zabbix-6.0.13/src/libs/zbxrtc/Makefile.am 2023-02-16 12:12:40.718876200 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = \
+ libzbxrtc.a \
+ libzbxrtc_service.a \
+diff -up zabbix-6.0.13/src/libs/zbxself/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxself/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxself/Makefile.am.out-of-tree 2023-02-01 00:19:54.604719380 -0700
++++ zabbix-6.0.13/src/libs/zbxself/Makefile.am 2023-02-16 12:12:40.719876196 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxself.a libzbxself_server.a libzbxself_proxy.a
+
+ libzbxself_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxserver/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxserver/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxserver/Makefile.am.out-of-tree 2023-02-01 00:19:54.604719380 -0700
++++ zabbix-6.0.13/src/libs/zbxserver/Makefile.am 2023-02-16 12:12:40.720876191 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxserver.a libzbxserver_server.a libzbxserver_proxy.a
+
+ libzbxserver_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxservice/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxservice/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxservice/Makefile.am.out-of-tree 2023-02-01 00:19:54.608719418 -0700
++++ zabbix-6.0.13/src/libs/zbxservice/Makefile.am 2023-02-16 12:12:40.721876186 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxservice.a
+
+ libzbxservice_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/agent/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/agent/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/agent/Makefile.am.out-of-tree 2023-02-01 00:19:54.608719418 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/agent/Makefile.am 2023-02-16 12:12:40.722876181 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libagentsysinfo.a
+
+ libagentsysinfo_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/aix/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/aix/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/aix/Makefile.am.out-of-tree 2023-01-23 01:33:45.967502610 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/aix/Makefile.am 2023-02-16 12:12:40.723876176 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/common/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/common/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/common/Makefile.am.out-of-tree 2023-02-01 00:19:54.612719455 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/common/Makefile.am 2023-02-16 12:12:40.723876176 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libcommonsysinfo.a libcommonsysinfo_http.a libcommonsysinfo_httpmetrics.a
+
+ libcommonsysinfo_a_CFLAGS = -I@top_srcdir@/src/zabbix_agent/
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/freebsd/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/freebsd/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/freebsd/Makefile.am.out-of-tree 2023-01-23 01:33:45.971502662 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/freebsd/Makefile.am 2023-02-16 12:12:40.724876172 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/hpux/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/hpux/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/hpux/Makefile.am.out-of-tree 2023-01-23 01:33:45.971502662 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/hpux/Makefile.am 2023-02-16 12:12:40.725876167 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/linux/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/linux/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/linux/Makefile.am.out-of-tree 2023-01-30 00:22:04.992328648 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/linux/Makefile.am 2023-02-16 12:12:40.726876162 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/Makefile.am.out-of-tree 2023-01-30 00:22:04.988328619 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/Makefile.am 2023-02-16 12:12:40.727876157 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ DIST_SUBDIRS = \
+ agent \
+ common \
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/netbsd/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/netbsd/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/netbsd/Makefile.am.out-of-tree 2023-01-23 01:33:45.975502715 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/netbsd/Makefile.am 2023-02-16 12:12:40.728876152 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/openbsd/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/openbsd/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/openbsd/Makefile.am.out-of-tree 2023-01-23 01:33:45.975502715 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/openbsd/Makefile.am 2023-02-16 12:12:40.728876152 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/osf/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/osf/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/osf/Makefile.am.out-of-tree 2023-01-23 01:33:45.975502715 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/osf/Makefile.am 2023-02-16 12:12:40.729876148 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/osx/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/osx/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/osx/Makefile.am.out-of-tree 2023-01-23 01:33:45.975502715 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/osx/Makefile.am 2023-02-16 12:12:40.733876129 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/simple/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/simple/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/simple/Makefile.am.out-of-tree 2023-01-30 00:22:04.992328648 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/simple/Makefile.am 2023-02-16 12:12:40.734876124 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libsimplesysinfo.a
+
+ libsimplesysinfo_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/solaris/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/solaris/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/solaris/Makefile.am.out-of-tree 2023-01-27 02:18:53.042143778 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/solaris/Makefile.am 2023-02-16 12:12:40.735876119 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsysinfo/unknown/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsysinfo/unknown/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsysinfo/unknown/Makefile.am.out-of-tree 2023-01-23 01:33:45.979502768 -0700
++++ zabbix-6.0.13/src/libs/zbxsysinfo/unknown/Makefile.am 2023-02-16 12:12:40.735876119 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a
+
+ libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent
+diff -up zabbix-6.0.13/src/libs/zbxsys/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxsys/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxsys/Makefile.am.out-of-tree 2023-01-30 00:22:04.988328619 -0700
++++ zabbix-6.0.13/src/libs/zbxsys/Makefile.am 2023-02-16 12:12:40.736876114 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxsys.a
+
+ libzbxsys_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxtasks/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxtasks/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxtasks/Makefile.am.out-of-tree 2023-01-23 01:33:45.979502768 -0700
++++ zabbix-6.0.13/src/libs/zbxtasks/Makefile.am 2023-02-16 12:12:40.737876110 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxtasks.a
+
+ libzbxtasks_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxtrends/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxtrends/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxtrends/Makefile.am.out-of-tree 2023-02-01 00:19:54.620719532 -0700
++++ zabbix-6.0.13/src/libs/zbxtrends/Makefile.am 2023-02-16 12:12:40.738876105 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = \
+ libzbxtrends.a \
+ libzbxtrends_baseline.a
+diff -up zabbix-6.0.13/src/libs/zbxvault/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxvault/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxvault/Makefile.am.out-of-tree 2023-02-01 00:19:54.620719532 -0700
++++ zabbix-6.0.13/src/libs/zbxvault/Makefile.am 2023-02-16 12:12:40.738876105 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxvault.a
+
+ libzbxvault_a_SOURCES = \
+diff -up zabbix-6.0.13/src/libs/zbxxml/Makefile.am.out-of-tree zabbix-6.0.13/src/libs/zbxxml/Makefile.am
+--- zabbix-6.0.13/src/libs/zbxxml/Makefile.am.out-of-tree 2023-01-23 01:33:45.979502768 -0700
++++ zabbix-6.0.13/src/libs/zbxxml/Makefile.am 2023-02-16 12:12:40.739876100 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxxml.a
+
+ libzbxxml_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_agent/logfiles/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_agent/logfiles/Makefile.am
+--- zabbix-6.0.13/src/zabbix_agent/logfiles/Makefile.am.out-of-tree 2023-01-27 02:18:53.054143943 -0700
++++ zabbix-6.0.13/src/zabbix_agent/logfiles/Makefile.am 2023-02-16 12:12:40.740876096 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxlogfiles.a
+
+ libzbxlogfiles_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_agent/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_agent/Makefile.am
+--- zabbix-6.0.13/src/zabbix_agent/Makefile.am.out-of-tree 2023-02-01 00:19:54.620719532 -0700
++++ zabbix-6.0.13/src/zabbix_agent/Makefile.am 2023-02-16 12:12:40.741876091 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ SUBDIRS = \
+ logfiles
+
+@@ -78,4 +80,4 @@ zabbix_agentd_CFLAGS = \
+ install-data-hook:
+ $(MKDIR_P) "$(DESTDIR)$(AGENT_CONFIG_FILE).d"
+ $(MKDIR_P) "$(DESTDIR)$(LOAD_MODULE_PATH)"
+- test -f "$(DESTDIR)$(AGENT_CONFIG_FILE)" || cp "../../conf/zabbix_agentd.conf" "$(DESTDIR)$(AGENT_CONFIG_FILE)"
++ test -f "$(DESTDIR)$(AGENT_CONFIG_FILE)" || cp "$(top_srcdir)/conf/zabbix_agentd.conf" "$(DESTDIR)$(AGENT_CONFIG_FILE)"
+diff -up zabbix-6.0.13/src/zabbix_get/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_get/Makefile.am
+--- zabbix-6.0.13/src/zabbix_get/Makefile.am.out-of-tree 2023-02-01 00:19:54.624719569 -0700
++++ zabbix-6.0.13/src/zabbix_get/Makefile.am 2023-02-16 12:12:40.741876091 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ bin_PROGRAMS = zabbix_get
+
+ zabbix_get_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_java/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_java/Makefile.am
+--- zabbix-6.0.13/src/zabbix_java/Makefile.am.out-of-tree 2023-02-01 00:19:54.624719569 -0700
++++ zabbix-6.0.13/src/zabbix_java/Makefile.am 2023-02-16 12:12:40.742876086 -0700
+@@ -9,22 +9,22 @@ EXTRA_DIST = \
+ startup.sh
+
+ ZJG = bin/zabbix-java-gateway-$(VERSION).jar
+-LIB = lib/android-json-4.3_r3.1.jar:lib/logback-core-1.2.9.jar:lib/logback-classic-1.2.9.jar:lib/slf4j-api-1.7.32.jar
+-JUNIT = tests/junit-4.8.2.jar
++LIB = $(srcdir)/lib/android-json-4.3_r3.1.jar:$(srcdir)/lib/logback-core-1.2.3.jar:$(srcdir)/lib/logback-classic-1.2.3.jar:$(srcdir)/lib/slf4j-api-1.7.30.jar
++JUNIT = $(srcdir)/tests/junit-4.8.2.jar
+
+ ZJG_DEST = $(DESTDIR)$(sbindir)/zabbix_java
+
+ all: $(ZJG)
+
+-$(ZJG): class src/com/zabbix/gateway/*.java
+- $(JAVAC) -d class/src -classpath $(LIB) src/com/zabbix/gateway/*.java
++$(ZJG): class $(srcdir)/src/com/zabbix/gateway/*.java
++ $(JAVAC) -d class/src -classpath $(LIB) $(srcdir)/src/com/zabbix/gateway/*.java
+ $(JAR) cf $(ZJG) -C class/src .
+
+ test: class
+ echo "badger useruser" > tests/com/zabbix/gateway/jmx_test_beans/jmxremote.password
+ chmod 600 tests/com/zabbix/gateway/jmx_test_beans/jmxremote.password
+- $(JAVAC) tests/com/zabbix/gateway/jmx_test_beans/*.java
+- $(JAVAC) -d class/tests -classpath class/src:$(JUNIT) tests/com/zabbix/gateway/*.java
++ $(JAVAC) tests/com/zabbix/gateway/jmx_$(srcdir)/test_beans/*.java
++ $(JAVAC) -d class/tests -classpath class/src:$(JUNIT) $(srcdir)/tests/com/zabbix/gateway/*.java
+ java -classpath class/tests:$(LIB):$(ZJG):$(JUNIT) com.zabbix.gateway.AllTestRunner
+
+ class:
+diff -up zabbix-6.0.13/src/zabbix_js/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_js/Makefile.am
+--- zabbix-6.0.13/src/zabbix_js/Makefile.am.out-of-tree 2023-02-01 00:19:54.624719569 -0700
++++ zabbix-6.0.13/src/zabbix_js/Makefile.am 2023-02-16 12:12:40.743876081 -0700
+@@ -1,26 +1,28 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ bin_PROGRAMS = zabbix_js
+
+ zabbix_js_SOURCES = zabbix_js.c
+
+ zabbix_js_LDADD = \
+- $(top_srcdir)/src/libs/zbxlog/libzbxlog.a \
+- $(top_srcdir)/src/libs/zbxprof/libzbxprof.a \
+- $(top_srcdir)/src/libs/zbxembed/libzbxembed.a \
+- $(top_srcdir)/src/libs/zbxjson/libzbxjson.a \
+- $(top_srcdir)/src/libs/zbxregexp/libzbxregexp.a \
+- $(top_srcdir)/src/libs/zbxalgo/libzbxalgo.a \
+- $(top_srcdir)/src/libs/zbxsys/libzbxsys.a \
+- $(top_srcdir)/src/libs/zbxnix/libzbxnix.a \
+- $(top_srcdir)/src/libs/zbxcommon/libzbxcommon.a \
+- $(top_srcdir)/src/libs/zbxcomms/libzbxcomms.a \
+- $(top_srcdir)/src/libs/zbxconf/libzbxconf.a \
+- $(top_srcdir)/src/libs/zbxcommon/libzbxcommon.a \
+- $(top_srcdir)/src/libs/zbxcrypto/libzbxcrypto.a \
+- $(top_srcdir)/src/libs/zbxcompress/libzbxcompress.a \
+- $(top_srcdir)/src/libs/zbxhttp/libzbxhttp.a \
+- $(top_srcdir)/src/libs/zbxxml/libzbxxml.a
++ $(top_builddir)/src/libs/zbxlog/libzbxlog.a \
++ $(top_builddir)/src/libs/zbxprof/libzbxprof.a \
++ $(top_builddir)/src/libs/zbxembed/libzbxembed.a \
++ $(top_builddir)/src/libs/zbxjson/libzbxjson.a \
++ $(top_builddir)/src/libs/zbxregexp/libzbxregexp.a \
++ $(top_builddir)/src/libs/zbxalgo/libzbxalgo.a \
++ $(top_builddir)/src/libs/zbxsys/libzbxsys.a \
++ $(top_builddir)/src/libs/zbxnix/libzbxnix.a \
++ $(top_builddir)/src/libs/zbxcommon/libzbxcommon.a \
++ $(top_builddir)/src/libs/zbxcomms/libzbxcomms.a \
++ $(top_builddir)/src/libs/zbxconf/libzbxconf.a \
++ $(top_builddir)/src/libs/zbxcommon/libzbxcommon.a \
++ $(top_builddir)/src/libs/zbxcrypto/libzbxcrypto.a \
++ $(top_builddir)/src/libs/zbxcompress/libzbxcompress.a \
++ $(top_builddir)/src/libs/zbxhttp/libzbxhttp.a \
++ $(top_builddir)/src/libs/zbxxml/libzbxxml.a
+
+ zabbix_js_LDADD += @ZBXJS_LIBS@ $(LIBXML2_LIBS)
+
+diff -up zabbix-6.0.13/src/zabbix_proxy/datasender/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_proxy/datasender/Makefile.am
+--- zabbix-6.0.13/src/zabbix_proxy/datasender/Makefile.am.out-of-tree 2023-01-23 01:33:45.991502925 -0700
++++ zabbix-6.0.13/src/zabbix_proxy/datasender/Makefile.am 2023-02-16 12:12:40.744876076 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxdatasender.a
+
+ libzbxdatasender_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_proxy/heart/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_proxy/heart/Makefile.am
+--- zabbix-6.0.13/src/zabbix_proxy/heart/Makefile.am.out-of-tree 2023-01-27 02:18:53.058143998 -0700
++++ zabbix-6.0.13/src/zabbix_proxy/heart/Makefile.am 2023-02-16 12:12:40.745876072 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxheart.a
+
+ libzbxheart_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_proxy/housekeeper/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_proxy/housekeeper/Makefile.am
+--- zabbix-6.0.13/src/zabbix_proxy/housekeeper/Makefile.am.out-of-tree 2023-01-23 01:33:45.991502925 -0700
++++ zabbix-6.0.13/src/zabbix_proxy/housekeeper/Makefile.am 2023-02-16 12:12:40.746876067 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxhousekeeper.a
+
+ libzbxhousekeeper_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_proxy/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_proxy/Makefile.am
+--- zabbix-6.0.13/src/zabbix_proxy/Makefile.am.out-of-tree 2023-02-01 00:19:54.628719606 -0700
++++ zabbix-6.0.13/src/zabbix_proxy/Makefile.am 2023-02-16 12:12:40.747876062 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ SUBDIRS = \
+ heart \
+ housekeeper \
+@@ -112,4 +114,4 @@ install-data-hook:
+ $(MKDIR_P) "$(DESTDIR)$(PROXY_CONFIG_FILE).d"
+ $(MKDIR_P) "$(DESTDIR)$(EXTERNAL_SCRIPTS_PATH)"
+ $(MKDIR_P) "$(DESTDIR)$(LOAD_MODULE_PATH)"
+- test -f "$(DESTDIR)$(PROXY_CONFIG_FILE)" || cp "../../conf/zabbix_proxy.conf" "$(DESTDIR)$(PROXY_CONFIG_FILE)"
++ test -f "$(DESTDIR)$(PROXY_CONFIG_FILE)" || cp "$(top_srcdir)/conf/zabbix_proxy.conf" "$(DESTDIR)$(PROXY_CONFIG_FILE)"
+diff -up zabbix-6.0.13/src/zabbix_proxy/proxyconfig/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_proxy/proxyconfig/Makefile.am
+--- zabbix-6.0.13/src/zabbix_proxy/proxyconfig/Makefile.am.out-of-tree 2023-01-27 02:18:53.058143998 -0700
++++ zabbix-6.0.13/src/zabbix_proxy/proxyconfig/Makefile.am 2023-02-16 12:12:40.747876062 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxproxyconfig.a
+
+ libzbxproxyconfig_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_proxy/taskmanager/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_proxy/taskmanager/Makefile.am
+--- zabbix-6.0.13/src/zabbix_proxy/taskmanager/Makefile.am.out-of-tree 2023-01-23 01:33:45.991502925 -0700
++++ zabbix-6.0.13/src/zabbix_proxy/taskmanager/Makefile.am 2023-02-16 12:12:40.748876057 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxtaskmanager.a
+
+ libzbxtaskmanager_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_sender/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_sender/Makefile.am
+--- zabbix-6.0.13/src/zabbix_sender/Makefile.am.out-of-tree 2023-02-01 00:19:54.628719606 -0700
++++ zabbix-6.0.13/src/zabbix_sender/Makefile.am 2023-02-16 12:12:40.749876052 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ bin_PROGRAMS = zabbix_sender
+
+ zabbix_sender_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/alerter/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/alerter/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/alerter/Makefile.am.out-of-tree 2023-01-30 00:22:05.008328759 -0700
++++ zabbix-6.0.13/src/zabbix_server/alerter/Makefile.am 2023-02-16 12:12:40.750876048 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxalerter.a
+
+ libzbxalerter_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/availability/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/availability/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/availability/Makefile.am.out-of-tree 2023-02-01 00:19:54.632719646 -0700
++++ zabbix-6.0.13/src/zabbix_server/availability/Makefile.am 2023-02-16 12:12:40.751876043 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libavailability.a
+
+ libavailability_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/dbconfig/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/dbconfig/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/dbconfig/Makefile.am.out-of-tree 2023-01-27 02:18:53.066144108 -0700
++++ zabbix-6.0.13/src/zabbix_server/dbconfig/Makefile.am 2023-02-16 12:12:40.751876043 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxdbconfig.a
+
+ libzbxdbconfig_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/dbsyncer/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/dbsyncer/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/dbsyncer/Makefile.am.out-of-tree 2023-01-23 01:33:45.995502978 -0700
++++ zabbix-6.0.13/src/zabbix_server/dbsyncer/Makefile.am 2023-02-16 12:12:40.752876038 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxdbsyncer.a
+
+ libzbxdbsyncer_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/discoverer/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/discoverer/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/discoverer/Makefile.am.out-of-tree 2023-01-23 01:33:45.995502978 -0700
++++ zabbix-6.0.13/src/zabbix_server/discoverer/Makefile.am 2023-02-16 12:12:40.753876034 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxdiscoverer.a
+
+ libzbxdiscoverer_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/escalator/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/escalator/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/escalator/Makefile.am.out-of-tree 2023-01-23 01:33:45.995502978 -0700
++++ zabbix-6.0.13/src/zabbix_server/escalator/Makefile.am 2023-02-16 12:12:40.754876029 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxescalator.a
+
+ libzbxescalator_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/ha/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/ha/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/ha/Makefile.am.out-of-tree 2023-02-01 00:19:54.632719646 -0700
++++ zabbix-6.0.13/src/zabbix_server/ha/Makefile.am 2023-02-16 12:12:40.754876029 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxha.a
+
+ libzbxha_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/housekeeper/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/housekeeper/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/housekeeper/Makefile.am.out-of-tree 2023-02-01 00:19:54.632719646 -0700
++++ zabbix-6.0.13/src/zabbix_server/housekeeper/Makefile.am 2023-02-16 12:12:40.755876024 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxhousekeeper.a
+
+ libzbxhousekeeper_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/httppoller/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/httppoller/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/httppoller/Makefile.am.out-of-tree 2023-01-23 01:33:45.995502978 -0700
++++ zabbix-6.0.13/src/zabbix_server/httppoller/Makefile.am 2023-02-16 12:12:40.756876019 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxhttppoller.a
+
+ libzbxhttppoller_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/ipmi/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/ipmi/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/ipmi/Makefile.am.out-of-tree 2023-01-23 01:33:45.999503030 -0700
++++ zabbix-6.0.13/src/zabbix_server/ipmi/Makefile.am 2023-02-16 12:12:40.758876010 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libipmi.a
+
+ libipmi_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/lld/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/lld/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/lld/Makefile.am.out-of-tree 2023-01-30 00:22:05.012328788 -0700
++++ zabbix-6.0.13/src/zabbix_server/lld/Makefile.am 2023-02-16 12:12:40.758876010 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxlld.a
+
+ libzbxlld_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/Makefile.am.out-of-tree 2023-02-01 00:19:54.628719606 -0700
++++ zabbix-6.0.13/src/zabbix_server/Makefile.am 2023-02-16 12:12:40.759876005 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ SUBDIRS = \
+ alerter \
+ dbsyncer \
+@@ -151,4 +153,4 @@ install-data-hook:
+ $(MKDIR_P) "$(DESTDIR)$(EXTERNAL_SCRIPTS_PATH)"
+ $(MKDIR_P) "$(DESTDIR)$(ALERT_SCRIPTS_PATH)"
+ $(MKDIR_P) "$(DESTDIR)$(LOAD_MODULE_PATH)"
+- test -f "$(DESTDIR)$(SERVER_CONFIG_FILE)" || cp "../../conf/zabbix_server.conf" "$(DESTDIR)$(SERVER_CONFIG_FILE)"
++ test -f "$(DESTDIR)$(SERVER_CONFIG_FILE)" || cp "$(top_srcdir)/conf/zabbix_server.conf" "$(DESTDIR)$(SERVER_CONFIG_FILE)"
+diff -up zabbix-6.0.13/src/zabbix_server/odbc/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/odbc/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/odbc/Makefile.am.out-of-tree 2023-01-23 01:33:45.999503030 -0700
++++ zabbix-6.0.13/src/zabbix_server/odbc/Makefile.am 2023-02-16 12:12:40.760876000 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxodbc.a
+
+ libzbxodbc_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/pinger/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/pinger/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/pinger/Makefile.am.out-of-tree 2023-01-23 01:33:45.999503030 -0700
++++ zabbix-6.0.13/src/zabbix_server/pinger/Makefile.am 2023-02-16 12:12:40.761875995 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxpinger.a
+
+ libzbxpinger_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/poller/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/poller/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/poller/Makefile.am.out-of-tree 2023-02-01 00:19:54.640719721 -0700
++++ zabbix-6.0.13/src/zabbix_server/poller/Makefile.am 2023-02-16 12:12:40.761875995 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxpoller.a libzbxpoller_server.a libzbxpoller_proxy.a
+
+ libzbxpoller_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/preprocessor/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/preprocessor/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/preprocessor/Makefile.am.out-of-tree 2023-02-01 00:19:54.644719758 -0700
++++ zabbix-6.0.13/src/zabbix_server/preprocessor/Makefile.am 2023-02-16 12:12:40.763875986 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libpreprocessor.a
+
+ libpreprocessor_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/proxypoller/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/proxypoller/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/proxypoller/Makefile.am.out-of-tree 2023-01-27 02:18:53.086144382 -0700
++++ zabbix-6.0.13/src/zabbix_server/proxypoller/Makefile.am 2023-02-16 12:12:40.764875981 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxproxypoller.a
+
+ libzbxproxypoller_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/reporter/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/reporter/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/reporter/Makefile.am.out-of-tree 2023-02-01 00:19:54.648719797 -0700
++++ zabbix-6.0.13/src/zabbix_server/reporter/Makefile.am 2023-02-16 12:12:40.766875971 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxreporter.a
+
+ libzbxreporter_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/scripts/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/scripts/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/scripts/Makefile.am.out-of-tree 2023-01-23 01:33:46.007503136 -0700
++++ zabbix-6.0.13/src/zabbix_server/scripts/Makefile.am 2023-02-16 12:12:40.767875967 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxscripts.a
+
+ libzbxscripts_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/selfmon/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/selfmon/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/selfmon/Makefile.am.out-of-tree 2023-01-27 02:18:53.086144382 -0700
++++ zabbix-6.0.13/src/zabbix_server/selfmon/Makefile.am 2023-02-16 12:12:40.769875957 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxselfmon.a
+
+ libzbxselfmon_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/service/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/service/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/service/Makefile.am.out-of-tree 2023-02-01 00:19:54.648719797 -0700
++++ zabbix-6.0.13/src/zabbix_server/service/Makefile.am 2023-02-16 12:12:40.770875952 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libservice.a
+
+ libservice_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/snmptrapper/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/snmptrapper/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/snmptrapper/Makefile.am.out-of-tree 2023-01-23 01:33:46.007503136 -0700
++++ zabbix-6.0.13/src/zabbix_server/snmptrapper/Makefile.am 2023-02-16 12:12:40.772875943 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxsnmptrapper.a
+
+ libzbxsnmptrapper_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/taskmanager/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/taskmanager/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/taskmanager/Makefile.am.out-of-tree 2023-01-23 01:33:46.007503136 -0700
++++ zabbix-6.0.13/src/zabbix_server/taskmanager/Makefile.am 2023-02-16 12:12:40.773875938 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxtaskmanager.a
+
+ libzbxtaskmanager_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/timer/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/timer/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/timer/Makefile.am.out-of-tree 2023-01-23 01:33:46.007503136 -0700
++++ zabbix-6.0.13/src/zabbix_server/timer/Makefile.am 2023-02-16 12:12:40.773875938 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxtimer.a
+
+ libzbxtimer_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/trapper/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/trapper/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/trapper/Makefile.am.out-of-tree 2023-02-01 00:19:54.648719797 -0700
++++ zabbix-6.0.13/src/zabbix_server/trapper/Makefile.am 2023-02-16 12:12:40.774875933 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxtrapper.a libzbxtrapper_server.a libzbxtrapper_proxy.a
+
+ libzbxtrapper_a_SOURCES = \
+diff -up zabbix-6.0.13/src/zabbix_server/vmware/Makefile.am.out-of-tree zabbix-6.0.13/src/zabbix_server/vmware/Makefile.am
+--- zabbix-6.0.13/src/zabbix_server/vmware/Makefile.am.out-of-tree 2023-01-30 00:22:05.028328900 -0700
++++ zabbix-6.0.13/src/zabbix_server/vmware/Makefile.am 2023-02-16 12:12:40.775875929 -0700
+@@ -1,5 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
++AM_CPPFLAGS = -I$(top_srcdir)/include
++
+ noinst_LIBRARIES = libzbxvmware.a
+
+ libzbxvmware_a_SOURCES = \