Makefile.am 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. stdbool_.h \
  28. strtod.c
  29. libcoreutils_a_LIBADD = $(LIBOBJS)
  30. libcoreutils_a_DEPENDENCIES = $(libcoreutils_a_LIBADD)
  31. libnagiosplug_a_SOURCES = snprintf.c
  32. INCLUDES = -I$(srcdir) -I$(top_srcdir)/intl
  33. BUILT_SOURCES = $(STDBOOL_H)
  34. EXTRA_DIST = stdbool_.h
  35. MOSTLYCLEANFILES = stdbool.h stdbool.ht
  36. # Create stdbool.h on systems that lack a working one.
  37. stdbool.h: stdbool_.h
  38. sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' $(srcdir)/stdbool_.h > $@t
  39. mv $@t $@