Makefile.am 989 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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_STRNDUP
  23. libcompat_a_SOURCES += strndup.c
  24. endif
  25. if !HAVE_STRERROR
  26. libcompat_a_SOURCES += strerror.c
  27. endif
  28. if !HAVE_STRSIGNAL
  29. libcompat_a_SOURCES += strsignal.c
  30. endif
  31. if !HAVE_C99_SNPRINTF
  32. libcompat_a_SOURCES += snprintf.c vsnprintf.c
  33. endif
  34. if !HAVE_ASPRINTF
  35. libcompat_a_SOURCES += asprintf.c vasprintf.c
  36. endif
  37. if !HAVE_ALPHASORT
  38. libcompat_a_SOURCES += alphasort.c
  39. endif
  40. if !HAVE_SCANDIR
  41. libcompat_a_SOURCES += scandir.c
  42. endif
  43. if !HAVE_UNSETENV
  44. libcompat_a_SOURCES += unsetenv.c
  45. endif