[Zlib-devel] TR: the win32\Makefile.msc diff

glennrp at comcast.net glennrp at comcast.net
Sun Mar 14 16:37:33 EDT 2010


We are just now trying to deal with that problem in libpng-1.5.0beta14.
libpng-1.5.0beta13 and earlier had *three* *.def files, in addition to the
automatically-generated libpng.def from 'configure'.

We added sequence numbers to the function prototypes in png.h, and
use sed to create libpng.def from png.h (configure has been doing
something of that sort for us for a while already).  The old OS-specific
scripts/*.def files are gone now.

A nice thing about this is if you configure a libpng build with
certain symbols #ifdef'ed out, you get a corresponding libpng.def
without those symbols.

If you know something about .def lists, please test libpng as
well as testing zlib, and send your comments to
png-mng-implement at lists.sf.net

Glenn

----- Original Message -----
From: "William A. Rowe Jr." <wrowe at rowe-clan.net>
To: zlib-devel at madler.net
Sent: Sunday, March 14, 2010 4:06:21 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Zlib-devel] TR: the win32\Makefile.msc diff

On 3/14/2010 12:10 PM, Gilles Vollant wrote:
> 
> in both contrib\vstudio\vc9\zlibvc.def and contrib\vstudio\vc10\zlibvc.def

Is there a justification for having multiple sets of the same .def list within
a single source package?  Obviously it's prone to error.

_______________________________________________
Zlib-devel mailing list
Zlib-devel at madler.net
http://mail.madler.net/mailman/listinfo/zlib-devel_madler.net




More information about the Zlib-devel mailing list