Makefile.in 921 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # uClibc misc tests
  2. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  3. TESTS_DISABLED := outb tst-fnmatch bug-glob1 tst-gnuglob
  4. ifeq ($(TARGET_avr32),y)
  5. TESTS_DISABLED += tst-inotify
  6. endif
  7. ifeq ($(UCLIBC_HAS_LFS),)
  8. TESTS_DISABLED += dirent64
  9. TESTS_DISABLED += tst-statfs # assuming host has LFS on
  10. endif
  11. CFLAGS_dirent64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
  12. ifeq ($(UCLIBC_LINUX_SPECIFIC),)
  13. TESTS_DISABLED += tst-inotify
  14. endif
  15. ifeq ($(UCLIBC_HAS_GLOB),)
  16. TESTS_DISABLED += bug-glob2
  17. endif
  18. ifeq ($(UCLIBC_HAS_UTMPX),)
  19. TESTS_DISABLED += tst-utmpx
  20. endif
  21. ifeq ($(UCLIBC_HAS_UTMP),)
  22. TESTS_DISABLED += tst-utmp
  23. endif
  24. DODIFF_dirent := 1
  25. DODIFF_dirent64 := 1
  26. DODIFF_tst-statfs := 1
  27. DODIFF_tst-statvfs := 1
  28. OPTS_bug-glob1 := $(PWD)
  29. OPTS_tst-fnmatch := < tst-fnmatch.input
  30. MNTENTS = / /sys /proc /dev
  31. OPTS_tst-statfs := $(MNTENTS)
  32. OPTS_tst-statvfs := $(MNTENTS)