|
9cc729b5
|
2025-01-21T19:06:43
|
|
build: Update scripts/makefile.*
Apply the following updates:
* Tidy up the compiler flag definitions.
* Update the Darwin, Linux and MSYS makefiles to match the compiler
flags used in scripts/makefile.clang and scripts/makefile.gcc.
* Add the `pngtest-static` target in the Darwin makefile, following
on the Linux makefile.
* Rewrite some of the implicit make rules to match one another more
consistently.
* Make corrections in the copyright years to match git log.
|
|
1cdde118
|
2024-02-11T23:14:09
|
|
build: Update the makefiles for the benefit of cross-compilation
Split AR_RC into AR and ARFLAGS. The variables AR and ARFLAGS are
de-facto standards (like CC and CFLAGS, LD and LDFLAGS, etc.) that
may be overridden when running make. Moreover, configuring CC, LD,
AR, etc., to point to a cross-platform compiler, linker, librarian,
etc., is a de-facto standard practice as well.
Also remove the MKDIR_P variable definitions from all makefiles.
They've been leftovers from the removal of the "install*" targets.
|
|
9b65ad49
|
2022-09-18T19:37:40
|
|
scripts: Remove the support for "install" targets from all makefiles
In most of the legacy makefiles (with only a few notable exceptions
such as makefile.linux), the "install" targets have been broken since
libpng-1.5.0beta01. Specifically, the "install-shared" targets produced
incorrect library names, due to a missing symbol in the definition of
the LIBSOREL macro.
Rather than correcting this long-standing and long-untested error, we
decided to remove the support for "make install" altogether, from all
legacy makefiles. Further use of "make install", "make install-static"
or "make install-shared" will fail with an error message.
Going forward, the only tested and supported manners to install libpng
shall be the conventional build and install procedures driven by the
configure script or by the CMake file.
|
|
c64655d0
|
2022-09-14T21:18:20
|
|
scripts: Set the compiler warning options to "-Wall -Wextra -Wundef"
Considering that "-Wextra" is a more descriptive alternative to "-W",
and that "-Wundef" is a highly useful warning option that has been
available in ancient versions of gcc (version 2.x), we replace all
occurrences of "-W -Wall" with "-Wall -Wextra -Wundef".
Also clean up the makefiles.
|
|
3cec1a16
|
2020-03-29T23:58:29
|
|
scripts: Clean up the makefiles
Delete variables (ALIGN, ARCH, DOCS) and targets (writelock) that are
no longer necessary.
Reorder the object file lists alphabetically, consistently across all
makefiles and build scripts.
Apply other minor fixes.
|
|
85acd919
|
2018-12-01T09:36:00
|
|
[master] Imported from libpng-1.6.36.tar
|
|
b729fff4
|
2018-07-28T23:39:55
|
|
Remove the Y2K compliance statement
As of July 2018, this statement is no longer necessary.
|
|
d55c4f32
|
2014-08-21T05:53:38
|
|
[master] Imported from libpng-1.6.13.tar
|
|
ff649a07
|
2014-08-07T19:51:35
|
|
[libpng16] Eliminated use of "$<" when copying $PNGLIBCONF_H_PREBUILT in
makefiles. This does not work on some versions of make; bug introduced in
libpng version 1.6.11.
|
|
d21eae44
|
2014-06-05T09:53:19
|
|
[master] Imported from libpng-1.6.11.tar
|
|
9ab7b4ca
|
2014-03-22T13:13:11
|
|
[libpng16] Allow an easy replacement of the default pre-built configuration
header with a custom header, via the make PNGLIBCONF_H_PREBUILT
macro.
|
|
82200dae
|
2014-03-22T09:29:59
|
|
[libpng16] $(CP) is now used alongside $(RM_F). Also, use 'copy' instead
of 'cp' where applicable, and applied other minor makefile changes.
|
|
a710317d
|
2014-02-05T22:28:57
|
|
[master] Imported from libpng-1.6.9.tar
|
|
5af0307f
|
2014-01-20T12:36:30
|
|
[libpng16] Imported from libpng-1.6.9beta04.tar
|
|
42503281
|
2014-01-12T10:44:01
|
|
[libpng16] Updated scripts/makefile.* to use CPPFLAGS (Cosmin)
|
|
871b1d0f
|
2013-03-02T14:58:22
|
|
[libpng16] Bump version to 1.6.1beta05
|
|
f3af706c
|
2012-02-02T23:11:45
|
|
[libpng16] Imported from libpng-1.6.0beta05.tar
|
|
0da9cf38
|
2013-02-13T22:49:19
|
|
[master] Imported from libpng-1.6.0.tar
|
|
6f237b6b
|
2012-03-02T13:13:15
|
|
[libpng16] Remove whitespace at end of lines
|
|
a6f369b1
|
2011-12-21T08:15:07
|
|
[libpng16] Imported from libpng-1.6.0beta02.tar
|
|
0b3634bc
|
2011-12-17T09:57:00
|
|
[libpng16] Reverted install of pngconfig.h
|
|
efaeadaa
|
2011-12-17T09:06:34
|
|
[libpng16] Added pngconfig.h file. This indirect reference to config.h avoids
problems with build scripts that search for config.h and find an
inappropriate one in the standard paths.
|
|
8c667864
|
2010-08-24T16:16:35
|
|
[devel] Renamed scripts/pnglibconf.h to scripts/pnglibconf.h.prebuilt
|
|
72531443
|
2010-04-17T08:17:51
|
|
[devel] Revise scripts to work with pnglibconf.h
|
|
c3cd22b4
|
2010-03-08T21:10:25
|
|
[devel] Moved "#include png.h" inside pngpriv.h and removed "#include png.h"
from the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
Also created new pngdebug.h and moved debug definitions there.
|
|
e3f3c4ea
|
2010-02-07T18:08:50
|
|
[devel] Imported from libpng-1.5.0beta01.tar
|
|
7e3a82cd
|
2010-01-02T23:05:45
|
|
[master] Imported from libpng-1.4.0.tar
|
|
03f9b029
|
2009-12-04T08:40:41
|
|
[devel] Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
and added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
|
|
5aa86761
|
2009-11-25T16:04:13
|
|
[master] Bump to version 1.2.41rc04
|
|
ea88d94d
|
2009-11-25T08:41:00
|
|
[master] Imported from libpng-1.2.41rc03.tar
|
|
de5c9322
|
2009-11-25T08:51:04
|
|
[master] Disabled the new pedantic warnings
about deprecated function use and deprecated structure access unless the
user defines PNG_PEDANTIC_WARNINGS. Added "#define PNG_NO_PEDANTIC_WARNINGS"
in the libpng source files. Removed "-DPNG_CONFIGURE_LIBPNG" from the
makefiles and projects since the warnings no longer depend on this.
|
|
20e82ae2
|
2009-11-08T19:18:45
|
|
[master] Added deprectated-use reporting
ported from libpng-1.4.0
|
|
58c4f6b3
|
2009-11-07T10:50:29
|
|
Added -DPNG_CONFIGURE_LIBPNG to the makefile CFLAGS
to prevent warnings about direct access to png structs by libpng functions
while building libpng. They need to be tested, especially
those using compilers other than gcc.
|
|
eba11d2b
|
2009-06-28T20:26:26
|
|
[master] Imported from libpng-1.2.38rc02.tar
|
|
bfbf8655
|
2009-06-26T21:46:52
|
|
[devel] Imported from libpng-1.4.0beta66.tar
|
|
c332bbcd
|
2009-06-25T13:43:50
|
|
[devel] Revise references to zlib/libpng license
|
|
e0dc4c8a
|
2009-06-25T12:17:26
|
|
[devel] Imported from libpng-1.4.0beta65.tar
|
|
037023bb
|
2009-06-24T10:27:36
|
|
[devel] Revise references to zlib-libpng license
|
|
3e61d798
|
2009-06-24T09:31:28
|
|
[devel] Mention zlib-libpng license in each source file
|
|
031a8648
|
2009-05-07T17:12:33
|
|
Merged scripts/makefiles and other scripts with libpng-1.4.0beta57.
These are mostly just cosmetic changes.
|
|
7ecf7bdc
|
2009-05-02T15:36:08
|
|
Removed support of pngprefs.h from makefiles.
It is no longer used since the MMX support was removed.
|
|
beb572e6
|
2006-08-19T13:59:24
|
|
Imported from libpng-1.4.0beta11.tar
|
|
17218294
|
2006-04-20T07:20:46
|
|
Imported from libpng-1.4.0beta1.tar
|
|
5b5dcf8b
|
2004-07-17T22:45:44
|
|
Imported from libpng-1.2.6beta3.tar
|
|
761bf9f0
|
2002-10-31T19:53:20
|
|
Imported from libpng-1.2.6beta2.tar
|
|
07748d1b
|
2002-05-25T11:12:10
|
|
Imported from libpng-1.2.4beta1.tar
|
|
03008a08
|
2002-04-27T10:11:25
|
|
Imported from libpng-1.2.3rc1.tar
|
|
fcbd7870
|
2002-04-07T16:35:38
|
|
Imported from libpng-1.2.2rc1.tar
|
|
166c5a39
|
1999-12-10T09:43:02
|
|
Imported from libpng-1.0.5h.tar
|
|
f8b008cd
|
1999-09-18T10:54:36
|
|
Imported from libpng-1.0.4-pre2.tar
|