2011-09-03 06:19:06 +00:00
|
|
|
#
|
2012-05-21 11:12:37 +00: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-09-03 06:19:06 +00:00
|
|
|
|
2013-11-19 02:47:45 +00:00
|
|
|
# For FORCE_SHARED_LIB
|
|
|
|
include $(topsrcdir)/config/config.mk
|
2012-05-03 06:36:12 +00:00
|
|
|
|
2011-09-03 06:19:06 +00:00
|
|
|
ifeq (WINNT,$(OS_TARGET))
|
2014-08-01 00:30:30 +00:00
|
|
|
mozglue.def: mozglue.def.in $(GLOBAL_DEPS)
|
2013-11-09 01:35:44 +00:00
|
|
|
$(call py_action,preprocessor,$(if $(MOZ_REPLACE_MALLOC),-DMOZ_REPLACE_MALLOC) $(ACDEFINES) $< -o $@)
|
2011-09-03 06:19:06 +00:00
|
|
|
|
2011-12-28 07:24:02 +00:00
|
|
|
GARBAGE += mozglue.def
|
2018-10-10 13:57:53 +00:00
|
|
|
|
|
|
|
# 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
|
2011-09-03 06:19:06 +00:00
|
|
|
endif
|
|
|
|
|
2014-10-24 04:08:01 +00:00
|
|
|
include $(topsrcdir)/mozglue/build/replace_malloc.mk
|