1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xpcom/tests/component_no_aslr/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +unittestlocation = xpcom/tests/unit 1.10 + 1.11 +MANIFEST = testcompnoaslr.manifest 1.12 +MANIFEST_PATH = $(testxpcobjdir)/$(unittestlocation) 1.13 +PP_TARGETS += MANIFEST 1.14 + 1.15 +EXTRA_DSO_LDOPTS = \ 1.16 + $(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \ 1.17 + $(XPCOM_FROZEN_LDOPTS) \ 1.18 + $(NSPR_LIBS) \ 1.19 + $(NULL) 1.20 + 1.21 +# Need to link with CoreFoundation on Mac 1.22 +ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) 1.23 +EXTRA_DSO_LDOPTS += \ 1.24 + $(TK_LIBS) \ 1.25 + $(NULL) 1.26 +endif 1.27 + 1.28 +LIB_FILES = $(SHARED_LIBRARY) 1.29 +LIB_DEST = $(testxpcobjdir)/$(unittestlocation) 1.30 +INSTALL_TARGETS += LIB 1.31 + 1.32 +include $(topsrcdir)/config/rules.mk 1.33 + 1.34 +LDFLAGS := $(filter-out -DYNAMICBASE,$(LDFLAGS)) -DYNAMICBASE:NO