1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/angle/src/libEGL/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +ifndef GNU_CC 1.9 +# Enable unwind semantics for exception handlers in response to warning C4530. 1.10 +OS_CPPFLAGS += -EHsc 1.11 +endif 1.12 + 1.13 +# Below is a transcription of the EGL target from build_angle.gypi. 1.14 +# Target: 'libEGL' 1.15 +# Links with: 'libGLESv2' 1.16 + 1.17 +include $(topsrcdir)/config/rules.mk 1.18 + 1.19 +ifndef MOZ_HAS_WINSDK_WITH_D3D 1.20 +CXXFLAGS += -I'$(MOZ_DIRECTX_SDK_PATH)/include' 1.21 +endif 1.22 + 1.23 +#OS_LIBS += $(call EXPAND_LIBNAME,dwmapi) 1.24 + 1.25 +ifdef GNU_CC 1.26 + 1.27 +OS_CXXFLAGS := $(filter-out -fno-exceptions,$(OS_CXXFLAGS)) -fexceptions 1.28 +OS_LIBS += -ld3d9 -llibGLESv2 1.29 + 1.30 +else 1.31 + 1.32 +ifdef MOZ_HAS_WINSDK_WITH_D3D 1.33 +EXTRA_DSO_LDOPTS = d3d9.lib "$(DIST)/lib/libGLESv2.lib" delayimp.lib 1.34 +else 1.35 +EXTRA_DSO_LDOPTS = '$(MOZ_DIRECTX_SDK_PATH)/lib/$(MOZ_DIRECTX_SDK_CPU_SUFFIX)/d3d9.lib' \ 1.36 + '$(DIST)/lib/libGLESv2.lib' \ 1.37 + delayimp.lib 1.38 +endif 1.39 + 1.40 +endif