blob: acf754df55b2b1f84aaf774ea27337127e7f6827 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# 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_sender
PROJECTDIR = ..\..\..\src\$(PROJECTNAME)
TARGETNAME = zabbix_sender
TARGETEXT = exe
PROGNAME = $(TARGETDIR)\$(TARGETNAME).$(TARGETEXT)
ADD_CFLAGS = $(ADD_CFLAGS) /D NDEBUG /Fd$(TARGETNAME).$(TARGETEXT).pdb
ADD_RFLAGS = /d "ZABBIX_SENDER"
!INCLUDE Makefile_common.inc
# the main object file must be already added in master Makefile
OBJS = \
..\..\..\src\libs\zbxcommon\comms.o \
..\..\..\src\libs\zbxcommon\iprange.o \
..\..\..\src\libs\zbxcommon\misc.o \
..\..\..\src\libs\zbxcommon\str.o \
..\..\..\src\libs\zbxcommon\xml.o \
..\..\..\src\libs\zbxcommon\zbxgetopt.o \
..\..\..\src\libs\zbxcomms\comms.o \
..\..\..\src\libs\zbxcompress\compress.o \
..\..\..\src\libs\zbxconf\cfg.o \
..\..\..\src\libs\zbxcrypto\base64.o \
..\..\..\src\libs\zbxcrypto\md5.o \
..\..\..\src\libs\zbxjson\json.o \
..\..\..\src\libs\zbxjson\json_parser.o \
..\..\..\src\libs\zbxlog\log.o \
..\..\..\src\libs\zbxsys\mutexs.o \
..\..\..\src\libs\zbxsys\symbols.o \
..\..\..\src\libs\zbxsys\threads.o \
..\..\..\src\libs\zbxwin32\fatal.o \
..\..\..\src\zabbix_sender\zabbix_sender.o
LIBS = ws2_32.lib psapi.lib pdh.lib Wldap32.lib advapi32.lib uuid.lib Iphlpapi.lib user32.lib
!INCLUDE Makefile_pcre.inc
!INCLUDE Makefile_tls.inc
!INCLUDE Makefile_targets.inc
|