2014-10-22 09:18:53 +02:00
|
|
|
include $(SRC_PATH)build/arch.mk
|
2014-04-11 09:48:37 +02:00
|
|
|
ifeq ($(ASM_ARCH), x86)
|
|
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
|
|
ASMFLAGS += -f win64
|
|
|
|
ASMFLAGS_PLATFORM = -DWIN64
|
|
|
|
else
|
|
|
|
ASMFLAGS += -f win32 -DPREFIX
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
ifeq ($(ASM_ARCH), arm)
|
|
|
|
CCAS = gas-preprocessor.pl -as-type armasm -force-thumb -- armasm
|
2014-05-08 13:07:54 +02:00
|
|
|
CCASFLAGS = -nologo -DHAVE_NEON
|
2014-04-11 09:48:37 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-12 21:12:33 +01:00
|
|
|
CC=cl
|
2013-12-27 23:01:38 +01:00
|
|
|
CXX=cl
|
|
|
|
AR=lib
|
|
|
|
CXX_O=-Fo$@
|
2014-05-16 07:53:59 +02:00
|
|
|
# -D_VARIADIC_MAX=10 is required to fix building gtest on MSVC 2012, but
|
|
|
|
# since we don't (easily) know which version of MSVC we use here, we add
|
|
|
|
# it unconditionally. The same issue can also be worked around by adding
|
|
|
|
# -DGTEST_HAS_TR1_TUPLE=0 instead, but we prefer this version since it
|
|
|
|
# matches what gtest itself does.
|
2014-05-06 10:14:41 +02:00
|
|
|
CFLAGS += -nologo -W3 -EHsc -fp:precise -Zc:wchar_t -Zc:forScope -D_VARIADIC_MAX=10
|
2013-12-27 23:01:38 +01:00
|
|
|
CXX_LINK_O=-nologo -Fe$@
|
|
|
|
AR_OPTS=-nologo -out:$@
|
2014-04-10 03:46:42 +02:00
|
|
|
CFLAGS_OPT=-O2 -Ob1 -Oy- -Zi -GF -Gm- -GS -Gy -DNDEBUG
|
2014-07-09 14:13:41 +02:00
|
|
|
CFLAGS_DEBUG=-Od -Oy- -Zi -RTC1 -D_DEBUG
|
2013-12-27 23:01:38 +01:00
|
|
|
CFLAGS_M32=
|
|
|
|
CFLAGS_M64=
|
2014-07-02 11:31:55 +02:00
|
|
|
LINK_LOCAL_DIR=
|
2013-12-27 23:01:38 +01:00
|
|
|
LINK_LIB=$(1).lib
|
|
|
|
LIBSUFFIX=lib
|
|
|
|
LIBPREFIX=
|
2014-01-23 15:14:09 +01:00
|
|
|
EXEEXT=.exe
|
2014-03-18 10:21:46 +01:00
|
|
|
OBJ=obj
|
2014-02-19 10:51:50 +01:00
|
|
|
SHAREDLIBSUFFIX=dll
|
|
|
|
SHARED=-LD
|
2014-05-04 14:55:17 +02:00
|
|
|
SHLDFLAGS=-link -def:openh264.def -implib:$(PROJECT_NAME)_dll.lib
|
2014-05-04 14:54:16 +02:00
|
|
|
EXTRA_LIBRARY=$(PROJECT_NAME)_dll.lib
|