summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-11 04:28:28 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-11 04:28:28 +0000
commit1482547961dfb38c0b9f5b77f402cbeb2fa71299 (patch)
tree3ae18d9df07e138a59c75a4139d9a53c1d67e086
parenta376b10928fa4c654d64309a85bb7ddb3d236831 (diff)
allow for controlling of uclibc vs glibc tests until this gets converted into new style test framework
-rw-r--r--test/pwd_grp/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/test/pwd_grp/Makefile b/test/pwd_grp/Makefile
index 4ddb60bd7..8dce73b71 100644
--- a/test/pwd_grp/Makefile
+++ b/test/pwd_grp/Makefile
@@ -18,12 +18,20 @@
include ../Rules.mak
-TARGETS=test_pwd test_pwd_glibc
-TARGETS+=test_grp test_grp_glibc
-TARGETS+=pwcat pwcat_glibc
-TARGETS+=grcat grcat_glibc
-TARGETS+=getgroups getgroups_glibc
+U_TARGETS := test_pwd test_grp pwcat grcat getgroups
+G_TARGETS := $(patsubst %,%_glibc,$(U_TARGETS))
+
+TARGETS :=
+ifeq ($(GLIBC_ONLY),)
+TARGETS += $(U_TARGETS)
+endif
+ifeq ($(UCLIBC_ONLY),)
+TARGETS += $(G_TARGETS)
+endif
+
+ifeq ($(GLIBC_ONLY),$(UCLIBC_ONLY))
TARGETS+=test_pwd_diff test_grp_diff pwcat_diff grcat_diff getgroups_diff
+endif
all: $(TARGETS)