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