2 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
4 ifeq ($(UCLIBC_HAS_LFS),)
5 TESTS_DISABLED := tst-preadwrite64
7 OPTS_getopt := -abcXXX -9
8 OPTS_getopt_long := --add XXX --delete YYY --verbose
9 ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)
10 OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
12 # reordering is not supported, behaves as if POSIXLY_CORRECT would be set
13 OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random
16 # getconf.c lives in utils/
17 # Testsuite cannot currently be built with O= anyway, so hardcode path here
19 $(LN_S) ../../utils/$(@F) .
20 EXTRA_CLEAN += getconf.c
21 TESTS_DISABLED += getconf
22 CFLAGS_getconf = -DGETCONF_DIR='"$(CURDIR)"'
23 shell_tst-getconf: getconf getconf_glibc