Makefile.am 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ## LIBOPTS Makefile
  2. MAINTAINERCLEANFILES = Makefile.in
  3. if INSTALL_LIBOPTS
  4. lib_LTLIBRARIES = libopts.la
  5. else
  6. noinst_LTLIBRARIES = libopts.la
  7. endif
  8. libopts_la_SOURCES = libopts.c
  9. libopts_la_CPPFLAGS = -I$(srcdir)
  10. libopts_la_LDFLAGS = -version-info 42:1:17
  11. EXTRA_DIST =
  12. BUILT_SOURCES =
  13. MOSTLYCLEANFILES =
  14. libopts.c: $(BUILT_SOURCES)
  15. @: do-nothing rule to avoid default SCCS get
  16. # Makefile fragment from gnulib-s stdnoreturn module:
  17. #
  18. _NORETURN_H=$(srcdir)/_Noreturn.h
  19. EXTRA_DIST += _Noreturn.h
  20. BUILT_SOURCES += $(STDNORETURN_H)
  21. if GL_GENERATE_STDNORETURN_H
  22. stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H)
  23. $(AM_V_GEN)rm -f $@-t $@ && \
  24. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  25. sed -e '/definition of _Noreturn/r $(_NORETURN_H)' \
  26. < $(srcdir)/stdnoreturn.in.h; \
  27. } > $@-t && \
  28. mv $@-t $@
  29. else
  30. stdnoreturn.h: $(top_builddir)/config.status
  31. rm -f $@
  32. endif
  33. MOSTLYCLEANFILES += stdnoreturn.h stdnoreturn.h-t
  34. EXTRA_DIST += stdnoreturn.in.h
  35. EXTRA_DIST += \
  36. COPYING.gplv3 COPYING.lgplv3 COPYING.mbsd \
  37. MakeDefs.inc README _Noreturn.h \
  38. ag-char-map.h alias.c ao-strs.c \
  39. ao-strs.h autoopts.c autoopts.h \
  40. autoopts/options.h autoopts/project.h autoopts/usage-txt.h \
  41. boolean.c check.c compat/compat.h \
  42. compat/pathfind.c compat/snprintf.c compat/strchr.c \
  43. compat/strdup.c compat/windows-config.h configfile.c \
  44. cook.c enum.c env.c \
  45. file.c find.c genshell.c \
  46. genshell.h gettext.h init.c \
  47. intprops.h load.c m4/libopts.m4 \
  48. m4/liboptschk.m4 m4/stdnoreturn.m4 makeshell.c \
  49. nested.c numeric.c option-value-type.c \
  50. option-value-type.h option-xat-attribute.c option-xat-attribute.h \
  51. parse-duration.c parse-duration.h pgusage.c \
  52. proto.h putshell.c reset.c \
  53. restore.c save-flags.c save-flags.h \
  54. save.c sort.c stack.c \
  55. stdnoreturn.in.h streqvcmp.c text_mmap.c \
  56. time.c tokenize.c usage.c \
  57. version.c