Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron...
[wine-gecko.git] / layout / style / Makefile.in
blob30b480b0d35f52cc2758314f4ad6e228f409ccbb
1 # ***** BEGIN LICENSE BLOCK *****
2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 # http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Original Code is mozilla.org code.
16 # The Initial Developer of the Original Code is
17 # Netscape Communications Corporation.
18 # Portions created by the Initial Developer are Copyright (C) 1998
19 # the Initial Developer. All Rights Reserved.
21 # Contributor(s):
23 # Alternatively, the contents of this file may be used under the terms of
24 # either of the GNU General Public License Version 2 or later (the "GPL"),
25 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26 # in which case the provisions of the GPL or the LGPL are applicable instead
27 # of those above. If you wish to allow use of your version of this file only
28 # under the terms of either the GPL or the LGPL, and not to allow others to
29 # use your version of this file under the terms of the MPL, indicate your
30 # decision by deleting the provisions above and replace them with the notice
31 # and other provisions required by the GPL or the LGPL. If you do not delete
32 # the provisions above, a recipient may use your version of this file under
33 # the terms of any one of the MPL, the GPL or the LGPL.
35 # ***** END LICENSE BLOCK *****
37 DEPTH = ../..
38 topsrcdir = @top_srcdir@
39 srcdir = @srcdir@
40 VPATH = @srcdir@
42 include $(DEPTH)/config/autoconf.mk
44 DIRS = xbl-marquee
46 ifdef ENABLE_TESTS
47 DIRS += test
48 endif
50 MODULE = layout
51 LIBRARY_NAME = gkstyle_s
52 LIBXUL_LIBRARY = 1
54 REQUIRES = xpcom \
55 string \
56 dom \
57 content \
58 gfx \
59 thebes \
60 widget \
61 caps \
62 locale \
63 unicharutil \
64 js \
65 necko \
66 mimetype \
67 webshell \
68 uconv \
69 xuldoc \
70 xpconnect \
71 view \
72 intl \
73 pref \
74 imglib2 \
75 docshell \
76 $(NULL)
78 EXPORTS = \
79 nsCSSAnonBoxList.h \
80 nsCSSAnonBoxes.h \
81 nsCSSKeywordList.h \
82 nsCSSKeywords.h \
83 nsCSSPropList.h \
84 nsCSSProperty.h \
85 nsCSSProps.h \
86 nsCSSPseudoClassList.h \
87 nsCSSPseudoClasses.h \
88 nsCSSPseudoElementList.h \
89 nsCSSPseudoElements.h \
90 nsCSSRuleProcessor.h \
91 nsCSSStyleSheet.h \
92 nsCSSStruct.h \
93 nsCSSValue.h \
94 nsDOMCSSDeclaration.h \
95 nsICSSDeclaration.h \
96 nsICSSGroupRule.h \
97 nsICSSImportRule.h \
98 nsICSSLoader.h \
99 nsICSSLoaderObserver.h \
100 nsICSSNameSpaceRule.h \
101 nsICSSOMFactory.h \
102 nsICSSParser.h \
103 nsICSSPseudoComparator.h \
104 nsICSSRule.h \
105 nsICSSRuleList.h \
106 nsICSSStyleRule.h \
107 nsICSSStyleRuleDOMWrapper.h \
108 nsICSSStyleSheet.h \
109 nsIComputedDOMStyle.h \
110 nsIHTMLCSSStyleSheet.h \
111 nsIInspectorCSSUtils.h \
112 nsIStyleRule.h \
113 nsIStyleRuleProcessor.h \
114 nsIStyleSheet.h \
115 nsLayoutStylesheetCache.h \
116 nsRuleData.h \
117 nsRuleNode.h \
118 nsRuleWalker.h \
119 nsStyleContext.h \
120 nsStyleCoord.h \
121 nsStyleSet.h \
122 nsStyleStruct.h \
123 nsStyleStructFwd.h \
124 nsStyleStructInlines.h \
125 nsStyleStructList.h \
126 nsStyleTransformMatrix.h \
127 nsStyleUtil.h \
128 $(NULL)
130 CPPSRCS = \
131 nsCSSAnonBoxes.cpp \
132 nsCSSDataBlock.cpp \
133 nsCSSDeclaration.cpp \
134 nsCSSKeywords.cpp \
135 nsCSSLoader.cpp \
136 nsCSSOMFactory.cpp \
137 nsCSSParser.cpp \
138 nsCSSProps.cpp \
139 nsCSSPseudoClasses.cpp \
140 nsCSSPseudoElements.cpp \
141 nsCSSRule.cpp \
142 nsCSSRuleProcessor.cpp \
143 nsCSSRules.cpp \
144 nsCSSScanner.cpp \
145 nsCSSStruct.cpp \
146 nsCSSStyleRule.cpp \
147 nsCSSStyleSheet.cpp \
148 nsCSSValue.cpp \
149 nsComputedDOMStyle.cpp \
150 nsDOMCSSAttrDeclaration.cpp \
151 nsDOMCSSDeclaration.cpp \
152 nsDOMCSSRGBColor.cpp \
153 nsDOMCSSRect.cpp \
154 nsDOMCSSValueList.cpp \
155 nsFontFaceLoader.cpp \
156 nsHTMLCSSStyleSheet.cpp \
157 nsHTMLStyleSheet.cpp \
158 nsInspectorCSSUtils.cpp \
159 nsLayoutStylesheetCache.cpp \
160 nsMediaFeatures.cpp \
161 nsROCSSPrimitiveValue.cpp \
162 nsRuleNode.cpp \
163 nsStyleContext.cpp \
164 nsStyleCoord.cpp \
165 nsStyleSet.cpp \
166 nsStyleStruct.cpp \
167 nsStyleTransformMatrix.cpp \
168 nsStyleUtil.cpp \
169 $(NULL)
171 FORCE_STATIC_LIB = 1
173 include $(topsrcdir)/config/rules.mk
175 LOCAL_INCLUDES = \
176 -I$(srcdir)/../../content/base/src \
177 -I$(srcdir)/../../content/html/content/src \
178 -I$(srcdir)/../../content/xbl/src \
179 -I$(srcdir)/../../content/xul/document/src \
180 $(NULL)
182 _FILES = \
183 ua.css \
184 html.css \
185 quirk.css \
186 viewsource.css \
187 arrow.gif \
188 arrowd.gif \
189 contenteditable.css \
190 designmode.css \
191 $(NULL)
193 GARBAGE += $(addprefix $(DIST)/bin/res/,$(_FILES))
195 FORMS_CSS_SRC = $(srcdir)/forms.css
196 PREPROCESS_FORMS_CSS = $(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py --marker=% $(DEFINES) $(ACDEFINES) $(FORMS_CSS_SRC)
198 $(DIST)/bin/res/forms.css $(DESTDIR)$(mozappdir)/res/forms.css: $(FORMS_CSS_SRC) Makefile
199 if test ! -d $(@D); then rm -rf $(@D); $(NSINSTALL) -D $(@D); else true; fi
200 rm -f $@
201 $(PREPROCESS_FORMS_CSS) > $@
203 libs:: $(DIST)/bin/res/forms.css
205 install:: $(DESTDIR)$(mozappdir)/res/forms.css
207 libs:: $(_FILES)
208 $(INSTALL) $^ $(DIST)/bin/res
210 install:: $(_FILES)
211 $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/res
213 DEFINES += -D_IMPL_NS_LAYOUT