mozglue/build/Makefile.in
author Chris Peterson <cpeterson@mozilla.com>
Fri, 08 Jul 2016 14:39:53 -0700
changeset 304291 96875d7ae6f2f4cb0f56cd872eaae90345933563
parent 243338 9bc266372d00ad5c1c93d901059bb47e18806330
child 389957 60190c4417108c2638b61ad9744edb48b44eeb33
permissions -rw-r--r--
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj

#
# 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
endif

include $(topsrcdir)/mozglue/build/replace_malloc.mk

ifdef MOZ_LINKER
ifeq (arm, $(TARGET_CPU))
OS_LDFLAGS += -Wl,-version-script,$(srcdir)/arm-eabi-filter
endif

endif