2012-05-21 04:12:37 -07: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-07-30 12:17:56 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2010-07-30 12:17:56 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2010-08-01 21:45:18 -07:00
|
|
|
MODULE_NAME = jsperf
|
2010-07-30 12:17:56 -07:00
|
|
|
|
|
|
|
EXTRA_JS_MODULES = \
|
|
|
|
PerfMeasurement.jsm \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LIBRARY_NAME = jsperf
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
2012-12-29 17:33:30 -08:00
|
|
|
FAIL_ON_WARNINGS = 1
|
2010-07-30 12:17:56 -07:00
|
|
|
|
2012-11-13 08:57:46 -08:00
|
|
|
LOCAL_INCLUDES := \
|
|
|
|
-I$(topsrcdir)/js/xpconnect/loader \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-07-30 12:17:56 -07:00
|
|
|
ifdef ENABLE_TESTS
|
2012-07-03 13:49:02 -07:00
|
|
|
MOCHITEST_CHROME_FILES = \
|
2010-07-30 12:17:56 -07:00
|
|
|
test_pm.xul \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|