[Zlib-devel] zlib 1.2.3.6 available for testing

Vincent Torri vtorri at univ-evry.fr
Wed Jan 20 03:26:53 EST 2010



On Tue, 19 Jan 2010, Mark Adler wrote:

> On Jan 19, 2010, at 4:47 AM, glennrp at comcast.net wrote:
>> I did notice that the supplied Makefile dies not finding
>> main() on FreeBSD and SunOS, but "configure; make" works fine.
>
> That is as expected.  I've been wondering if I should just delete 
> Makefile in the distribution, forcing the user to run configure to 
> create Makefile from Makefile.in.

Imho, it will be cleaner if you remove all the Makefile's. Plenty of 
Makefile's are also difficult to maintain. Most of the OS (linux, solaris, 
bsd, mac os and windows, which is certainly more than 98% of the OS) can 
use the autotools. You can keep Visual Studio projects somewhere if you 
want. Some support should be dropped, like msdos support (we are in 2010)

Also, just a note: Why not separating the source code from the lib and 
from the binaries ? Having a directory structure like:

zlib/
   src/
     bin/    <---- source code of binaries + their private headers
     lib/    <---- source code of library + its private headers
     include <---- exported headers
   doc/
   etc...

for example ?

Vincent Torri




More information about the Zlib-devel mailing list