mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-03 01:22:12 +00:00
1cc9d13ccf
Files moved but not modified. Changes to follow in a subsequent commit. You down with CPP? git-svn-id: https://svn.eduke32.com/eduke32@6055 1a8010ca-5511-0410-912e-c29ae57300e0
59 lines
1.5 KiB
Text
Executable file
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
|