зеркало из https://github.com/mozilla/gecko-dev.git
38 строки
801 B
Makefile
38 строки
801 B
Makefile
#
|
|
# 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/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = content
|
|
PARALLEL_DIRS = base canvas events html mathml/content/src smil svg xml xul xbl xslt
|
|
|
|
ifdef MOZ_MEDIA
|
|
PARALLEL_DIRS += media
|
|
endif
|
|
|
|
ifdef MOZ_XTF
|
|
PARALLEL_DIRS += xtf
|
|
endif
|
|
|
|
ifdef ENABLE_TESTS
|
|
TOOL_DIRS += test
|
|
endif
|
|
|
|
# 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
|
|
|
|
include $(topsrcdir)/config/rules.mk
|