Makefile.in 976 B

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