1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/build/win32/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,49 @@ 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 +MOZ_GLUE_LDFLAGS = 1.9 + 1.10 +include $(topsrcdir)/config/rules.mk 1.11 + 1.12 +ifdef WIN32_REDIST_DIR 1.13 +ifndef MOZ_DEBUG 1.14 + 1.15 +ifeq (1600,$(_MSC_VER)) 1.16 +REDIST_FILES = \ 1.17 + msvcp100.dll \ 1.18 + msvcr100.dll \ 1.19 + $(NULL) 1.20 +endif 1.21 + 1.22 +ifeq (1700,$(_MSC_VER)) 1.23 +REDIST_FILES = \ 1.24 + msvcp110.dll \ 1.25 + msvcr110.dll \ 1.26 + $(NULL) 1.27 +endif 1.28 + 1.29 +ifeq (1800,$(_MSC_VER)) 1.30 +REDIST_FILES = \ 1.31 + msvcp120.dll \ 1.32 + msvcr120.dll \ 1.33 + $(NULL) 1.34 +endif 1.35 + 1.36 +ifdef REDIST_FILES 1.37 +libs-preqs = \ 1.38 + $(call mkdir_deps,$(FINAL_TARGET)) \ 1.39 + $(NULL) 1.40 + 1.41 +libs:: $(libs-preqs) 1.42 + install --preserve-timestamps $(foreach f,$(REDIST_FILES),'$(WIN32_REDIST_DIR)'/$(f)) $(FINAL_TARGET) 1.43 +endif 1.44 + 1.45 +endif # ! MOZ_DEBUG 1.46 +endif # WIN32_REDIST_DIR 1.47 + 1.48 +# run the binscope tool to make sure the binary and all libraries 1.49 +# are using all available Windows OS-level security mechanisms 1.50 +check:: 1.51 + $(PYTHON) $(srcdir)/autobinscope.py $(DIST)/bin/$(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/crashreporter-symbols/ 1.52 + $(PYTHON) $(srcdir)/autobinscope.py $(DIST)/bin/plugin-container.exe $(DIST)/crashreporter-symbols/