2012-05-21 04:12:37 -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/.
|
2011-12-07 14:06:52 -08:00
|
|
|
|
|
|
|
# We shouldn't sign the first pass of a PGO build
|
|
|
|
ifndef MOZ_PROFILE_GENERATE
|
|
|
|
|
|
|
|
# Signing support
|
|
|
|
ifdef MOZ_SIGN_CMD
|
|
|
|
ifeq (WINNT,$(OS_ARCH))
|
|
|
|
MOZ_INTERNAL_SIGNING_FORMAT := signcode
|
2012-06-15 06:29:32 -07:00
|
|
|
MOZ_EXTERNAL_SIGNING_FORMAT := signcode
|
2011-12-07 14:06:52 -08:00
|
|
|
SIGN_INCLUDES := \
|
|
|
|
'*.dll' \
|
|
|
|
'*.exe' \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SIGN_EXCLUDES := \
|
|
|
|
'D3DCompiler*.dll' \
|
|
|
|
'd3dx9*.dll' \
|
|
|
|
'msvc*.dll' \
|
|
|
|
$(NULL)
|
|
|
|
endif # Windows
|
|
|
|
|
|
|
|
ifeq (Darwin, $(OS_ARCH))
|
2012-05-25 06:25:07 -07:00
|
|
|
MOZ_INTERNAL_SIGNING_FORMAT := dmg
|
2012-06-15 06:29:32 -07:00
|
|
|
MOZ_EXTERNAL_SIGNING_FORMAT :=
|
2011-12-07 14:06:52 -08:00
|
|
|
endif # Darwin
|
|
|
|
|
|
|
|
ifeq (linux-gnu,$(TARGET_OS))
|
2012-06-15 06:29:32 -07:00
|
|
|
MOZ_EXTERNAL_SIGNING_FORMAT :=
|
2011-12-07 14:06:52 -08:00
|
|
|
endif # Linux
|
|
|
|
endif # MOZ_SIGN_CMD
|
|
|
|
|
|
|
|
endif # MOZ_PROFILE_GENERATE
|