raze-gles/polymer/eduke32/platform/Windows/lib/minipng.dfa
hendricks266 ec4d6f7b89 Windows: Update libpng to 1.6.25, built with GCC 6.2.
Fixes warning: type 'struct _SETJMP_FLOAT128' violates one definition rule [-Wodr]

git-svn-id: https://svn.eduke32.com/eduke32@5847 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:13 +00:00

59 lines
1.5 KiB
Text
Executable file

# Minimal LibPNG for EDuke32
# based on contrib/pngminim/encoder/pngusr.dfa of libpng
#
# Usage: from libpng source root and assuming zlib source in ../zlib,
# make -f scripts/pnglibconf.mak DFA_XTRA=./minipng.dfa CPP="gcc -E"
# make -f scripts/makefile.gcc libpng.a
#
# To clean up:
# make -f scripts/pnglibconf.mak clean
# make -f scripts/makefile.gcc clean
#
# For zlib, the following files are included in the 'mini' archive:
# crc32.o deflate.o adler32.o zutil.o trees.o
# ========== MODIFIED ORIGINAL FILE FOLLOWS ==========
# pngminim/encoder/pngusr.dfa
#
# Copyright (c) 2010-2011 Glenn Randers-Pehrson
#
# This code is released under the libpng license.
# For conditions of distribution and use, see the disclaimer
# and license in png.h
# First all the build options off:
everything = off
# Switch on the write code - this makes a minimalist encoder
option WRITE on
# You must choose fixed or floating point arithmetic:
#option FLOATING_POINT on
option FIXED_POINT on
# You must chose the internal fixed point implementation or to
# use the system floating point. The latter is considerably
# smaller (by about 1kbyte on an x86 system):
#option FLOATING_ARITHMETIC on
option FLOATING_ARITHMETIC off
# Your program will probably need other options. The example
# program here, pnm2pngm, requires the following. Take a look
# at pnglibconf.h to find out the full set of what has to be
# enabled to make the following work.
option SETJMP on
option USER_MEM on
option WRITE_TEXT on
option STDIO on
option INFO_IMAGE on
# Custom:
option WRITE_tRNS on