Author: sebor
Date: Sat Nov 19 16:56:46 2005
New Revision: 345699
URL: http://svn.apache.org/viewcvs?rev=345699&view=rev
Log:
2005-11-19 Martin Sebor <[EMAIL PROTECTED]>
* GNUmakefile.tst: Removed the path component from the names of sections
of the C++ standard (e.g., algorithms) to allow them to be used as the
names of targets representing the tests residing in such directories.
Modified:
incubator/stdcxx/trunk/etc/config/GNUmakefile.tst
Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.tst
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/GNUmakefile.tst?rev=345699&r1=345698&r2=345699&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/GNUmakefile.tst (original)
+++ incubator/stdcxx/trunk/etc/config/GNUmakefile.tst Sat Nov 19 16:56:46 2005
@@ -44,8 +44,9 @@
%.h %.hpp, \
$(wildcard $(TESTDIR)/*))
+SRCDIRNAMES := $(notdir $(SRCDIRS))
+
# do not compile these sources
-# OMIT_SRCS += $(shell cd $(TESTDIR)/src && echo *.cpp) 22_locale.cpp
OMIT_SRCS += $(notdir $(wildcard $(TESTDIR)/src/*.cpp)) 22_locale.cpp
# override setting from makefile.in (tests only)
@@ -87,7 +88,7 @@
rm -f _*.cpp
# build all tests in the given subdirectory (subsection of the standard)
-$(SRCDIRS):
+$(notdir $(SRCDIRNAMES)):
$(MAKE) SRCS="`cd $(TESTDIR)/$@/ && echo *.cpp`"
@@ -106,7 +107,7 @@
done ; \
echo ; )
-.PHONY: $(SRCDIRS) rwtest
+.PHONY: $(SRCDIRNAMES) rwtest
# Common rules for all Makefile_s
include ../makefile.rules