backout 29799f914cab, Bug 917642 - [Helix] Please update the helix blobs
[gecko.git] / gfx / angle / Makefile.in
blob76cfb92a09f673e9bba66f581cddc7fc5a2b0fdf
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 # The below is a rough translation of build_angle.gypi:
6 DEFINES += -DANGLE_DISABLE_TRACE
7 DEFINES += -DANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL1
9 # Target: 'preprocessor'
10 # src/compiler/preprocessor:
11 VPATH += $(srcdir)/src/compiler/preprocessor
13 # Target: 'translator_common'
14 # Requires: 'preprocessor'
15 LOCAL_INCLUDES += \
16 -I$(srcdir)/include \
17 -I$(srcdir)/include/KHR \
18 -I$(srcdir)/src
20 DEFINES += -DCOMPILER_IMPLEMENTATION
22 VPATH += $(srcdir)/src/compiler
23 VPATH += $(srcdir)/src/compiler/depgraph
24 VPATH += $(srcdir)/src/compiler/timing
25 VPATH += $(srcdir)/src/third_party/compiler
26 VPATH += $(srcdir)/src/third_party/murmurhash
28 # Target: 'translator_glsl'
29 # Requires: 'translator_common'
30 # src/compiler:
31 ifdef MOZ_ANGLE_RENDERER
33 libs::
34 ifdef MOZ_D3DCOMPILER_CAB
35 expand "$(MOZ_D3DCOMPILER_CAB)" -F:$(MOZ_D3DCOMPILER_DLL) "$(DIST)/bin"
36 endif
38 endif
40 include $(topsrcdir)/config/rules.mk
42 # We have to filter out -pedantic, because of
43 # comma-at-end-of-enumerator list failures. We can try to get this fixed
44 # upstream at some point.
45 CXXFLAGS := $(filter-out -pedantic,$(CXXFLAGS))
46 CFLAGS := $(filter-out -pedantic,$(CFLAGS))