2012-05-14 19:50:20 +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/.
|
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2012-05-14 19:50:20 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
STL_FLAGS =
|
|
|
|
|
|
|
|
CPP_UNIT_TESTS = \
|
2012-10-04 00:09:59 +00:00
|
|
|
TestBloomFilter.cpp \
|
2012-05-14 19:50:20 +00:00
|
|
|
TestCheckedInt.cpp \
|
2012-11-06 23:23:13 +00:00
|
|
|
TestEnumSet.cpp \
|
2012-08-20 19:01:55 +00:00
|
|
|
TestSHA1.cpp \
|
2012-10-04 00:09:59 +00:00
|
|
|
TestTypeTraits.cpp \
|
2012-10-04 19:45:07 +00:00
|
|
|
TestWeakPtr.cpp \
|
2012-05-14 19:50:20 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# in order to prevent rules.mk from trying to link to libraries that are
|
|
|
|
# not available to MFBT, we have to reset these MOZ_GLUE*_LDFLAGS before including it
|
|
|
|
# and LIBS_ after including it. For WRAP_LDFLAGS, it shouldn't matter.
|
|
|
|
# See later comments in bug 732875.
|
|
|
|
|
|
|
|
MOZ_GLUE_PROGRAM_LDFLAGS=
|
|
|
|
MOZ_GLUE_LDFLAGS =
|
|
|
|
WRAP_LDFLAGS=
|
|
|
|
|
2012-10-29 09:21:33 +00:00
|
|
|
# Since we link directly with MFBT object files, define IMPL_MFBT
|
|
|
|
DEFINES += -DIMPL_MFBT
|
|
|
|
|
2012-05-14 19:50:20 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2012-08-20 19:01:55 +00:00
|
|
|
LIBS= $(call EXPAND_LIBNAME_PATH,mfbt,$(DEPTH)/mfbt)
|