From 1482547961dfb38c0b9f5b77f402cbeb2fa71299 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 11 Feb 2006 04:28:28 +0000 Subject: allow for controlling of uclibc vs glibc tests until this gets converted into new style test framework --- test/pwd_grp/Makefile | 18 +++++++++++++----- 1 file 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) -- cgit v1.2.3