gecko/xpcom/tests/component_no_aslr/Makefile.in
Mike Hommey ff32f10568 Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00

36 lines
891 B
Makefile

#
# 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/.
FORCE_SHARED_LIB = 1
unittestlocation = xpcom/tests/unit
MANIFEST = testcompnoaslr.manifest
MANIFEST_PATH = $(testxpcobjdir)/$(unittestlocation)
PP_TARGETS += MANIFEST
EXTRA_DSO_LDOPTS = \
$(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
$(XPCOM_FROZEN_LDOPTS) \
$(NSPR_LIBS) \
$(NULL)
# Need to link with CoreFoundation on Mac
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
EXTRA_DSO_LDOPTS += \
$(TK_LIBS) \
$(NULL)
endif
LIB_FILES = $(SHARED_LIBRARY)
LIB_DEST = $(testxpcobjdir)/$(unittestlocation)
INSTALL_TARGETS += LIB
include $(topsrcdir)/config/rules.mk
LDFLAGS := $(filter-out -DYNAMICBASE,$(LDFLAGS)) -DYNAMICBASE:NO
DEFINES += -DLIBRARY_FILENAME="$(SHARED_LIBRARY)"