Makefile.am 851 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. compat.h \
  8. gettext.h
  9. if !HAVE_GETOPT
  10. libcompat_a_SOURCES += getopt.c getopt.h
  11. endif
  12. if !HAVE_GETOPT_LONG
  13. libcompat_a_SOURCES += getopt1.c
  14. endif
  15. if !HAVE_OBSTACK_FREE
  16. libcompat_a_SOURCES += obstack.c obstack.h
  17. endif
  18. if !HAVE_STRNLEN
  19. libcompat_a_SOURCES += strnlen.c strnlen.h
  20. endif
  21. if !HAVE_STRERROR
  22. libcompat_a_SOURCES += strerror.c
  23. endif
  24. if !HAVE_STRSIGNAL
  25. libcompat_a_SOURCES += strsignal.c
  26. endif
  27. if !HAVE_C99_SNPRINTF
  28. libcompat_a_SOURCES += snprintf.c vsnprintf.c
  29. endif
  30. if !HAVE_ALPHASORT
  31. libcompat_a_SOURCES += alphasort.c
  32. endif
  33. if !HAVE_SCANDIR
  34. libcompat_a_SOURCES += scandir.c
  35. endif
  36. if !HAVE_UNSETENV
  37. libcompat_a_SOURCES += unsetenv.c
  38. endif