2003-06-23 15:50:43 -04:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<makefile>
|
|
|
|
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
|
|
|
<option name="wxUSE_LIBPNG"/>
|
2004-09-26 04:46:55 -04:00
|
|
|
<set var="LIB_PNG">
|
|
|
|
<if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
|
|
|
|
wxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
</if>
|
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
|
|
|
<if cond="FORMAT!='autoconf'">
|
|
|
|
<set var="wxUSE_LIBPNG">builtin</set>
|
2004-09-26 04:46:55 -04:00
|
|
|
<set var="LIB_PNG">
|
|
|
|
<if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
|
2004-10-08 07:20:24 -04:00
|
|
|
wxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
2004-09-26 04:46:55 -04:00
|
|
|
</if>
|
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
<set var="INC_PNG">
|
2003-07-01 08:53:02 -04:00
|
|
|
<if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
|
2003-06-27 17:29:07 -04:00
|
|
|
<lib id="wxpng" template="3rdparty_lib"
|
2003-07-27 05:52:41 -04:00
|
|
|
cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
|
2003-06-23 15:50:43 -04:00
|
|
|
<dirname>$(LIBDIRNAME)</dirname>
|
2003-06-27 09:25:11 -04:00
|
|
|
<include>$(INC_ZLIB)</include>
|
2020-04-19 08:53:51 -04:00
|
|
|
<define>PNG_INTEL_SSE</define>
|
2005-11-10 07:05:11 -05:00
|
|
|
<cflags-borland>-w-8004</cflags-borland>
|
|
|
|
<cflags-watcom>-wcd=124</cflags-watcom>
|
2003-06-23 15:50:43 -04:00
|
|
|
<sources>
|
2005-11-10 07:05:11 -05:00
|
|
|
src/png/png.c
|
|
|
|
src/png/pngerror.c
|
|
|
|
src/png/pngget.c
|
|
|
|
src/png/pngmem.c
|
|
|
|
src/png/pngpread.c
|
|
|
|
src/png/pngread.c
|
|
|
|
src/png/pngrio.c
|
|
|
|
src/png/pngrtran.c
|
|
|
|
src/png/pngrutil.c
|
|
|
|
src/png/pngset.c
|
|
|
|
src/png/pngtrans.c
|
|
|
|
src/png/pngwio.c
|
|
|
|
src/png/pngwrite.c
|
|
|
|
src/png/pngwtran.c
|
|
|
|
src/png/pngwutil.c
|
2020-04-19 08:49:10 -04:00
|
|
|
src/png/arm/arm_init.c
|
|
|
|
src/png/arm/filter_neon_intrinsics.c
|
|
|
|
src/png/arm/palette_neon_intrinsics.c
|
|
|
|
src/png/intel/intel_init.c
|
|
|
|
src/png/intel/filter_sse2_intrinsics.c
|
2003-06-23 15:50:43 -04:00
|
|
|
</sources>
|
2020-04-19 08:49:10 -04:00
|
|
|
<if cond="IS_MSVC=='0'">
|
|
|
|
<sources>
|
|
|
|
src/png/mips/filter_msa_intrinsics.c
|
|
|
|
src/png/mips/mips_init.c
|
|
|
|
src/png/powerpc/filter_vsx_intrinsics.c
|
|
|
|
src/png/powerpc/powerpc_init.c
|
|
|
|
</sources>
|
|
|
|
</if>
|
2003-06-23 15:50:43 -04:00
|
|
|
</lib>
|
|
|
|
|
|
|
|
</makefile>
|