2007-03-22 10:30:00 -07:00
|
|
|
#!gmake
|
|
|
|
#
|
2012-05-21 04:12:37 -07: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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
2009-03-29 17:48:52 -07:00
|
|
|
-I$(srcdir)/../style \
|
|
|
|
-I$(srcdir)/../base \
|
|
|
|
-I$(srcdir)/../generic \
|
|
|
|
-I$(srcdir)/../tables \
|
2008-01-09 01:38:28 -08:00
|
|
|
-I$(topsrcdir)/content/base/src \
|
|
|
|
-I$(topsrcdir)/content/mathml/content/src \
|
2009-03-29 17:48:52 -07:00
|
|
|
-I$(srcdir)/../xul/base/src \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2008-04-04 20:38:25 -07:00
|
|
|
font_properties = \
|
2012-02-28 15:40:38 -08:00
|
|
|
mathfontMathJax_Main.properties \
|
2007-12-04 19:58:09 -08:00
|
|
|
mathfontUnicode.properties \
|
|
|
|
mathfontSTIXNonUnicode.properties \
|
|
|
|
mathfontSTIXSize1.properties \
|
2010-06-10 15:15:43 -07:00
|
|
|
mathfontSTIXSizeOneSym.properties \
|
2011-06-22 08:49:26 -07:00
|
|
|
mathfontAsanaMath.properties \
|
2007-12-04 19:58:09 -08:00
|
|
|
mathfontStandardSymbolsL.properties \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2008-04-04 20:38:25 -07:00
|
|
|
ifeq ($(TARGET_MD_ARCH),win32)
|
|
|
|
font_properties += \
|
|
|
|
mathfontSymbol.properties
|
|
|
|
endif
|
|
|
|
|
|
|
|
libs:: $(font_properties)
|
2007-03-22 10:30:00 -07:00
|
|
|
$(INSTALL) $^ $(DIST)/bin/res/fonts
|
|
|
|
|
2008-04-04 20:38:25 -07:00
|
|
|
install:: $(font_properties)
|
2007-03-22 10:30:00 -07:00
|
|
|
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/res/fonts
|
|
|
|
|
2008-04-04 20:38:25 -07: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)
|