build/win32/Makefile.in

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:b6af6576977f
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/.
4
5 MOZ_GLUE_LDFLAGS =
6
7 include $(topsrcdir)/config/rules.mk
8
9 ifdef WIN32_REDIST_DIR
10 ifndef MOZ_DEBUG
11
12 ifeq (1600,$(_MSC_VER))
13 REDIST_FILES = \
14 msvcp100.dll \
15 msvcr100.dll \
16 $(NULL)
17 endif
18
19 ifeq (1700,$(_MSC_VER))
20 REDIST_FILES = \
21 msvcp110.dll \
22 msvcr110.dll \
23 $(NULL)
24 endif
25
26 ifeq (1800,$(_MSC_VER))
27 REDIST_FILES = \
28 msvcp120.dll \
29 msvcr120.dll \
30 $(NULL)
31 endif
32
33 ifdef REDIST_FILES
34 libs-preqs = \
35 $(call mkdir_deps,$(FINAL_TARGET)) \
36 $(NULL)
37
38 libs:: $(libs-preqs)
39 install --preserve-timestamps $(foreach f,$(REDIST_FILES),'$(WIN32_REDIST_DIR)'/$(f)) $(FINAL_TARGET)
40 endif
41
42 endif # ! MOZ_DEBUG
43 endif # WIN32_REDIST_DIR
44
45 # run the binscope tool to make sure the binary and all libraries
46 # are using all available Windows OS-level security mechanisms
47 check::
48 $(PYTHON) $(srcdir)/autobinscope.py $(DIST)/bin/$(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/crashreporter-symbols/
49 $(PYTHON) $(srcdir)/autobinscope.py $(DIST)/bin/plugin-container.exe $(DIST)/crashreporter-symbols/

mercurial