Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / layout / mathml / base / src / Makefile.in
blob0aea1e6309e1b5379067c8835ae4169b600c817c
1 #!gmake
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
14 # License.
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.
23 # Contributor(s):
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 *****
40 DEPTH=../../../..
41 topsrcdir = @top_srcdir@
42 srcdir = @srcdir@
43 VPATH = @srcdir@
45 include $(DEPTH)/config/autoconf.mk
47 MODULE = layout
48 LIBRARY_NAME = gkmathmlbase_s
49 LIBXUL_LIBRARY = 1
51 REQUIRES = xpcom \
52 string \
53 dom \
54 content \
55 gfx \
56 thebes \
57 widget \
58 view \
59 webshell \
60 locale \
61 unicharutil \
62 necko \
63 docshell \
64 webbrwsr \
65 pref \
66 js \
67 $(NULL)
69 LOCAL_INCLUDES = \
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 \
78 $(NULL)
80 CPPSRCS = nsMathMLChar.cpp \
81 nsMathMLFrame.cpp \
82 nsMathMLContainerFrame.cpp \
83 nsMathMLForeignFrameWrapper.cpp \
84 nsMathMLTokenFrame.cpp \
85 nsMathMLmoFrame.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 \
104 $(NULL)
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
110 FORCE_STATIC_LIB = 1
112 include $(topsrcdir)/config/rules.mk
114 font_properties = \
115 mathfontUnicode.properties \
116 mathfontSTIXNonUnicode.properties \
117 mathfontSTIXSize1.properties \
118 mathfontStandardSymbolsL.properties \
119 $(NULL)
121 ifeq ($(TARGET_MD_ARCH),win32)
122 font_properties += \
123 mathfontSymbol.properties
124 endif
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)
136 rm -f $@
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