• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2007 Apple Inc. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions
5# are met:
6#
7# 1.  Redistributions of source code must retain the above copyright
8#     notice, this list of conditions and the following disclaimer.
9# 2.  Redistributions in binary form must reproduce the above copyright
10#     notice, this list of conditions and the following disclaimer in the
11#     documentation and/or other materials provided with the distribution.
12# 3.  Neither the name of Apple Computer, Inc. ("Apple") nor the names of
13#     its contributors may be used to endorse or promote products derived
14#     from this software without specific prior written permission.
15#
16# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
17# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19# DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
20# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
27.PHONY : all
28all : \
29    $(WEBKIT_OUTPUT)/Node.idl \
30    $(WEBKIT_OUTPUT)/Attr.idl \
31    $(WEBKIT_OUTPUT)/Element.idl \
32    $(WEBKIT_OUTPUT)/NodeList.idl \
33    $(WEBKIT_OUTPUT)/Document.idl \
34    $(WEBKIT_OUTPUT)/CharacterData.idl \
35    $(WEBKIT_OUTPUT)/CDATASection.idl \
36    $(WEBKIT_OUTPUT)/Comment.idl \
37    $(WEBKIT_OUTPUT)/Text.idl \
38    $(WEBKIT_OUTPUT)/DocumentFragment.idl \
39    $(WEBKIT_OUTPUT)/DocumentType.idl \
40    $(WEBKIT_OUTPUT)/DOMImplementation.idl \
41    $(WEBKIT_OUTPUT)/Entity.idl \
42    $(WEBKIT_OUTPUT)/EntityReference.idl \
43    $(WEBKIT_OUTPUT)/NamedNodeMap.idl \
44    $(WEBKIT_OUTPUT)/Notation.idl \
45    $(WEBKIT_OUTPUT)/ProcessingInstruction.idl \
46    \
47    $(WEBKIT_OUTPUT)/HTMLAnchorElement.idl \
48    $(WEBKIT_OUTPUT)/HTMLAppletElement.idl \
49    $(WEBKIT_OUTPUT)/HTMLAreaElement.idl \
50    $(WEBKIT_OUTPUT)/HTMLBRElement.idl \
51    $(WEBKIT_OUTPUT)/HTMLBaseElement.idl \
52    $(WEBKIT_OUTPUT)/HTMLBaseFontElement.idl \
53    $(WEBKIT_OUTPUT)/HTMLBlockquoteElement.idl \
54    $(WEBKIT_OUTPUT)/HTMLBodyElement.idl \
55    $(WEBKIT_OUTPUT)/HTMLButtonElement.idl \
56    $(WEBKIT_OUTPUT)/HTMLCollection.idl \
57    $(WEBKIT_OUTPUT)/HTMLDListElement.idl \
58    $(WEBKIT_OUTPUT)/HTMLDirectoryElement.idl \
59    $(WEBKIT_OUTPUT)/HTMLDivElement.idl \
60    $(WEBKIT_OUTPUT)/HTMLDocument.idl \
61    $(WEBKIT_OUTPUT)/HTMLElement.idl \
62    $(WEBKIT_OUTPUT)/HTMLEmbedElement.idl \
63    $(WEBKIT_OUTPUT)/HTMLFieldSetElement.idl \
64    $(WEBKIT_OUTPUT)/HTMLFontElement.idl \
65    $(WEBKIT_OUTPUT)/HTMLFormElement.idl \
66    $(WEBKIT_OUTPUT)/HTMLFrameElement.idl \
67    $(WEBKIT_OUTPUT)/HTMLFrameSetElement.idl \
68    $(WEBKIT_OUTPUT)/HTMLHRElement.idl \
69    $(WEBKIT_OUTPUT)/HTMLHeadElement.idl \
70    $(WEBKIT_OUTPUT)/HTMLHeadingElement.idl \
71    $(WEBKIT_OUTPUT)/HTMLHtmlElement.idl \
72    $(WEBKIT_OUTPUT)/HTMLIFrameElement.idl \
73    $(WEBKIT_OUTPUT)/HTMLImageElement.idl \
74    $(WEBKIT_OUTPUT)/HTMLInputElement.idl \
75    $(WEBKIT_OUTPUT)/HTMLIsIndexElement.idl \
76    $(WEBKIT_OUTPUT)/HTMLLIElement.idl \
77    $(WEBKIT_OUTPUT)/HTMLLabelElement.idl \
78    $(WEBKIT_OUTPUT)/HTMLLegendElement.idl \
79    $(WEBKIT_OUTPUT)/HTMLLinkElement.idl \
80    $(WEBKIT_OUTPUT)/HTMLMapElement.idl \
81    $(WEBKIT_OUTPUT)/HTMLMarqueeElement.idl \
82    $(WEBKIT_OUTPUT)/HTMLMenuElement.idl \
83    $(WEBKIT_OUTPUT)/HTMLMetaElement.idl \
84    $(WEBKIT_OUTPUT)/HTMLModElement.idl \
85    $(WEBKIT_OUTPUT)/HTMLOListElement.idl \
86    $(WEBKIT_OUTPUT)/HTMLObjectElement.idl \
87    $(WEBKIT_OUTPUT)/HTMLOptGroupElement.idl \
88    $(WEBKIT_OUTPUT)/HTMLOptionElement.idl \
89    $(WEBKIT_OUTPUT)/HTMLOptionsCollection.idl \
90    $(WEBKIT_OUTPUT)/HTMLParagraphElement.idl \
91    $(WEBKIT_OUTPUT)/HTMLParamElement.idl \
92    $(WEBKIT_OUTPUT)/HTMLPreElement.idl \
93    $(WEBKIT_OUTPUT)/HTMLQuoteElement.idl \
94    $(WEBKIT_OUTPUT)/HTMLScriptElement.idl \
95    $(WEBKIT_OUTPUT)/HTMLSelectElement.idl \
96    $(WEBKIT_OUTPUT)/HTMLStyleElement.idl \
97    $(WEBKIT_OUTPUT)/HTMLTableCaptionElement.idl \
98    $(WEBKIT_OUTPUT)/HTMLTableCellElement.idl \
99    $(WEBKIT_OUTPUT)/HTMLTableColElement.idl \
100    $(WEBKIT_OUTPUT)/HTMLTableElement.idl \
101    $(WEBKIT_OUTPUT)/HTMLTableRowElement.idl \
102    $(WEBKIT_OUTPUT)/HTMLTableSectionElement.idl \
103    $(WEBKIT_OUTPUT)/HTMLTextAreaElement.idl \
104    $(WEBKIT_OUTPUT)/HTMLTitleElement.idl \
105    $(WEBKIT_OUTPUT)/HTMLUListElement.idl \
106    \
107    $(WEBKIT_OUTPUT)/CSSCharsetRule.idl \
108    $(WEBKIT_OUTPUT)/CSSFontFaceRule.idl \
109    $(WEBKIT_OUTPUT)/CSSImportRule.idl \
110    $(WEBKIT_OUTPUT)/CSSMediaRule.idl \
111    $(WEBKIT_OUTPUT)/CSSPageRule.idl \
112    $(WEBKIT_OUTPUT)/CSSPrimitiveValue.idl \
113    $(WEBKIT_OUTPUT)/CSSRule.idl \
114    $(WEBKIT_OUTPUT)/CSSRuleList.idl \
115    $(WEBKIT_OUTPUT)/CSSStyleDeclaration.idl \
116    $(WEBKIT_OUTPUT)/CSSStyleRule.idl \
117    $(WEBKIT_OUTPUT)/CSSStyleSheet.idl \
118    $(WEBKIT_OUTPUT)/CSSUnknownRule.idl \
119    $(WEBKIT_OUTPUT)/CSSValue.idl \
120    $(WEBKIT_OUTPUT)/CSSValueList.idl \
121    $(WEBKIT_OUTPUT)/Counter.idl \
122    $(WEBKIT_OUTPUT)/MediaList.idl \
123    $(WEBKIT_OUTPUT)/Rect.idl \
124    $(WEBKIT_OUTPUT)/StyleSheet.idl \
125    $(WEBKIT_OUTPUT)/StyleSheetList.idl \
126    \
127    $(WEBKIT_OUTPUT)/Event.idl \
128    $(WEBKIT_OUTPUT)/EventTarget.idl \
129    $(WEBKIT_OUTPUT)/EventListener.idl \
130    \
131    $(WEBKIT_OUTPUT)/CodeGenerator.pm \
132    $(WEBKIT_OUTPUT)/CodeGeneratorCOM.pm \
133    $(WEBKIT_OUTPUT)/IDLParser.pm \
134    $(WEBKIT_OUTPUT)/IDLStructure.pm \
135    $(WEBKIT_OUTPUT)/generate-bindings.pl \
136#
137
138# $(WEBKIT_OUTPUT)/CanvasGradient.idl \
139# $(WEBKIT_OUTPUT)/CanvasPattern.idl \
140# $(WEBKIT_OUTPUT)/CanvasRenderingContext2D.idl \
141# $(WEBKIT_OUTPUT)/HTMLCanvasElement.idl \
142# $(WEBKIT_OUTPUT)/RGBColor.idl \
143
144MIGRATE_CMD = cp $< $@
145
146# Migrate core/event IDLs
147$(WEBKIT_OUTPUT)/% : $(WEBCORE)/dom/%
148	$(MIGRATE_CMD)
149
150# Migrate html IDLs
151$(WEBKIT_OUTPUT)/% : $(WEBCORE)/html/%
152	$(MIGRATE_CMD)
153
154# Migrate css IDLs
155$(WEBKIT_OUTPUT)/% : $(WEBCORE)/css/%
156	$(MIGRATE_CMD)
157
158# Migrate workers IDLs
159$(WEBKIT_OUTPUT)/% : $(WEBCORE)/workers/%
160	$(MIGRATE_CMD)
161
162
163# Migrate generation scripts
164$(WEBKIT_OUTPUT)/% : $(WEBCORE)/bindings/scripts/%
165	$(MIGRATE_CMD)
166