1999-09-21 06:12:01 +04:00
|
|
|
#!gmake
|
|
|
|
#
|
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/.
|
1999-09-21 06:12:01 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
2009-03-30 04:48:52 +04:00
|
|
|
-I$(srcdir)/../style \
|
|
|
|
-I$(srcdir)/../base \
|
|
|
|
-I$(srcdir)/../generic \
|
|
|
|
-I$(srcdir)/../tables \
|
2008-01-09 12:38:28 +03:00
|
|
|
-I$(topsrcdir)/content/base/src \
|
|
|
|
-I$(topsrcdir)/content/mathml/content/src \
|
2009-03-30 04:48:52 +04:00
|
|
|
-I$(srcdir)/../xul/base/src \
|
1999-09-21 06:12:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2008-04-05 07:38:25 +04:00
|
|
|
font_properties = \
|
2012-02-29 03:40:38 +04:00
|
|
|
mathfontMathJax_Main.properties \
|
2007-12-05 06:58:09 +03:00
|
|
|
mathfontUnicode.properties \
|
|
|
|
mathfontSTIXNonUnicode.properties \
|
|
|
|
mathfontSTIXSize1.properties \
|
2010-06-11 02:15:43 +04:00
|
|
|
mathfontSTIXSizeOneSym.properties \
|
2011-06-22 19:49:26 +04:00
|
|
|
mathfontAsanaMath.properties \
|
2007-12-05 06:58:09 +03:00
|
|
|
mathfontStandardSymbolsL.properties \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2008-04-05 07:38:25 +04:00
|
|
|
ifeq ($(TARGET_MD_ARCH),win32)
|
|
|
|
font_properties += \
|
|
|
|
mathfontSymbol.properties
|
|
|
|
endif
|
|
|
|
|
|
|
|
libs:: $(font_properties)
|
2001-12-18 12:14:29 +03:00
|
|
|
$(INSTALL) $^ $(DIST)/bin/res/fonts
|
|
|
|
|
2008-04-05 07:38:25 +04:00
|
|
|
install:: $(font_properties)
|
2002-04-25 06:52:44 +04:00
|
|
|
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/res/fonts
|
2001-12-18 12:14:29 +03:00
|
|
|
|
2008-04-05 07:38:25 +04:00
|
|
|
math_properties = mathfont.properties
|
|
|
|
|
|
|
|
$(DIST)/bin/res/fonts/$(math_properties) $(DESTDIR)$(mozappdir)/res/fonts/$(math_properties): $(math_properties) Makefile
|
|
|
|
test -d $(@D) || $(NSINSTALL) -D $(@D)
|
|
|
|
rm -f $@
|
|
|
|
$(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py --marker=% $(DEFINES) $(ACDEFINES) $< > $@
|
|
|
|
|
|
|
|
libs:: $(DIST)/bin/res/fonts/$(math_properties)
|
|
|
|
install:: $(DESTDIR)$(mozappdir)/res/fonts/$(math_properties)
|