diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-24 14:05:12 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-24 14:05:12 +0000 |
commit | 59e5b86699b30dddbe173dac2e896764b2a88e46 (patch) | |
tree | 6c3cbb7f980b7243d4bc40224d83ba016db58889 /src/treebuilder/Makefile | |
parent | 0e4adae9299ee174fc7f364210d58da4e15c24e7 (diff) | |
download | libhubbub-59e5b86699b30dddbe173dac2e896764b2a88e46.tar.gz libhubbub-59e5b86699b30dddbe173dac2e896764b2a88e46.tar.bz2 |
First cut at porting hubbub's buildsystem to the core tools
svn path=/trunk/hubbub/; revision=6837
Diffstat (limited to 'src/treebuilder/Makefile')
-rw-r--r-- | src/treebuilder/Makefile | 46 |
1 files changed, 2 insertions, 44 deletions
diff --git a/src/treebuilder/Makefile b/src/treebuilder/Makefile index 28be92a..0bc8c25 100644 --- a/src/treebuilder/Makefile +++ b/src/treebuilder/Makefile @@ -1,38 +1,5 @@ -# Child makefile fragment for libhubbub -# -# Toolchain is provided by top-level makefile -# -# Variables provided by top-level makefile -# -# COMPONENT The name of the component -# EXPORT The location of the export directory -# TOP The location of the source tree root -# RELEASEDIR The place to put release objects -# DEBUGDIR The place to put debug objects -# -# do_include Canned command sequence to include a child makefile -# -# Variables provided by parent makefile: -# -# DIR The name of the directory we're in, relative to $(TOP) -# -# Variables we can manipulate: -# -# ITEMS_CLEAN The list of items to remove for "make clean" -# ITEMS_DISTCLEAN The list of items to remove for "make distclean" -# TARGET_TESTS The list of target names to run for "make test" -# -# SOURCES The list of sources to build for $(COMPONENT) -# -# Plus anything from the toolchain - -# Push parent directory onto the directory stack -sp := $(sp).x -dirstack_$(sp) := $(d) -d := $(DIR) - # Sources -SRCS_$(d) := treebuilder.c \ +DIR_SOURCES := treebuilder.c \ initial.c before_html.c before_head.c in_head.c \ in_head_noscript.c after_head.c in_body.c in_table.c \ in_caption.c in_column_group.c in_table_body.c in_row.c \ @@ -41,13 +8,4 @@ SRCS_$(d) := treebuilder.c \ after_frameset.c after_after_body.c after_after_frameset.c \ generic_rcdata.c -# Append to sources for component -SOURCES += $(addprefix $(d), $(SRCS_$(d))) - -# Now include any children we may have -MAKE_INCLUDES := $(wildcard $(d)*/Makefile) -$(eval $(foreach INC, $(MAKE_INCLUDES), $(call do_include,$(INC)))) - -# Finally, pop off the directory stack -d := $(dirstack_$(sp)) -sp := $(basename $(sp)) +include build/makefiles/Makefile.subdir |