1
0
mirror of https://github.com/glennrp/libpng.git synced 2025-08-01 16:46:56 +03:00

303 Commits

Author SHA1 Message Date
9cc729b523 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.
2025-01-21 19:06:43 +02:00
1cdde11877 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.
2024-02-11 23:14:09 +02:00
9b65ad49d3 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.
2022-09-18 19:37:40 +03:00
c64655d058 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.
2022-09-14 21:18:20 +03:00
3cec1a16f5 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.
2020-03-29 23:58:29 -04:00
1bd4214a42 Clean up the scripts/ directory
Delete the files that are unused, redundant, or fundamentally broken:
def.c, makefile.bor, makefile.knr, makefile.msc, makefile.solaris-x86,
makefile.tc3
2018-07-29 22:19:43 -04:00
b729fff4a3 Remove the Y2K compliance statement
As of July 2018, this statement is no longer necessary.
2018-07-28 23:39:55 -04:00
ff649a0710 [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.
2014-08-07 19:51:35 -05:00
9ab7b4ca58 [libpng16] Allow an easy replacement of the default pre-built configuration
header with a custom header, via the make PNGLIBCONF_H_PREBUILT
macro.
2014-03-22 13:13:11 -05:00
82200daec2 [libpng16] $(CP) is now used alongside $(RM_F). Also, use 'copy' instead
of 'cp' where applicable, and applied other minor makefile changes.
2014-03-22 09:29:59 -05:00
5af0307f11 [libpng16] Imported from libpng-1.6.9beta04.tar 2014-01-20 13:14:40 -06:00
4250328102 [libpng16] Updated scripts/makefile.* to use CPPFLAGS (Cosmin) 2014-01-12 10:49:40 -06:00
871b1d0fab [libpng16] Bump version to 1.6.1beta05 2013-03-02 15:03:15 -06:00
f3af706c2a [libpng16] Imported from libpng-1.6.0beta05.tar 2013-03-01 21:38:03 -06:00
6f237b6bf0 [libpng16] Remove whitespace at end of lines 2012-03-02 13:20:52 -06:00
a6f369b150 [libpng16] Imported from libpng-1.6.0beta02.tar 2011-12-21 08:29:30 -06:00
0b3634bcc4 [libpng16] Reverted install of pngconfig.h 2011-12-17 09:57:00 -06:00
efaeadaa86 [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.
2011-12-17 09:06:34 -06:00
7455cbf47e [libpng16] Update internal version numbering and SO-numbers 2011-11-24 14:49:01 -06:00
5c5db5a55f [devel] Imported from libpng-1.5.1beta07.tar 2011-01-21 23:32:11 -06:00
8c66786419 [devel] Renamed scripts/pnglibconf.h to scripts/pnglibconf.h.prebuilt 2010-08-24 16:16:35 -05:00
725314432d [devel] Revise scripts to work with pnglibconf.h 2010-04-17 08:17:51 -05:00
c3cd22b404 [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.
2010-03-08 21:10:25 -06:00
3c6df196b5 [devel] Updated configure script to use SO number 15. 2010-02-08 15:40:53 -06:00
e3f3c4ea0b [devel] Imported from libpng-1.5.0beta01.tar 2010-02-07 18:10:43 -06:00
67a83db98d [devel] Imported from libpng-1.4.0rc08.tar 2010-01-01 18:32:13 -06:00
a58818a079 [devel] Imported from libpng-1.4.0rc07.tar 2010-01-01 10:31:50 -06:00
f81b50bf9d [devel] Imported from libpng-1.4.0rc06.tar 2009-12-29 16:51:34 -06:00
e52c7ac7a3 [devel] Imported from libpng-1.4.0rc05.tar 2009-12-27 16:39:14 -06:00
dbcfb7151f [devel] Imported from libpng-1.4.0rc04.tar 2009-12-25 14:27:23 -06:00
5265c3889c [devel] Bump to version 1.4.0rc03 2009-12-22 09:10:46 -06:00
62ca98ef5e [devel] Imported from libpng-1.4.0rc02.tar 2009-12-20 15:16:15 -06:00
094340d287 [devel] Bump to version 1.4.0beta110 2009-12-13 15:39:00 -06:00
addb84b1bc [devel] Imported from libpng-1.4.0beta109.tar 2009-12-13 08:15:55 -06:00
914a7e3d4f [devel] Bump to version 1.4.0beta108 2009-12-04 17:05:57 -06:00
03f9b02953 [devel] Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.
and added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
2009-12-04 08:40:41 -06:00
133840ba4b [devel] Bump to version 1.4.0beta107 2009-11-27 06:09:41 -06:00
5a2015e146 [devel] Bump to version 1.4.0beta106 2009-11-26 11:46:24 -06:00
2a087220dd [devel] Bump to version 1.4.0beta105 2009-11-21 21:54:53 -06:00
52f4f257c9 [devel] Bump to version 1.4.0beta104 2009-11-20 23:01:45 -06:00
311c8476f8 [devel] Bump to version 1.4.0beta103 2009-11-20 09:46:59 -06:00
a7eda24870 [devel] Bump to version 1.4.0rc02 2009-11-18 15:49:11 -06:00
a02188ae94 [devel] Bump to version libpng-1.4.0beta102 2009-11-18 15:32:35 -06:00
5b7d8ff306 [devel] Bump to version 1.4.0rc02 2009-11-18 15:32:33 -06:00
ac18f8a706 [devel] Bump to version 1.4.0beta102 2009-11-14 21:52:06 -05:00
0dfd8d379b [devel] Bump to version 1.4.0beta101 2009-11-14 14:58:35 -06:00
71cff967a9 [devel] Bump to version 1.4.0beta100 2009-11-14 06:25:31 -06:00
b612eee957 [devel] Imported from libpng-1.4.0beta99.tar 2009-11-14 05:45:49 -06:00
d708cb8360 [devel] Bump to version 1.4.0beta98 2009-11-12 22:36:41 -06:00
3f2b6a67d1 [devel] Bump to version 1.4.0beta97 2009-11-12 21:05:30 -06:00