зеркало из https://github.com/mozilla/gecko-dev.git
23 строки
795 B
Makefile
23 строки
795 B
Makefile
#
|
|
# 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/.
|
|
|
|
# For FORCE_SHARED_LIB
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
ifeq (WINNT,$(OS_TARGET))
|
|
mozglue.def: mozglue.def.in $(GLOBAL_DEPS)
|
|
$(call py_action,preprocessor,$(if $(MOZ_REPLACE_MALLOC),-DMOZ_REPLACE_MALLOC) $(ACDEFINES) $< -o $@)
|
|
|
|
GARBAGE += mozglue.def
|
|
|
|
# Rebuild mozglue.dll if the manifest changes - it's included by mozglue.rc.
|
|
# (this dependency should really be just for mozglue.dll, not other targets)
|
|
# Note the manifest file exists in the tree, so we use the explicit filename
|
|
# here.
|
|
EXTRA_DEPS += mozglue.dll.manifest
|
|
endif
|
|
|
|
include $(topsrcdir)/mozglue/build/replace_malloc.mk
|