2012-05-21 15:12:37 +04: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-18 01:45:29 +04:00
|
|
|
|
|
|
|
DEPTH = ..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2012-02-13 18:48:23 +04:00
|
|
|
MODULE = mozglue
|
|
|
|
LIBRARY_NAME = mfbt
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
STL_FLAGS =
|
|
|
|
|
2012-05-14 23:50:20 +04:00
|
|
|
TEST_DIRS = \
|
|
|
|
tests \
|
|
|
|
$(NULL)
|
2011-12-18 01:45:29 +04: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 18:48:23 +04: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 20:05:11 +04:00
|
|
|
MFBT_ROOT = $(srcdir)
|
|
|
|
include $(MFBT_ROOT)/sources.mk
|
2012-02-13 18:48:23 +04:00
|
|
|
|
|
|
|
DEFINES += -DIMPL_MFBT
|
|
|
|
|
2011-12-18 01:45:29 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|