3 # ***** BEGIN LICENSE BLOCK *****
4 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 # The contents of this file are subject to the Mozilla Public License Version
7 # 1.1 (the "License"); you may not use this file except in compliance with
8 # the License. You may obtain a copy of the License at
9 # http://www.mozilla.org/MPL/
11 # Software distributed under the License is distributed on an "AS IS" basis,
12 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 # for the specific language governing rights and limitations under the
16 # The Original Code is Mozilla MathML Project.
18 # The Initial Developer of the Original Code is
19 # Heriot-Watt University, Edinburgh.
20 # Portions created by the Initial Developer are Copyright (C) 1999
21 # the Initial Developer. All Rights Reserved.
24 # David J. Fiddes <D.J.Fiddes@hw.ac.uk>
26 # Alternatively, the contents of this file may be used under the terms of
27 # either of the GNU General Public License Version 2 or later (the "GPL"),
28 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 # in which case the provisions of the GPL or the LGPL are applicable instead
30 # of those above. If you wish to allow use of your version of this file only
31 # under the terms of either the GPL or the LGPL, and not to allow others to
32 # use your version of this file under the terms of the MPL, indicate your
33 # decision by deleting the provisions above and replace them with the notice
34 # and other provisions required by the GPL or the LGPL. If you do not delete
35 # the provisions above, a recipient may use your version of this file under
36 # the terms of any one of the MPL, the GPL or the LGPL.
38 # ***** END LICENSE BLOCK *****
41 topsrcdir
= @top_srcdir@
45 include $(DEPTH
)/config
/autoconf.mk
48 LIBRARY_NAME
= gkmathmlbase_s
70 -I
$(srcdir)/..
/..
/..
/style \
71 -I
$(srcdir)/..
/..
/..
/base \
72 -I
$(srcdir)/..
/..
/..
/generic \
73 -I
$(srcdir)/..
/..
/..
/tables \
74 -I
$(srcdir)/..
/..
/content
/src \
75 -I
$(topsrcdir
)/content
/base
/src \
76 -I
$(topsrcdir
)/content
/mathml
/content
/src \
77 -I
$(srcdir)/..
/..
/..
/xul
/base
/src \
80 CPPSRCS
= nsMathMLChar.
cpp \
82 nsMathMLContainerFrame.
cpp \
83 nsMathMLForeignFrameWrapper.
cpp \
84 nsMathMLTokenFrame.
cpp \
86 nsMathMLmrowFrame.
cpp \
87 nsMathMLmphantomFrame.
cpp \
88 nsMathMLmfencedFrame.
cpp \
89 nsMathMLmfracFrame.
cpp \
90 nsMathMLmsupFrame.
cpp \
91 nsMathMLmsubFrame.
cpp \
92 nsMathMLmsubsupFrame.
cpp \
93 nsMathMLmmultiscriptsFrame.
cpp \
94 nsMathMLmtableFrame.
cpp \
95 nsMathMLmunderFrame.
cpp \
96 nsMathMLmoverFrame.
cpp \
97 nsMathMLmunderoverFrame.
cpp \
98 nsMathMLmpaddedFrame.
cpp \
99 nsMathMLmspaceFrame.
cpp \
100 nsMathMLmstyleFrame.
cpp \
101 nsMathMLmsqrtFrame.
cpp \
102 nsMathMLmrootFrame.
cpp \
103 nsMathMLmactionFrame.
cpp \
106 include $(topsrcdir
)/config
/config.mk
108 # we don't want the shared lib, but we want to force the creation of a static lib.
109 # do we still want this? - DJF
112 include $(topsrcdir
)/config
/rules.mk
115 mathfontUnicode.properties \
116 mathfontSTIXNonUnicode.properties \
117 mathfontSTIXSize1.properties \
118 mathfontStandardSymbolsL.properties \
121 ifeq ($(TARGET_MD_ARCH
),win32
)
123 mathfontSymbol.properties
126 libs
:: $(font_properties
)
127 $(INSTALL
) $^
$(DIST
)/bin
/res
/fonts
129 install:: $(font_properties
)
130 $(SYSINSTALL
) $(IFLAGS1
) $^
$(DESTDIR
)$(mozappdir
)/res
/fonts
132 math_properties
= mathfont.properties
134 $(DIST
)/bin
/res
/fonts
/$(math_properties
) $(DESTDIR
)$(mozappdir
)/res
/fonts
/$(math_properties
): $(math_properties
) Makefile
135 test -d
$(@D
) ||
$(NSINSTALL
) -D
$(@D
)
137 $(PYTHON
) $(MOZILLA_DIR
)/config
/Preprocessor.py
--marker
=% $(DEFINES
) $(ACDEFINES
) $< > $@
139 libs
:: $(DIST
)/bin
/res
/fonts
/$(math_properties
)
140 install:: $(DESTDIR
)$(mozappdir
)/res
/fonts
/$(math_properties
)
142 DEFINES
+= -D_IMPL_NS_LAYOUT