mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
09dccb3224
This patch adds parsing of <img> into HTMLImageElement objects. It also adds LayoutImage and its parent class LayoutReplaced, which is going to represent CSS "replaced elements."
61 lines
1.4 KiB
Makefile
61 lines
1.4 KiB
Makefile
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/Document.o \
|
|
DOM/Text.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 \
|
|
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/BoxModelMetrics.o \
|
|
Layout/LineBox.o \
|
|
Layout/LineBoxFragment.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)
|
|
|