2001-02-19 14:56:40 +03:00
|
|
|
#
|
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/.
|
2001-02-19 14:56:40 +03:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2001-02-19 14:56:40 +03:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2003-08-16 04:42:35 +04:00
|
|
|
MODULE = content
|
2011-10-06 20:15:07 +04:00
|
|
|
PARALLEL_DIRS = base canvas events html mathml/content/src smil svg xml xul xbl xslt
|
2001-02-19 14:56:40 +03:00
|
|
|
|
2008-07-09 12:22:20 +04:00
|
|
|
ifdef MOZ_MEDIA
|
2009-10-23 02:13:12 +04:00
|
|
|
PARALLEL_DIRS += media
|
2008-07-09 12:22:20 +04:00
|
|
|
endif
|
|
|
|
|
2004-10-08 00:59:53 +04:00
|
|
|
ifdef MOZ_XTF
|
2008-10-30 20:02:14 +03:00
|
|
|
PARALLEL_DIRS += xtf
|
2004-10-08 00:59:53 +04:00
|
|
|
endif
|
|
|
|
|
2005-11-29 19:24:42 +03:00
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
TOOL_DIRS += test
|
|
|
|
endif
|
|
|
|
|
2008-04-08 15:47:57 +04:00
|
|
|
# Prevent floating point errors caused by VC++ optimizations
|
|
|
|
ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_)
|
|
|
|
ifeq (,$(filter-out 1200 1300 1310,$(_MSC_VER)))
|
|
|
|
CFLAGS += -Op
|
|
|
|
else
|
|
|
|
CFLAGS += -fp:precise
|
|
|
|
endif
|
|
|
|
endif # WINNT
|
|
|
|
|
2001-02-19 14:56:40 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|