michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: unittestlocation = xpcom/tests/unit michael@0: michael@0: MANIFEST = testcompnoaslr.manifest michael@0: MANIFEST_PATH = $(testxpcobjdir)/$(unittestlocation) michael@0: PP_TARGETS += MANIFEST michael@0: michael@0: EXTRA_DSO_LDOPTS = \ michael@0: $(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \ michael@0: $(XPCOM_FROZEN_LDOPTS) \ michael@0: $(NSPR_LIBS) \ michael@0: $(NULL) michael@0: michael@0: # Need to link with CoreFoundation on Mac michael@0: ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) michael@0: EXTRA_DSO_LDOPTS += \ michael@0: $(TK_LIBS) \ michael@0: $(NULL) michael@0: endif michael@0: michael@0: LIB_FILES = $(SHARED_LIBRARY) michael@0: LIB_DEST = $(testxpcobjdir)/$(unittestlocation) michael@0: INSTALL_TARGETS += LIB michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: LDFLAGS := $(filter-out -DYNAMICBASE,$(LDFLAGS)) -DYNAMICBASE:NO