about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-08 21:43:57 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-08 21:43:57 +0000
commit776cc5d31c5e8031315b1a0e4fb73e3755b18eba (patch)
treebcf167beed7163cf84f67df0f9a9cb5daa248502 /Makerules
parent3632a260206ba5ea8d5d6a37af54aedac774e20d (diff)
downloadglibc-776cc5d31c5e8031315b1a0e4fb73e3755b18eba.tar.gz
glibc-776cc5d31c5e8031315b1a0e4fb73e3755b18eba.tar.xz
glibc-776cc5d31c5e8031315b1a0e4fb73e3755b18eba.zip
Update.
2002-04-08  Ulrich Drepper  <drepper@redhat.com>

	* Makerules: Use cppflags-iterator.mk to add defines for all test
	source files.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 155466b889..7ef49ba83a 100644
--- a/Makerules
+++ b/Makerules
@@ -1035,6 +1035,12 @@ ALL_BUILD_CFLAGS = $(BUILD_CFLAGS) -include $(..)config.h
 # Support the GNU standard name for this target.
 .PHONY: check
 check: tests
+
+ifneq (,$(tests))
+cpp-srcs-left = $(tests)
+lib = tests
+include $(patsubst %,$(..)cppflags-iterator.mk,$(tests))
+endif
 
 .PHONY: TAGS
 TAGS: $(objpfx)distinfo $(..)MakeTAGS