summaryrefslogtreecommitdiff
path: root/src/input/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-24 17:48:46 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-24 17:48:46 +0000
commit2c56a79c6b9a65bf3a624b35604fb8a11de5a7ef (patch)
tree945ec246f870f2eb27aa73b87fae62c50a0433b1 /src/input/Makefile
parentac294568caf6b7c4572a62809be531a117108e8b (diff)
downloadlibparserutils-2c56a79c6b9a65bf3a624b35604fb8a11de5a7ef.tar.gz
libparserutils-2c56a79c6b9a65bf3a624b35604fb8a11de5a7ef.tar.bz2
Port to new buildsystem
svn path=/trunk/libparserutils/; revision=6854
Diffstat (limited to 'src/input/Makefile')
-rw-r--r--src/input/Makefile46
1 files changed, 2 insertions, 44 deletions
diff --git a/src/input/Makefile b/src/input/Makefile
index d62740e..fc7a7ff 100644
--- a/src/input/Makefile
+++ b/src/input/Makefile
@@ -1,46 +1,4 @@
-# Child makefile fragment
-#
-# 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) := filter.c inputstream.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))))
+DIR_SOURCES := filter.c inputstream.c
-# Finally, pop off the directory stack
-d := $(dirstack_$(sp))
-sp := $(basename $(sp))
+include build/makefiles/Makefile.subdir