Makefile.am 830 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_C99_SNPRINTF
  27. libcompat_a_SOURCES += snprintf.c vsnprintf.c
  28. endif
  29. if !HAVE_ALPHASORT
  30. libcompat_a_SOURCES += alphasort.c
  31. endif
  32. if !HAVE_SCANDIR
  33. libcompat_a_SOURCES += scandir.c
  34. endif
  35. if !HAVE_UNSETENV
  36. libcompat_a_SOURCES += unsetenv.c
  37. endif