OSDN Git Service

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