2012-07-25 09:13:45 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2010-07-14 20:52:34 -07:00
|
|
|
|
2012-07-25 09:13:45 -07:00
|
|
|
ifdef MOZ_ANGLE_RENDERER
|
2010-12-03 14:44:01 -08:00
|
|
|
|
2013-01-24 14:48:17 -08:00
|
|
|
libs::
|
2014-03-21 18:49:26 -07:00
|
|
|
ifdef MOZ_HAS_WINSDK_WITH_D3D
|
|
|
|
cp -fp "$(MOZ_D3DCOMPILER_DLL_PATH)" "$(DIST)/bin"
|
|
|
|
else
|
2012-09-19 01:58:31 -07:00
|
|
|
ifdef MOZ_D3DCOMPILER_CAB
|
2013-12-02 13:34:21 -08:00
|
|
|
expand '$(MOZ_D3DCOMPILER_CAB)' -F:$(MOZ_D3DCOMPILER_DLL) '$(DIST)/bin'
|
2012-09-19 01:58:31 -07:00
|
|
|
endif
|
2014-03-21 18:49:26 -07:00
|
|
|
endif
|
2010-10-09 12:44:25 -07:00
|
|
|
|
|
|
|
endif
|
2011-03-29 15:16:39 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2013-01-24 06:21:01 -08:00
|
|
|
# We have to filter out -pedantic, because of
|
|
|
|
# comma-at-end-of-enumerator list failures. We can try to get this fixed
|
|
|
|
# upstream at some point.
|
|
|
|
CXXFLAGS := $(filter-out -pedantic,$(CXXFLAGS))
|
|
|
|
CFLAGS := $(filter-out -pedantic,$(CFLAGS))
|