summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Makefile.shared
blob: a3af6d90d265af8dc7aed9062eb43e6950bc403a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
LIBHTML_OBJS = \
    DOM/Node.o \
    DOM/ParentNode.o \
    DOM/Element.o \
    DOM/HTMLElement.o \
    DOM/HTMLAnchorElement.o \
    DOM/HTMLHeadingElement.o \
    DOM/HTMLHeadElement.o \
    DOM/HTMLHRElement.o \
    DOM/HTMLHtmlElement.o \
    DOM/HTMLStyleElement.o \
    DOM/HTMLTitleElement.o \
    DOM/HTMLBodyElement.o \
    DOM/HTMLFontElement.o \
    DOM/HTMLImageElement.o \
    DOM/HTMLLinkElement.o \
    DOM/HTMLBlinkElement.o \
    DOM/HTMLBRElement.o \
    DOM/Document.o \
    DOM/CharacterData.o \
    DOM/Comment.o \
    DOM/Text.o \
    DOM/DocumentType.o \
    DOM/ElementFactory.o \
    CSS/Selector.o \
    CSS/StyleSheet.o \
    CSS/StyleRule.o \
    CSS/StyleDeclaration.o \
    CSS/StyleValue.o \
    CSS/StyleProperties.o \
    CSS/StyleResolver.o \
    CSS/DefaultStyleSheetSource.o \
    CSS/SelectorEngine.o \
    Parser/HTMLParser.o \
    Parser/CSSParser.o \
    Layout/LayoutNode.o \
    Layout/LayoutText.o \
    Layout/LayoutBlock.o \
    Layout/LayoutInline.o \
    Layout/LayoutDocument.o \
    Layout/LayoutReplaced.o \
    Layout/LayoutImage.o \
    Layout/LayoutListItem.o \
    Layout/LayoutListItemMarker.o \
    Layout/LayoutBreak.o \
    Layout/BoxModelMetrics.o \
    Layout/LineBox.o \
    Layout/LineBoxFragment.o \
    ResourceLoader.o \
    HtmlView.o \
    Frame.o \
    Dump.o

GENERATED_SOURCES = \
    CSS/DefaultStyleSheetSource.cpp

OBJS = $(EXTRA_OBJS) $(LIBHTML_OBJS)

LIBRARY = libhtml.a
DEFINES += -DUSERLAND

CSS/DefaultStyleSheetSource.cpp: CSS/Default.css Scripts/GenerateStyleSheetSource.sh
	@echo "GENERATE $@"; Scripts/GenerateStyleSheetSource.sh default_stylesheet_source $< > $@

.cpp.o:
	@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<

-include $(OBJS:%.o=%.d)

clean:
	@echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d $(GENERATED_SOURCES)