Sireesh Tripurari | b478e66 | 2014-05-09 15:15:10 +0530 | [diff] [blame] | 1 | # simple.dfa |
| 2 | # Build time configuration of libpng |
| 3 | # |
| 4 | # Author: John Bowler |
| 5 | # Copyright: (c) John Bowler, 2013 |
| 6 | # Usage rights: |
| 7 | # To the extent possible under law, the author has waived all copyright and |
| 8 | # related or neighboring rights to this work. This work is published from: |
| 9 | # United States. |
| 10 | # |
| 11 | # Build libpng with just the simplified APIs (read and write). |
| 12 | # |
| 13 | |
| 14 | everything = off |
| 15 | |
| 16 | option SIMPLIFIED_WRITE on |
| 17 | option SIMPLIFIED_READ on |
| 18 | |
| 19 | # It isn't necessary to chose fixed or floating point for the APIs because the |
| 20 | # simplified API doesn't need fixed or floating point numbers. It is necessary |
| 21 | # to chose an internal math implementation. The default (because of 'everything |
| 22 | # = off') is fixed point - turn the floating point implementation on if you have |
| 23 | # hardware floating point or prefer your software floating point implementation. |
| 24 | option FLOATING_ARITHMETIC on |
| 25 | |
| 26 | # This is not strictly necessary, but without it the message strings in the API |
| 27 | # will not be filled in |
| 28 | option ERROR_TEXT on |
| 29 | |
| 30 | # Switching these options on enables the 'AFIRST' and 'BGR' formats - you don't |
| 31 | # need this if you don't use them, they just allow the in-memory layout to be |
| 32 | # changed to match common hardware formats. |
| 33 | option SIMPLIFIED_READ_AFIRST on |
| 34 | option SIMPLIFIED_READ_BGR on |
| 35 | option SIMPLIFIED_WRITE_AFIRST on |
| 36 | option SIMPLIFIED_WRITE_BGR on |