Makefile.am 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #
  2. # __ __ _
  3. # ___\ \/ /_ __ __ _| |_
  4. # / _ \\ /| '_ \ / _` | __|
  5. # | __// \| |_) | (_| | |_
  6. # \___/_/\_\ .__/ \__,_|\__|
  7. # |_| XML parser
  8. #
  9. # Copyright (c) 2017-2026 Sebastian Pipping <[email protected]>
  10. # Copyright (c) 2017 Tomasz Kłoczko <[email protected]>
  11. # Copyright (c) 2019 David Loffredo <[email protected]>
  12. # Copyright (c) 2026 Gordon Messmer <[email protected]>
  13. # Licensed under the MIT license:
  14. #
  15. # Permission is hereby granted, free of charge, to any person obtaining
  16. # a copy of this software and associated documentation files (the
  17. # "Software"), to deal in the Software without restriction, including
  18. # without limitation the rights to use, copy, modify, merge, publish,
  19. # distribute, sublicense, and/or sell copies of the Software, and to permit
  20. # persons to whom the Software is furnished to do so, subject to the
  21. # following conditions:
  22. #
  23. # The above copyright notice and this permission notice shall be included
  24. # in all copies or substantial portions of the Software.
  25. #
  26. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  27. # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  28. # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  29. # NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  30. # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  31. # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  32. # USE OR OTHER DEALINGS IN THE SOFTWARE.
  33. include_HEADERS = \
  34. ../expat_config.h \
  35. expat.h \
  36. expat_external.h
  37. lib_LTLIBRARIES = libexpat.la
  38. if WITH_TESTS
  39. noinst_LTLIBRARIES = libtestpat.la
  40. endif
  41. libexpat_la_LDFLAGS = \
  42. @AM_LDFLAGS@ \
  43. @LIBM@ \
  44. -no-undefined \
  45. -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
  46. if HAVE_VSCRIPT
  47. libexpat_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@builddir@/libexpat.map
  48. endif
  49. libexpat_la_SOURCES = \
  50. xmlparse.c \
  51. xmltok.c \
  52. xmlrole.c
  53. if WITH_TESTS
  54. libtestpat_la_CPPFLAGS = -DXML_TESTING
  55. libtestpat_la_SOURCES = $(libexpat_la_SOURCES)
  56. endif
  57. doc_DATA = \
  58. ../AUTHORS \
  59. ../Changes
  60. install-data-hook:
  61. cd "$(DESTDIR)$(docdir)" && $(am__mv) Changes changelog
  62. uninstall-local:
  63. $(RM) "$(DESTDIR)$(docdir)/changelog"
  64. EXTRA_DIST = \
  65. ascii.h \
  66. asciitab.h \
  67. expat_external.h \
  68. expat.h \
  69. iasciitab.h \
  70. internal.h \
  71. latin1tab.h \
  72. libexpat.def.cmake \
  73. nametab.h \
  74. siphash.h \
  75. utf8tab.h \
  76. winconfig.h \
  77. xmlrole.h \
  78. xmltok.h \
  79. xmltok_impl.c \
  80. xmltok_impl.h \
  81. xmltok_ns.c