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/.
6
topsrcdir = @top_srcdir@
10
include $(DEPTH)/config/autoconf.mk
12
NO_PROFILE_GUIDED_OPTIMIZE = 1
15
ifneq ($(OS_TEST),x86_64)
16
TEST_DIRS += vmwarerecordinghelper
26
PROGRAM = crashinject$(BIN_SUFFIX)
28
CPPSRCS = crashinject.cpp
34
include $(topsrcdir)/config/rules.mk
36
ifdef WIN32_REDIST_DIR
39
ifeq (1400,$(_MSC_VER))
41
Microsoft.VC80.CRT.manifest \
48
ifeq (1500,$(_MSC_VER))
50
Microsoft.VC90.CRT.manifest \
57
ifeq (1600,$(_MSC_VER))
64
ifeq (1700,$(_MSC_VER))
72
REDIST_FILES += vccorlib110.dll
77
$(call mkdir_deps,$(FINAL_TARGET)) \
81
install --preserve-timestamps $(foreach f,$(REDIST_FILES),"$(WIN32_REDIST_DIR)"/$(f)) $(FINAL_TARGET)
85
endif # WIN32_REDIST_DIR
87
# run the binscope tool to make sure the binary and all libraries
88
# are using all available Windows OS-level security mechanisms
90
$(PYTHON) $(srcdir)/autobinscope.py $(DIST)/bin/$(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/crashreporter-symbols/
91
$(PYTHON) $(srcdir)/autobinscope.py $(DIST)/bin/plugin-container.exe $(DIST)/crashreporter-symbols/