1999-09-21 06:12:01 +04:00
|
|
|
#!gmake
|
|
|
|
#
|
2004-04-18 18:30:37 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
1999-09-21 06:12:01 +04:00
|
|
|
# The Original Code is Mozilla MathML Project.
|
2004-04-18 18:30:37 +04:00
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Heriot-Watt University, Edinburgh.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1999
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
1999-09-21 06:12:01 +04:00
|
|
|
# Contributor(s):
|
|
|
|
# David J. Fiddes <D.J.Fiddes@hw.ac.uk>
|
2004-04-18 18:30:37 +04:00
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
1999-09-21 06:12:01 +04:00
|
|
|
|
2009-03-30 04:48:52 +04:00
|
|
|
DEPTH=../..
|
1999-09-21 06:12:01 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-11-20 10:16:06 +03:00
|
|
|
MODULE = layout
|
2009-03-30 04:48:52 +04:00
|
|
|
LIBRARY_NAME = gkmathml_s
|
2004-12-15 07:07:01 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
2004-01-07 16:37:00 +03:00
|
|
|
|
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 \
|
|
|
|
-I$(srcdir)/content/src \
|
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)
|
|
|
|
|
|
|
|
CPPSRCS = nsMathMLChar.cpp \
|
2001-02-23 19:10:51 +03:00
|
|
|
nsMathMLFrame.cpp \
|
1999-09-21 06:12:01 +04:00
|
|
|
nsMathMLContainerFrame.cpp \
|
2002-02-01 17:31:21 +03:00
|
|
|
nsMathMLForeignFrameWrapper.cpp \
|
2009-03-30 04:48:52 +04:00
|
|
|
nsMathMLOperators.cpp \
|
2002-08-17 01:36:31 +04:00
|
|
|
nsMathMLTokenFrame.cpp \
|
|
|
|
nsMathMLmoFrame.cpp \
|
1999-09-21 06:12:01 +04:00
|
|
|
nsMathMLmrowFrame.cpp \
|
|
|
|
nsMathMLmphantomFrame.cpp \
|
|
|
|
nsMathMLmfencedFrame.cpp \
|
|
|
|
nsMathMLmfracFrame.cpp \
|
|
|
|
nsMathMLmsupFrame.cpp \
|
|
|
|
nsMathMLmsubFrame.cpp \
|
|
|
|
nsMathMLmsubsupFrame.cpp \
|
|
|
|
nsMathMLmmultiscriptsFrame.cpp \
|
2000-03-28 13:38:24 +04:00
|
|
|
nsMathMLmtableFrame.cpp \
|
1999-09-21 06:12:01 +04:00
|
|
|
nsMathMLmunderFrame.cpp \
|
|
|
|
nsMathMLmoverFrame.cpp \
|
|
|
|
nsMathMLmunderoverFrame.cpp \
|
|
|
|
nsMathMLmpaddedFrame.cpp \
|
2000-01-27 15:33:28 +03:00
|
|
|
nsMathMLmspaceFrame.cpp \
|
1999-09-21 06:12:01 +04:00
|
|
|
nsMathMLmstyleFrame.cpp \
|
1999-11-17 03:49:37 +03:00
|
|
|
nsMathMLmsqrtFrame.cpp \
|
1999-11-22 01:27:21 +03:00
|
|
|
nsMathMLmrootFrame.cpp \
|
2000-02-07 11:47:48 +03:00
|
|
|
nsMathMLmactionFrame.cpp \
|
2009-05-29 15:08:35 +04:00
|
|
|
nsMathMLmencloseFrame.cpp \
|
1999-09-21 06:12:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a static lib.
|
|
|
|
# do we still want this? - DJF
|
2001-06-19 02:10:38 +04:00
|
|
|
FORCE_STATIC_LIB = 1
|
1999-09-21 06:12:01 +04:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2008-04-05 07:38:25 +04:00
|
|
|
font_properties = \
|
2007-12-05 06:58:09 +03:00
|
|
|
mathfontUnicode.properties \
|
|
|
|
mathfontSTIXNonUnicode.properties \
|
|
|
|
mathfontSTIXSize1.properties \
|
|
|
|
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)
|
|
|
|
|
2003-01-09 09:49:07 +03:00
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|