xref: /freebsd/contrib/expat/xmlwf/Makefile.am (revision cc68614da8232d8baaca0ae0d0dd8f890f06623e)
10a48773fSEric van Gyzen#
20a48773fSEric van Gyzen#                          __  __            _
30a48773fSEric van Gyzen#                       ___\ \/ /_ __   __ _| |_
40a48773fSEric van Gyzen#                      / _ \\  /| '_ \ / _` | __|
50a48773fSEric van Gyzen#                     |  __//  \| |_) | (_| | |_
60a48773fSEric van Gyzen#                      \___/_/\_\ .__/ \__,_|\__|
70a48773fSEric van Gyzen#                               |_| XML parser
80a48773fSEric van Gyzen#
9*cc68614dSXin LI# Copyright (c) 2017-2021 Sebastian Pipping <sebastian@pipping.org>
100a48773fSEric van Gyzen# Licensed under the MIT license:
110a48773fSEric van Gyzen#
120a48773fSEric van Gyzen# Permission is  hereby granted,  free of charge,  to any  person obtaining
130a48773fSEric van Gyzen# a  copy  of  this  software   and  associated  documentation  files  (the
140a48773fSEric van Gyzen# "Software"),  to  deal in  the  Software  without restriction,  including
150a48773fSEric van Gyzen# without  limitation the  rights  to use,  copy,  modify, merge,  publish,
160a48773fSEric van Gyzen# distribute, sublicense, and/or sell copies of the Software, and to permit
170a48773fSEric van Gyzen# persons  to whom  the Software  is  furnished to  do so,  subject to  the
180a48773fSEric van Gyzen# following conditions:
190a48773fSEric van Gyzen#
200a48773fSEric van Gyzen# The above copyright  notice and this permission notice  shall be included
210a48773fSEric van Gyzen# in all copies or substantial portions of the Software.
220a48773fSEric van Gyzen#
230a48773fSEric van Gyzen# THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
240a48773fSEric van Gyzen# EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
250a48773fSEric van Gyzen# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
260a48773fSEric van Gyzen# NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
270a48773fSEric van Gyzen# DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
280a48773fSEric van Gyzen# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
290a48773fSEric van Gyzen# USE OR OTHER DEALINGS IN THE SOFTWARE.
300a48773fSEric van Gyzen
310a48773fSEric van Gyzenbin_PROGRAMS = xmlwf
320a48773fSEric van Gyzen
330a48773fSEric van Gyzenxmlwf_LDADD = ../lib/libexpat.la
340a48773fSEric van Gyzenxmlwf_SOURCES = \
350a48773fSEric van Gyzen    xmlwf.c \
360a48773fSEric van Gyzen    xmlfile.c \
370a48773fSEric van Gyzen    codepage.c \
380a48773fSEric van Gyzen    @FILEMAP@.c
390a48773fSEric van Gyzen
40*cc68614dSXin LIxmlwf_CPPFLAGS = @AM_CPPFLAGS@ -I$(srcdir)/../lib
41*cc68614dSXin LIxmlwf_LDFLAGS = @AM_LDFLAGS@ @LIBM@
420a48773fSEric van Gyzen
430a48773fSEric van Gyzenif MINGW
440a48773fSEric van Gyzenif UNICODE
450a48773fSEric van Gyzenxmlwf_CPPFLAGS += -mwindows
46*cc68614dSXin LIxmlwf_LDFLAGS += -municode
470a48773fSEric van Gyzenendif
480a48773fSEric van Gyzenendif
490a48773fSEric van Gyzen
500a48773fSEric van GyzenEXTRA_DIST = \
510a48773fSEric van Gyzen    codepage.h \
520a48773fSEric van Gyzen    ct.c \
530a48773fSEric van Gyzen    filemap.h \
540a48773fSEric van Gyzen    readfilemap.c \
550a48773fSEric van Gyzen    unixfilemap.c \
560a48773fSEric van Gyzen    win32filemap.c \
570a48773fSEric van Gyzen    xmlfile.h \
580a48773fSEric van Gyzen    xmlmime.c \
590a48773fSEric van Gyzen    xmlmime.h \
606b2c1e49SXin LI    xmltchar.h
61