summaryrefslogtreecommitdiff
path: root/src/lex
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-24 18:11:31 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-24 18:11:31 +0000
commite3d8b0db2cae189f290cb82c30b6ce22667668c0 (patch)
treee567c2bb0150dade3d6ef6eb3d2a03fae8a5fa22 /src/lex
parentc7e62664467b2834b2a980b02effb7a9fc82fbeb (diff)
downloadlibcss-e3d8b0db2cae189f290cb82c30b6ce22667668c0.tar.gz
libcss-e3d8b0db2cae189f290cb82c30b6ce22667668c0.tar.bz2
Port to new buildsystem
svn path=/trunk/libcss/; revision=6856
Diffstat (limited to 'src/lex')
-rw-r--r--src/lex/Makefile49
1 files changed, 2 insertions, 47 deletions
diff --git a/src/lex/Makefile b/src/lex/Makefile
index 73f8ecf..a14073a 100644
--- a/src/lex/Makefile
+++ b/src/lex/Makefile
@@ -1,49 +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)
-
-# Manipulate include paths
-CFLAGS := $(CFLAGS) -I$(d)
-
# Sources
-SRCS_$(d) := lex.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 := lex.c
-# Finally, pop off the directory stack
-d := $(dirstack_$(sp))
-sp := $(basename $(sp))
+include build/makefiles/Makefile.subdir