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/.
|
2011-12-17 21:45:29 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2011-12-17 21:45:29 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2012-02-13 14:48:23 +00:00
|
|
|
MODULE = mozglue
|
|
|
|
LIBRARY_NAME = mfbt
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
STL_FLAGS =
|
|
|
|
|
2012-05-14 19:50:20 +00:00
|
|
|
TEST_DIRS = \
|
|
|
|
tests \
|
|
|
|
$(NULL)
|
2011-12-17 21:45:29 +00:00
|
|
|
|
|
|
|
# exported_headers.mk defines the headers exported by mfbt. It is included by
|
|
|
|
# mfbt itself and by the JS engine, which, when built standalone, must do the
|
|
|
|
# work to install mfbt's exported headers itself.
|
|
|
|
include $(srcdir)/exported_headers.mk
|
|
|
|
|
2012-02-13 14:48:23 +00:00
|
|
|
# sources.mk defines the source files built for mfbt. It is included by mfbt
|
|
|
|
# itself and by the JS engine, which, when built standalone, must do the work
|
|
|
|
# to build mfbt sources itself.
|
2012-04-09 16:05:11 +00:00
|
|
|
MFBT_ROOT = $(srcdir)
|
|
|
|
include $(MFBT_ROOT)/sources.mk
|
2012-02-13 14:48:23 +00:00
|
|
|
|
|
|
|
DEFINES += -DIMPL_MFBT
|
|
|
|
|
2011-12-17 21:45:29 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|