diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-25 18:55:59 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-25 18:55:59 +0000 |
commit | 0f8ba9b85c9b9d1e7878aea90add271b6b3b93bf (patch) | |
tree | 8271745d8fc31bf62c5fd9dda0030c817641c79d /makefiles/Makefile.subdir | |
parent | d8cc5b45452644f0212a2a2689f8398b266c2847 (diff) | |
download | buildsystem-0f8ba9b85c9b9d1e7878aea90add271b6b3b93bf.tar.gz buildsystem-0f8ba9b85c9b9d1e7878aea90add271b6b3b93bf.tar.bz2 |
Coverage and profile targets no longer recursively invoke make.
svn path=/trunk/tools/buildsystem/; revision=6879
Diffstat (limited to 'makefiles/Makefile.subdir')
-rw-r--r-- | makefiles/Makefile.subdir | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/makefiles/Makefile.subdir b/makefiles/Makefile.subdir index 4f0c149..e206a03 100644 --- a/makefiles/Makefile.subdir +++ b/makefiles/Makefile.subdir @@ -14,6 +14,7 @@ # COMPONENT The name of the component # CURDIR The location of the source tree root # EXPORTDIR The location of the export directory +# WANT_TEST Whether to build testcases # # do_include Canned command sequence to include a child makefile # @@ -47,7 +48,7 @@ INSTALL_ITEMS_$(d) := SOURCES := $(SOURCES) $(addprefix $(d), $(SRCS_$(d))) # Test sources -ifeq ($(MAKECMDGOALS),test) +ifeq ($(WANT_TEST),yes) ifneq ($(DIR_TEST_ITEMS),) # Extract the binary name from the ITEM binary = $(subst /,_,$(addprefix $(d),$(firstword $(subst :, ,$(ITEM))))) |