LibHTML: Fix code generator dependencies for initial build

Fixes #796.
This commit is contained in:
Andreas Kling 2019-11-18 13:09:33 +01:00
parent c23addd1fb
commit 1309c45cc6
Notes: sideshowbarker 2024-07-19 11:09:42 +09:00
2 changed files with 2 additions and 5 deletions

View file

@ -6,5 +6,5 @@ all: $(LIBRARY)
include Makefile.shared
$(LIBRARY): $(LIBHTML_OBJS)
$(LIBRARY): $(GENERATED_SOURCES) $(LIBHTML_OBJS)
@echo "LIB $@"; $(AR) rcs $@ $(LIBHTML_OBJS)

View file

@ -69,9 +69,6 @@ OBJS = $(EXTRA_OBJS) $(LIBHTML_OBJS)
LIBRARY = libhtml.a
DEFINES += -DUSERLAND
Dump.cpp: CSS/PropertyID.h
Parser/CSSParser.cpp: CSS/PropertyID.h
CSS/DefaultStyleSheetSource.cpp: CSS/Default.css Scripts/GenerateStyleSheetSource.sh
@echo "GENERATE $@"; Scripts/GenerateStyleSheetSource.sh default_stylesheet_source $< > $@
@ -79,7 +76,7 @@ CSS/PropertyID.h: CSS/Properties.json CodeGenerators/Generate_CSS_PropertyID_h/G
make -C CodeGenerators/Generate_CSS_PropertyID_h
@echo "GENERATE $@"; CodeGenerators/Generate_CSS_PropertyID_h/Generate_CSS_PropertyID_h $< > $@
CSS/PropertyID.cpp: CSS/Properties.json CodeGenerators/Generate_CSS_PropertyID_cpp/Generate_CSS_PropertyID_cpp.cpp CSS/PropertyID.h
CSS/PropertyID.cpp: CSS/Properties.json CodeGenerators/Generate_CSS_PropertyID_cpp/Generate_CSS_PropertyID_cpp.cpp
make -C CodeGenerators/Generate_CSS_PropertyID_cpp
@echo "GENERATE $@"; CodeGenerators/Generate_CSS_PropertyID_cpp/Generate_CSS_PropertyID_cpp $< > $@