Commit Graph

19 Commits

Author SHA1 Message Date
Fred L. Drake, Jr.
2bba3d20f5 Deal with issue discussed in SF patch #820946: Expat doesn't handle
the use of modified default calling conventions in client code.

To deal with this issue and generally clean up the mass of macros
being used to support bits of the machinery, two new macros are being
added:

- XMLCALL, which expands to whatever is needed to nail down the
  calling convention for all calls across the library boundary.  This
  must match the convention used for the system's malloc()
  implementation.

- XMLIMPORT, defined to be whatever magic is needed to mark an entry
  point as imported from a dynamically loaded module (.dll, .so, .sl,
  whatever).

These macros are used to define the XMLPARSEAPI macro already being
used to define the API entry points.  In addition, XMLCALL is used to
define the types of callback functions, and all example code uses this
explicitly in both the distributed applications and the documentation.
2003-10-15 16:25:44 +00:00
Karl Waclawek
c61a46c305 * Applied patch #620822 - Windows Dll build with DEF file
* Changed macro for static linking from _STATIC to XML_STATIC
  and modified expat.h accordingly
* Added ReadMe file to Win32 subdirectory documenting Windows builds
* Changed static build settings to create libraries with names different
  from the Dll stub library libexpat(w).lib
2002-10-21 21:19:41 +00:00
Karl Waclawek
d6a47ae1e6 Applied patch #598944: Static library builds for VC++ 2002-08-23 15:04:52 +00:00
Fred L. Drake, Jr.
e573251a94 Define specific return values for the XML_Parse*() functions, and use them
to test all XML_Parse*() return values in the test and sample code.
This is binary-compatible with previous Expat 1.95.x releases.
2002-08-02 19:40:09 +00:00
Fred L. Drake, Jr.
2c06092697 De-tabify; minor code-style consistency changes. 2002-07-01 14:45:51 +00:00
Fred L. Drake, Jr.
5dec038664 Renamed the Expat DLLs from "expat.dll" to "libexpat.dll". This solves
a real naming conflict with Perl's XML::Parser::Expat module and the
relatively recent 1.95.x naming of the combined Expat DLL.

This does not introduce new names for the "wide" version of the Expat
API; this will be a separate change.

See SF bug #432456.
2002-05-31 02:30:31 +00:00
Greg Stein
a13d856e8f * Switch to a single, top-level Makefile (simplification, consistency)
* use libtool to compile/link all programs
* remove */Makefile.in and remove them from configure
* remove autom4te.cache after running autoconf
* remove .o from the FILEMAP logic in configure and the Make system;
  provides more flexibility in the Makefile to use it
* for VPATH builds: create the build subdirs by running
  "make mkdir-init" from the configure script
* adjust .cvsignore files to account for presence of .libs now
2001-12-07 10:19:31 +00:00
Greg Stein
866f6330cc Clean out some unused bits from the makefiles. Remove some of the recursion
and just do it from the top-level instead.
2001-08-23 09:24:45 +00:00
Fred L. Drake, Jr.
b3fd15c445 Avoid creating extra output directories from MSVC. 2001-07-27 14:21:23 +00:00
Fred L. Drake, Jr.
4e2de83794 More project files for MSVC. 2001-07-27 14:08:17 +00:00
Fred L. Drake, Jr.
c944beaea1 Ignore some additional Windows/MSVC cruft. 2001-07-27 14:05:30 +00:00
Fred L. Drake, Jr.
86b7ae104d Move the "elements" example code here from "sample", so we only have one
directory of short sample code.
2001-07-26 21:54:43 +00:00
Fred L. Drake, Jr.
9e91c1f1ee Make sure the configured compiler is used for all subdirectories. 2001-07-25 17:51:40 +00:00
Fred L. Drake, Jr.
d70490a072 Clean up a few compiler warnings in the sameple code. 2001-07-25 17:04:22 +00:00
Fred L. Drake, Jr.
072bdb8045 Ignore the generated executables. 2001-07-25 14:33:28 +00:00
Fred L. Drake, Jr.
05d1fac780 Make sure all the makefiles have at least a dummy check target and
reasonable distclean and maintainer-clean targets.

This fixes the last part of SF bug #430942.
2001-07-25 03:05:22 +00:00
Fred L. Drake, Jr.
d47741fc6b Sam TH:
Fix a variety of build control problems for the auxiliary directories.

This closes SF tracker patch #403582.
2001-03-01 04:28:27 +00:00
Fred L. Drake, Jr.
fd297d8120 Tell CVS to ignore generated Makefiles and working dirs used by libtool. 2000-10-30 21:25:05 +00:00
Clark Cooper
c135be083d These are the first check-ins for the libexpat task: create configuration
files and setup for building a shareable libexpat.
2000-09-18 16:26:23 +00:00