# -*- python -*-
Import('env')
if env.has_key('shared_zlib') and env['shared_zlib']:
Return()
files = [
'adler32.c',
'compress.c',
'crc32.c',
'deflate.c',
'gzio.c',
'infback.c',
'inffast.c',
'inflate.c',
'inftrees.c',
'trees.c',
'uncompr.c',
'zutil.c',
]
env.StaticLibrary(env['local_libs'] + "z", files)
env['CPPPATH'] += ['#Externals/zlib']