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.
40 lines
1.2 KiB
40 lines
1.2 KiB
CC = cl.exe
|
|
LINKER = link.exe
|
|
MC = mc.exe
|
|
MT = mt.exe
|
|
RC = rc.exe
|
|
|
|
MESSAGES_H = messages.h
|
|
RESOURCE_H = resource.h
|
|
RESOURCE_RC = resource.rc
|
|
DESC_H = $(PROJECTNAME)_desc.h
|
|
RESOURCE_RES = $(PROJECTNAME).res
|
|
|
|
INCS = /I $(PROJECTDIR) /I .\ /I ..\include /I ..\include\common /I ..\..\..\include /I ..\..\..\include\common
|
|
|
|
!IF "$(CPU)" == "i386" || "$(CPU)" == "x86"
|
|
COMMON_FLAGS = /D _WIN32_WINNT=0x0502
|
|
ADD_LFLAGS = $(ADD_LFLAGS) /SUBSYSTEM:"CONSOLE,5.01"
|
|
!ELSEIF "$(CPU)" == "AMD64"
|
|
COMMON_FLAGS = /D _WIN32_WINNT=0x0502
|
|
ADD_LFLAGS = $(ADD_LFLAGS) /SUBSYSTEM:"CONSOLE,5.02"
|
|
!ENDIF
|
|
|
|
!IF "$(DEBUG)" != ""
|
|
OPTS = /Ob0
|
|
!ELSE
|
|
OPTS = /O2
|
|
!ENDIF
|
|
|
|
COMMON_FLAGS = $(COMMON_FLAGS) /nologo $(OPTS) /GF /FD /EHsc /MT /Gy /W3 /c /D _WINDOWS /D _CONSOLE /D UNICODE \
|
|
/D _UNICODE /D HAVE_WINLDAP_H /D HAVE_ASSERT_H /D ZABBIX_SERVICE /D "_VC80_UPGRADE=0x0600" /D HAVE_IPV6
|
|
|
|
CFLAGS = $(CFLAGS) $(INCS) $(ADD_CFLAGS) $(COMMON_FLAGS) /TC
|
|
|
|
CPPFLAGS = $(INCS) $(ADD_CFLAGS) $(COMMON_FLAGS) /TP
|
|
|
|
LFLAGS = /NOLOGO $(ADD_LFLAGS) /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:"$(TARGETNAME).$(TARGETEXT).manifest" \
|
|
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DYNAMICBASE:NO /PDB:$(TARGETDIR)\$(TARGETNAME).pdb
|
|
|
|
RFLAGS = $(RFLAGS) $(ADD_RFLAGS) /d _WINDOWS
|