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/LayoutBox.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/LayoutTable.o \ Layout/LayoutTableRow.o \ Layout/LayoutTableCell.o \ Layout/BoxModelMetrics.o \ Layout/LineBox.o \ Layout/LineBoxFragment.o \ Layout/LayoutTreeBuilder.o \ FontCache.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)