Makefile.am 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ## Process this file with automake to produce Makefile.in
  2. noinst_LIBRARIES = libcoreutils.a libnagiosplug.a
  3. # Will auto pick up fsusage.c mountlist.c
  4. libcoreutils_a_SOURCES = \
  5. cloexec.c cloexec.h \
  6. exit.h \
  7. exitfail.c exitfail.h \
  8. fsusage.h \
  9. full-read.c full-read.h \
  10. full-write.c full-write.h \
  11. getopt.c getopt.h getopt1.c \
  12. gettext.h \
  13. mountlist.h \
  14. safe-read.c safe-read.h \
  15. safe-write.c safe-write.h \
  16. unlocked-io.h \
  17. xalloc.h \
  18. xmalloc.c \
  19. xstrdup.c
  20. other_coreutils_files = \
  21. error.c error.h \
  22. fsusage.c \
  23. getloadaavg.c \
  24. malloc.c \
  25. mountlist.c \
  26. realloc.c \
  27. strtod.c
  28. libcoreutils_a_LIBADD = $(LIBOBJS)
  29. libcoreutils_a_DEPENDENCIES = $(libcoreutils_a_LIBADD)
  30. libnagiosplug_a_SOURCES = snprintf.c
  31. INCLUDES = -I$(srcdir) -I$(top_srcdir)/intl
  32. BUILT_SOURCES = $(STDBOOL_H)
  33. EXTRA_DIST = stdbool_.h
  34. MOSTLYCLEANFILES = stdbool.h stdbool.ht
  35. # Create stdbool.h on systems that lack a working one.
  36. stdbool.h: stdbool_.h
  37. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool_.h > $@t
  38. mv $@t $@