svn commit: trunk/uClibc/test

vapier at uclibc.org vapier at uclibc.org
Tue Feb 14 02:52:39 UTC 2006


Author: vapier
Date: 2006-02-13 18:52:28 -0800 (Mon, 13 Feb 2006)
New Revision: 13974

Log:
add more test dirs, touchup output, and some other misc touchups

Modified:
   trunk/uClibc/test/Makefile


Changeset:
Modified: trunk/uClibc/test/Makefile
===================================================================
--- trunk/uClibc/test/Makefile	2006-02-14 02:51:33 UTC (rev 13973)
+++ trunk/uClibc/test/Makefile	2006-02-14 02:52:28 UTC (rev 13974)
@@ -7,25 +7,30 @@
 
 top_builddir=../
 -include $(top_builddir).config
+include Rules.mak
 
-.EXPORT_ALL_VARIABLES:
-
-
-ALL_SUBDIRS = \
-	args assert crypt ctype pwd_grp signal silly stdlib string unistd \
-	mmap #misc
+ALL_SUBDIRS := \
+	args assert crypt ctype pwd_grp signal silly stat stdlib string unistd \
+	mmap misc
 DIRS := $(ALL_SUBDIRS)
 
 ifeq ($(HAVE_SHARED)$(UCLIBC_HAS_THREADS),yy)
+ifeq ($(findstring -static,$(LDFLAGS)),)
 	DIRS += dlopen
 endif
+endif
 ifeq ($(UCLIBC_HAS_THREADS),y)
 	DIRS += pthread
 endif
-ALL_SUBDIRS += pthread dlopen
+ifeq ($(UCLIBC_HAS_FULL_RPC),y)
+	DIRS += rpc
+endif
+ALL_SUBDIRS += dlopen pthread rpc
+ALL_SUBDIRS := $(sort $(ALL_SUBDIRS))
+DIRS := $(sort $(DIRS))
 
 
-all: subdirs
+test check all: subdirs
 
 tags:
 	ctags -R
@@ -36,10 +41,9 @@
 subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
 
 $(patsubst %, _dir_%, $(DIRS)) : dummy
-	@echo "Making test in $(patsubst _dir_%,%,$@)"
-	$(MAKE) -C $(patsubst _dir_%, %, $@)
+	$(Q)$(MAKE) -C $(patsubst _dir_%, %, $@)
 
 $(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy
-	$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
+	$(Q)$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
 
-.PHONY: dummy
+.PHONY: all check clean dummy subdirs subdirs_clean test




More information about the uClibc-cvs mailing list