[libpng17] Revised Makefile.am and scripts/*.dfn to work with MinGW/MSYS;

renamed scripts/*.dfn to scripts/*.c (Bob Friesenhahn and John Bowler).
This commit is contained in:
Glenn Randers-Pehrson
2014-12-14 22:14:48 -06:00
parent 3393042627
commit ba8495bba9
9 changed files with 34 additions and 31 deletions

24
scripts/prefix.c Normal file
View File

@@ -0,0 +1,24 @@
/* prefix.c - generate an unprefixed symbol list
*
* Last changed in libpng version 1.6.16 [(PENDING RELEASE)]
* Copyright (c) 2013-2014 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
*/
#define PNG_EXPORTA(ordinal, type, name, args, attributes)\
PNG_DFN "@" name "@"
/* The configuration information *before* the additional of symbol renames,
* the list is the C name list; no symbol prefix.
*/
#include "pnglibconf.out"
PNG_DFN_START_SORT 1
#include "../png.h"
PNG_DFN_END_SORT