2011-02-14 21:25:08 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
import sys
|
|
|
|
|
2011-02-14 21:58:53 +00:00
|
|
|
if env.has_key('shared_png') and env['shared_png']:
|
2011-02-14 21:25:08 +00:00
|
|
|
Return()
|
|
|
|
|
|
|
|
files = [
|
|
|
|
'png.c',
|
|
|
|
'pngerror.c',
|
|
|
|
'pngget.c',
|
|
|
|
'pngmem.c',
|
|
|
|
'pngpread.c',
|
|
|
|
'pngread.c',
|
|
|
|
'pngrio.c',
|
|
|
|
'pngrtran.c',
|
|
|
|
'pngrutil.c',
|
|
|
|
'pngset.c',
|
|
|
|
'pngtrans.c',
|
|
|
|
'pngwio.c',
|
|
|
|
'pngwrite.c',
|
|
|
|
'pngwtran.c',
|
|
|
|
'pngwutil.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
env['CPPPATH'] += ['#Externals/libpng']
|
2011-03-03 04:35:03 +00:00
|
|
|
env['LIBS'] += env.StaticLibrary('png', files)
|