Makefile.am 862 B

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