Makefile.in 870 B

1234567891011121314151617181920212223
  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
  5. endif
  6. OPTS_getopt := -abcXXX -9
  7. OPTS_getopt_long := --add XXX --delete YYY --verbose
  8. ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)
  9. OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
  10. else
  11. # reordering is not supported, behaves as if POSIXLY_CORRECT would be set
  12. OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random
  13. endif
  14. # getconf.c lives in utils/
  15. # Testsuite cannot currently be built with O= anyway, so hardcode path here
  16. getconf.c:
  17. $(LN_S) ../../utils/$(@F) .
  18. EXTRA_CLEAN += getconf.c
  19. TESTS_DISABLED += getconf
  20. CFLAGS_getconf = -DGETCONF_DIR='"$(CURDIR)"'
  21. shell_tst-getconf: getconf getconf_glibc