diff options
author | Vadim Ipatov <vadim.ipatov@zabbix.com> | 2020-09-11 16:12:58 +0300 |
---|---|---|
committer | Vadim Ipatov <vadim.ipatov@zabbix.com> | 2020-09-11 16:18:59 +0300 |
commit | 8fc6a92fc9aaf814c15f8cc913a98cb14400b9d4 (patch) | |
tree | aa9e4f6ba050a7c46dee7063b5221d17f6fd375d /build | |
parent | b0982aaf444be8ccdc0bf8f38d471b26e9b304f9 (diff) | |
parent | b2045e08ca6d1837b1ea6d765ad581b5ee22c6bb (diff) |
...G...... [ZBXNEXT-6019] added Oracle Database plugin
Diffstat (limited to 'build')
-rw-r--r-- | build/mingw/Makefile | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/build/mingw/Makefile b/build/mingw/Makefile index dcb5fc33530..8c6067d0d03 100644 --- a/build/mingw/Makefile +++ b/build/mingw/Makefile @@ -33,7 +33,7 @@ OBJS = \ $(OUTPUTDIR)\eventlog.o \ $(TARGETDIR)\resource.syso -CFLAGS := $(CFLAGS) -O2 -g -DUNICODE -DHAVE_STDINT_H=1 -DZBX_BUILD_AGENT2=1 -DHAVE_THREAD_LOCAL=1 \ +CFLAGS := $(CFLAGS) -O2 -g -DHAVE_STDINT_H=1 -DZBX_BUILD_AGENT2=1 -DHAVE_THREAD_LOCAL=1 \ -I$(TOPDIR)\build\win32\include -I$(TOPDIR)\build\mingw -I$(TOPDIR)\include RFLAGS := $(RFLAGS) --input-format=rc -O coff @@ -85,61 +85,61 @@ GOLDFLAGS += -X main.confDefault=zabbix_agent2.win.conf all: $(TARGETBIN) $(OUTPUTDIR)\misc.o: $(TOPDIR)\src\libs\zbxcommon\misc.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\iprange.o: $(TOPDIR)\src\libs\zbxcommon\iprange.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\str.o: $(TOPDIR)\src\libs\zbxcommon\str.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\file.o: $(TOPDIR)\src\libs\zbxcommon\file.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\alias.o: $(TOPDIR)\src\libs\zbxcommon\alias.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\tls_version.o: $(TOPDIR)\src\libs\zbxcrypto\tls_version.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\fatal.o: $(TOPDIR)\src\libs\zbxwin32\fatal.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\disk.o: $(TOPDIR)\src\libs\zbxwin32\disk.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\threads.o: $(TOPDIR)\src\libs\zbxsys\threads.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\md5.o: $(TOPDIR)\src\libs\zbxcrypto\md5.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\sysinfo.o: $(TOPDIR)\src\libs\zbxsysinfo\sysinfo.c - $(CC) $(CFLAGS) -DWITH_COMMON_METRICS -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -DWITH_COMMON_METRICS -c $^ -o $@ $(OUTPUTDIR)\sysinfo_system.o: $(TOPDIR)\src\libs\zbxsysinfo\common\system.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\sysinfo_dns.o: $(TOPDIR)\src\libs\zbxsysinfo\common\dns.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\sysinfo_dir.o: $(TOPDIR)\src\libs\zbxsysinfo\common\dir.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\vector.o: $(TOPDIR)\src\libs\zbxalgo\vector.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\algodefs.o: $(TOPDIR)\src\libs\zbxalgo\algodefs.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\zbxregexp.o: $(TOPDIR)\src\libs\zbxregexp\zbxregexp.c - $(CC) $(CFLAGS) -DPCRE_STATIC -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -DPCRE_STATIC -c $^ -o $@ $(OUTPUTDIR)\logfiles.o: $(TOPDIR)\src\zabbix_agent\logfiles\logfiles.c - $(CC) $(CFLAGS) -c $^ -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -o $@ $(OUTPUTDIR)\eventlog.o: $(TOPDIR)\src\zabbix_agent\eventlog.c - $(CC) $(CFLAGS) -c $^ -I$(TOPDIR)\go\win64 -o $@ + $(CC) $(CFLAGS) -DUNICODE -c $^ -I$(TOPDIR)\go\win64 -o $@ $(TARGETDIR)\resource.syso: $(TOPDIR)\build\win32\project\resource.rc $(WINDRES) $^ $(RFLAGS) -D _WINDOWS -D ZABBIX_AGENT2 -o $@ |