From 3f36c56313e3694e079494690adf610f484d59b8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 23 Jul 2000 01:23:29 +0000 Subject: Update. 2000-07-22 Ulrich Drepper * grp/Makefile: Change Makefiles and tests to run only when necessary. * malloc/Makefile: Likewise. * malloc/tst-mtrace.sh: Likewise. * posix/Makefile: Likewise. * posix/globtest.sh: Likewise. * posix/wordexp-tst.sh: Likewise. * string/Makefile: Likewise. --- posix/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'posix/Makefile') diff --git a/posix/Makefile b/posix/Makefile index eaaa8dd6fa..46c1fed620 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -88,12 +88,11 @@ include ../Rules ifeq (no,$(cross-compiling)) # globtest and wordexp-test currently only works with shared libraries ifeq (yes,$(build-shared)) -.PHONY: do-globtest do-wordexp-test -tests: do-globtest do-wordexp-test -do-globtest: $(objpfx)globtest +tests: $(objpfx)globtest.out $(objpfx)wordexp-tst.out +$(objpfx)globtest.out: globtest.sh $(objpfx)globtest $(SHELL) -e globtest.sh $(common-objpfx) $(elf-objpfx) \ $(rtld-installed-name) -do-wordexp-test: $(objpfx)wordexp-test +$(objpfx)wordexp-tst.out: wordexp-tst.sh $(objpfx)wordexp-test $(SHELL) -e wordexp-tst.sh $(common-objpfx) $(elf-objpfx) \ $(rtld-installed-name) endif @@ -160,9 +159,10 @@ endif # Run a test on the header files we use. # XXX Please note that for now we ignore the result of this test. -tests: $(objpfx)annexc +tests: $(objpfx)annexc.out +$(objpfx)annexc.out: $(objpfx)annexc -$(dir $<)$(notdir $<) '$(CC)' \ - '-I../include -I.. $(+sysdep-includes)' > $<.out + '-I../include -I.. $(+sysdep-includes)' > $@ $(objpfx)annexc: annexc.c $(native-compile) -- cgit 1.4.1