mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
56 lines
1.5 KiB
Text
56 lines
1.5 KiB
Text
|
# 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
|