-stop{hbdyn}

-hblib
-inc

-o${hb_targetname}

-hbx=

-warn=low
-cpp=no
-pic

loadlibr.c
xmlparse.c
xmlrole.c
xmltok.c

-cflag=-DNDEBUG{!debug}
-cflag=-DHAVE_EXPAT_CONFIG_H
# needed to have <expat_config.h> found:
-I.

# Use Harbour core arc4random implementation only when building static lib.
# This way the dynamic lib won't depend on Harbour dynlib.
-cflag=-DHB_FORCE_ARC4RANDOM{!hbdyn}

{hblib}-cflag=-DXML_STATIC
{bcc}-cflag=-w-8057
{bcc}-cflag=-w-8008
{bcc}-cflag=-w-8066

# ORIGIN https://libexpat.github.io/
# URL    https://downloads.sourceforge.net/project/expat/expat/2.2.5/expat-2.2.5.tar.bz2
# DIFF   expat.diff
#
# MAP    COPYING
# MAP    lib/xmlparse.c       xmlparse.c
# MAP    lib/xmlrole.c        xmlrole.c
# MAP    lib/xmltok.c         xmltok.c
# MAP    lib/xmltok_impl.c    xmltok_i.c
# MAP    lib/xmltok_ns.c      xmltok_n.c
# MAP    lib/ascii.h          ascii.h
# MAP    lib/asciitab.h       asciitab.h
# MAP    lib/expat.h          expat.h
# MAP    lib/expat_external.h expat_ex.h
# MAP    lib/iasciitab.h      iasciita.h
# MAP    lib/internal.h       internal.h
# MAP    lib/latin1tab.h      latin1ta.h
# MAP    lib/loadlibrary.c    loadlibr.c
# MAP    lib/nametab.h        nametab.h
# MAP    lib/siphash.h        siphash.h
# MAP    lib/utf8tab.h        utf8tab.h
# MAP    lib/winconfig.h      winconfi.h
# MAP    lib/xmlrole.h        xmlrole.h
# MAP    lib/xmltok.h         xmltok.h
# MAP    lib/xmltok_impl.h    xmltok_i.h
