Makefile.am 875 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ## Process this file with automake to produce Makefile.in
  2. AM_CPPFLAGS = \
  3. -idirafter $(top_srcdir)/lib/compat
  4. noinst_LIBRARIES = libcompat.a
  5. libcompat_a_SOURCES = \
  6. compat.h \
  7. gettext.h
  8. if !HAVE_GETOPT
  9. libcompat_a_SOURCES += getopt.c getopt.h
  10. endif
  11. if !HAVE_GETOPT_LONG
  12. libcompat_a_SOURCES += getopt1.c
  13. endif
  14. if !HAVE_OBSTACK_FREE
  15. libcompat_a_SOURCES += obstack.c obstack.h
  16. endif
  17. if !HAVE_STRNLEN
  18. libcompat_a_SOURCES += strnlen.c strnlen.h
  19. endif
  20. if !HAVE_STRERROR
  21. libcompat_a_SOURCES += strerror.c
  22. endif
  23. if !HAVE_STRSIGNAL
  24. libcompat_a_SOURCES += strsignal.c
  25. endif
  26. if !HAVE_SNPRINTF
  27. libcompat_a_SOURCES += snprintf.c
  28. endif
  29. if !HAVE_VSNPRINTF
  30. libcompat_a_SOURCES += vsnprintf.c
  31. endif
  32. if !HAVE_ALPHASORT
  33. libcompat_a_SOURCES += alphasort.c
  34. endif
  35. if !HAVE_SCANDIR
  36. libcompat_a_SOURCES += scandir.c
  37. endif
  38. if !HAVE_UNSETENV
  39. libcompat_a_SOURCES += unsetenv.c
  40. endif