You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.4 KiB
78 lines
2.4 KiB
# detect target architecture
|
|
!IF "$(CPU)" == ""
|
|
CPU=$(PROCESSOR_ARCHITECTURE)
|
|
!ENDIF
|
|
|
|
!IF "$(CPU)" == "i386" || "$(CPU)" == "x86"
|
|
TARGETDIR = ..\..\..\bin\win32
|
|
ADD_LFLAGS = /MACHINE:X86
|
|
|
|
!ELSEIF "$(CPU)" == "AMD64"
|
|
TARGETDIR = ..\..\..\bin\win64
|
|
ADD_LFLAGS = /MACHINE:X64
|
|
|
|
!ELSE
|
|
!ERROR Unsupported CPU architecture: $(CPU)
|
|
!ENDIF
|
|
|
|
PROJECTNAME = zabbix_get
|
|
PROJECTDIR = ..\..\..\src\$(PROJECTNAME)
|
|
TARGETNAME = zabbix_get
|
|
TARGETEXT = exe
|
|
PROGNAME = $(TARGETDIR)\$(TARGETNAME).$(TARGETEXT)
|
|
|
|
ADD_CFLAGS = $(ADD_CFLAGS) /D NDEBUG /Fd$(TARGETNAME).$(TARGETEXT).pdb
|
|
ADD_RFLAGS = /d "ZABBIX_GET"
|
|
|
|
!INCLUDE Makefile_common.inc
|
|
|
|
OBJS = \
|
|
..\..\..\src\libs\zbxalgo\algodefs.o \
|
|
..\..\..\src\libs\zbxalgo\vector.o \
|
|
..\..\..\src\libs\zbxalgo\hashset.o \
|
|
..\..\..\src\libs\zbxcrypto\endian.o \
|
|
..\..\..\src\libs\zbxip\ip.o \
|
|
..\..\..\src\libs\zbxip\iprange.o \
|
|
..\..\..\src\libs\zbxcommon\misc.o \
|
|
..\..\..\src\libs\zbxcommon\common_log.o \
|
|
..\..\..\src\libs\zbxstr\str.o \
|
|
..\..\..\src\libs\zbxnum\num.o \
|
|
..\..\..\src\libs\zbxcommon\common_str.o \
|
|
..\..\..\src\libs\zbxparam\param.o \
|
|
..\..\..\src\libs\zbxtime\time.o \
|
|
..\..\..\src\libs\zbxexpr\expr.o \
|
|
..\..\..\src\libs\zbxexpr\function.o \
|
|
..\..\..\src\libs\zbxexpr\host.o \
|
|
..\..\..\src\libs\zbxexpr\macro.o \
|
|
..\..\..\src\libs\zbxexpr\token.o \
|
|
..\..\..\src\libs\zbxcommon\components_strings_representations.o \
|
|
..\..\..\src\libs\zbxcommon\libc_wrappers.o \
|
|
..\..\..\src\libs\zbxcommshigh\commshigh.o \
|
|
..\..\..\src\libs\zbxcomms\comms.o \
|
|
..\..\..\src\libs\zbxcompress\compress.o \
|
|
..\..\..\src\libs\zbxconf\cfg.o \
|
|
..\..\..\src\libs\zbxcrypto\base64.o \
|
|
..\..\..\src\libs\zbxcrypto\crypto.o \
|
|
..\..\..\src\libs\zbxgetopt\getopt.o \
|
|
..\..\..\src\libs\zbxhash\md5.o \
|
|
..\..\..\src\libs\zbxhash\zbxhash.o \
|
|
..\..\..\src\libs\zbxjson\json.o \
|
|
..\..\..\src\libs\zbxjson\json_parser.o \
|
|
..\..\..\src\libs\zbxjson\jsonpath.o \
|
|
..\..\..\src\libs\zbxjson\jsonobj.o \
|
|
..\..\..\src\libs\zbxlog\log.o \
|
|
..\..\..\src\libs\zbxmutexs\mutexs.o \
|
|
..\..\..\src\libs\zbxvariant\variant.o \
|
|
..\..\..\src\libs\zbxversion\version.o \
|
|
..\..\..\src\libs\zbxthreads\threads.o \
|
|
..\..\..\src\zabbix_get\zabbix_get.o \
|
|
..\..\..\src\libs\zbxregexp\zbxregexp.o \
|
|
..\..\..\src\libs\zbxxml\xml.o \
|
|
..\..\..\src\libs\zbxwin32\fatal.o
|
|
|
|
LIBS = ws2_32.lib psapi.lib pdh.lib Wldap32.lib advapi32.lib uuid.lib Iphlpapi.lib user32.lib shlwapi.lib $(LIBS)
|
|
|
|
!INCLUDE Makefile_pcre.inc
|
|
!INCLUDE Makefile_tls.inc
|
|
!INCLUDE Makefile_targets.inc
|