Cosmin Truta 36a16fd761 build: Add scripts/makefile.c89; update other makefiles
Add scripts/makefile.c89 and refactor scripts/makefile.emcc,
scripts/makefile.clang and scripts/makefile.gcc

Refactor variable definitions inside scripts/makefile.clang,
scripts/makefile.gcc and scripts/makefile.emcc, and start using
the option `-pedantic-errors` unconditionally. This option was
first implemented in GCC version 3.1, and it was available in
Clang and in other Clang-based compilers (e.g. Emscripten) from
the beginning.

Add scripts/makefile.c89, derived from the above makefiles, but
with `-pedantic-errors -std=c89`. We aren't enabling the C89 level
by default, to avoid any incompatibility, whether intentional or
accidental, with the compiler's default language level. However,
we are still continuing to support C89 in the 'libpng16' branch,
and this special makefile can be used for testing purposes.
2025-01-21 18:42:49 +02:00
..
2025-01-08 19:26:11 +02:00
2020-03-29 23:58:29 -04:00
2020-03-29 23:58:29 -04:00
2020-03-29 23:58:29 -04:00
2009-04-06 16:04:20 -05:00

Scripts and makefiles for libpng
--------------------------------

    pnglibconf.h.prebuilt  =>  Configuration settings

    makefile.aix      =>  AIX/gcc makefile
    makefile.amiga    =>  Amiga makefile
    makefile.atari    =>  Atari makefile
    makefile.bc32     =>  Borland C makefile, for Win32
    makefile.beos     =>  BeOS makefile
    makefile.clang    =>  Generic clang makefile
    makefile.darwin   =>  Darwin makefile, for macOS (formerly Mac OS X)
    makefile.dec      =>  DEC Alpha UNIX makefile
    makefile.dj2      =>  DJGPP 2 makefile
    makefile.emcc     =>  Emscripten makefile
    makefile.freebsd  =>  FreeBSD makefile
    makefile.gcc      =>  Generic gcc makefile
    makefile.hpgcc    =>  HPUX makefile using gcc
    makefile.hpux     =>  HPUX (10.20 and 11.00) makefile
    makefile.hp64     =>  HPUX (10.20 and 11.00) makefile, 64-bit
    makefile.ibmc     =>  IBM C/C++ version 3.x for Win32 and OS/2 (static lib)
    makefile.intel    =>  Intel C/C++ version 4.0 and later
    makefile.linux    =>  Linux/ELF makefile
                          (gcc, creates shared libpng16.so.16.1.6.*)
    makefile.mips     =>  MIPS makefile
    makefile.msys     =>  MSYS (MinGW) makefile
    makefile.netbsd   =>  NetBSD/cc makefile, makes shared libpng.so
    makefile.openbsd  =>  OpenBSD makefile
    makefile.riscos   =>  Acorn RISCOS makefile
    makefile.sco      =>  SCO OSr5 ELF and Unixware 7 with Native cc
    makefile.sgi      =>  Silicon Graphics IRIX makefile (cc, static lib)
    makefile.sggcc    =>  Silicon Graphics makefile
                          (gcc, creates shared libpng16.so.16.1.6.*)
    makefile.solaris  =>  Solaris 2.X makefile
                          (gcc, creates shared libpng16.so.16.1.6.*)
    makefile.so9      =>  Solaris 9 makefile
                          (gcc, creates shared libpng16.so.16.1.6.*)
    makefile.std      =>  Generic UNIX makefile (cc, static lib)
    makefile.sunos    =>  Sun makefile
    makefile.32sunu   =>  Sun Ultra 32-bit makefile
    makefile.64sunu   =>  Sun Ultra 64-bit makefile
    makefile.vcwin32  =>  makefile for Microsoft Visual C++ 4.0 and later
    makevms.com       =>  VMS build script
    smakefile.ppc     =>  AMIGA smakefile for SAS C V6.58/7.00 PPC compiler
                          (Requires SCOPTIONS, copied from SCOPTIONS.ppc)

Other supporting scripts
------------------------

    README.txt        =>  This file
    descrip.mms       =>  VMS makefile for MMS or MMK
    libpng-config-body.in  =>  used by several makefiles to create libpng-config
    libpng-config-head.in  =>  used by several makefiles to create libpng-config
    libpng.pc.in      =>  Used by several makefiles to create libpng.pc
    macro.lst         =>  Used by GNU Autotools
    pngwin.rc         =>  Used by the visualc71 project
    pngwin.def        =>  Used by makefile.os2
    pngwin.dfn        =>  Used to maintain pngwin.def
    SCOPTIONS.ppc     =>  Used with smakefile.ppc

    checksym.awk      =>  Used for maintaining pnglibconf.h
    dfn.awk           =>  Used for maintaining pnglibconf.h
    options.awk       =>  Used for maintaining pnglibconf.h
    pnglibconf.dfa    =>  Used for maintaining pnglibconf.h
    pnglibconf.mak    =>  Used for maintaining pnglibconf.h
    intprefix.c       =>  Used for symbol versioning
    prefix.c          =>  Used for symbol versioning
    sym.c             =>  Used for symbol versioning
    symbols.c         =>  Used for symbol versioning
    vers.c            =>  Used for symbol versioning

Further information can be found in comments in the individual scripts and
makefiles.