1# 2# This Source Code Form is subject to the terms of the Mozilla Public 3# License, v. 2.0. If a copy of the MPL was not distributed with this 4# file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6# For FORCE_SHARED_LIB 7include $(topsrcdir)/config/config.mk 8 9ifeq (WINNT,$(OS_TARGET)) 10mozglue.def: mozglue.def.in $(GLOBAL_DEPS) 11 $(call py_action,preprocessor,$(if $(MOZ_REPLACE_MALLOC),-DMOZ_REPLACE_MALLOC) $(ACDEFINES) $< -o $@) 12 13GARBAGE += mozglue.def 14endif 15 16include $(topsrcdir)/mozglue/build/replace_malloc.mk 17 18ifdef MOZ_LINKER 19ifeq (arm, $(TARGET_CPU)) 20OS_LDFLAGS += -Wl,-version-script,$(srcdir)/arm-eabi-filter 21endif 22 23endif 24