2010-12-03 20:24:22 +00:00
|
|
|
#
|
2012-05-21 11:12:37 +00:00
|
|
|
# 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/.
|
2010-12-03 20:24:22 +00:00
|
|
|
|
2013-11-05 04:28:26 +00:00
|
|
|
unittestlocation = xpcom/tests/unit
|
|
|
|
|
|
|
|
MANIFEST = testcomponent.manifest
|
|
|
|
MANIFEST_PATH = $(testxpcobjdir)/$(unittestlocation)
|
|
|
|
PP_TARGETS += MANIFEST
|
2010-12-03 20:24:22 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2013-11-05 04:28:26 +00:00
|
|
|
LIB_FILES = $(SHARED_LIBRARY)
|
|
|
|
LIB_DEST = $(testxpcobjdir)/$(unittestlocation)
|
|
|
|
INSTALL_TARGETS += LIB
|