scripts/makefile.sgi

Branch


Log

Author Commit Date CI Message
Cosmin Truta 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.
Cosmin Truta 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.
Cosmin Truta 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.
Cosmin Truta 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.
Cosmin Truta 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.
Cosmin Truta 85acd919 2018-12-01T09:36:00 [master] Imported from libpng-1.6.36.tar
Cosmin Truta b729fff4 2018-07-28T23:39:55 Remove the Y2K compliance statement As of July 2018, this statement is no longer necessary.
Glenn Randers-Pehrson d55c4f32 2014-08-21T05:53:38 [master] Imported from libpng-1.6.13.tar
Glenn Randers-Pehrson 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.
Glenn Randers-Pehrson d21eae44 2014-06-05T09:53:19 [master] Imported from libpng-1.6.11.tar
Cosmin Truta 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.
Cosmin Truta 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.
Glenn Randers-Pehrson a710317d 2014-02-05T22:28:57 [master] Imported from libpng-1.6.9.tar
Glenn Randers-Pehrson 5af0307f 2014-01-20T12:36:30 [libpng16] Imported from libpng-1.6.9beta04.tar
Glenn Randers-Pehrson 42503281 2014-01-12T10:44:01 [libpng16] Updated scripts/makefile.* to use CPPFLAGS (Cosmin)
Glenn Randers-Pehrson 871b1d0f 2013-03-02T14:58:22 [libpng16] Bump version to 1.6.1beta05
Glenn Randers-Pehrson f3af706c 2012-02-02T23:11:45 [libpng16] Imported from libpng-1.6.0beta05.tar
Glenn Randers-Pehrson 0da9cf38 2013-02-13T22:49:19 [master] Imported from libpng-1.6.0.tar
John Bowler 6f237b6b 2012-03-02T13:13:15 [libpng16] Remove whitespace at end of lines
Glenn Randers-Pehrson a6f369b1 2011-12-21T08:15:07 [libpng16] Imported from libpng-1.6.0beta02.tar
Glenn Randers-Pehrson 0b3634bc 2011-12-17T09:57:00 [libpng16] Reverted install of pngconfig.h
Glenn Randers-Pehrson 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.
Glenn Randers-Pehrson 7455cbf4 2011-11-24T14:40:36 [libpng16] Update internal version numbering and SO-numbers
Glenn Randers-Pehrson 5c5db5a5 2011-01-21T23:23:34 [devel] Imported from libpng-1.5.1beta07.tar
Glenn Randers-Pehrson 8c667864 2010-08-24T16:16:35 [devel] Renamed scripts/pnglibconf.h to scripts/pnglibconf.h.prebuilt
Glenn Randers-Pehrson 72531443 2010-04-17T08:17:51 [devel] Revise scripts to work with pnglibconf.h
Glenn Randers-Pehrson 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.
Glenn Randers-Pehrson 3c6df196 2010-02-08T15:40:53 [devel] Updated configure script to use SO number 15.
Glenn Randers-Pehrson e3f3c4ea 2010-02-07T18:08:50 [devel] Imported from libpng-1.5.0beta01.tar
Glenn Randers-Pehrson ad1f8180 2010-01-07T23:28:16 [master] Updated makefiles to link to libpng14.so.14.1
Glenn Randers-Pehrson 74fd86a6 2010-01-07T08:19:31 [master] Updated copyright year in revised makefiles.
Glenn Randers-Pehrson f2340912 2010-01-07T08:14:16 [master] Restored "; \" that was lost from makefiles in the previous change
Glenn Randers-Pehrson 772b7213 2010-01-06T23:11:53 [master] Revised the makefiles to install the same files and symbolic links as configure, except for libpng.la and libpng14.la.
Glenn Randers-Pehrson 2381cf32 2010-01-03T16:57:14 [master] Bump to version 1.4.1beta01
Glenn Randers-Pehrson 7e3a82cd 2010-01-02T23:05:45 [master] Imported from libpng-1.4.0.tar
Glenn Randers-Pehrson 115817d1 2010-01-02T23:04:36 [master] Imported from libpng-1.2.42.tar
Glenn Randers-Pehrson 67a83db9 2010-01-01T18:26:18 [devel] Imported from libpng-1.4.0rc08.tar
Glenn Randers-Pehrson 5cfea4fc 2010-01-01T18:27:30 [master] Imported from libpng-1.2.42rc05.tar
Glenn Randers-Pehrson b9d67132 2010-01-01T10:43:19 [master] Imported from libpng-1.2.42rc04.tar
Glenn Randers-Pehrson a58818a0 2010-01-01T10:19:33 [devel] Imported from libpng-1.4.0rc07.tar
Glenn Randers-Pehrson f81b50bf 2009-12-29T16:50:15 [devel] Imported from libpng-1.4.0rc06.tar
Glenn Randers-Pehrson e52c7ac7 2009-12-25T16:19:50 [devel] Imported from libpng-1.4.0rc05.tar
Glenn Randers-Pehrson dbcfb715 2009-12-25T14:24:18 [devel] Imported from libpng-1.4.0rc04.tar
Glenn Randers-Pehrson 4607e138 2009-12-25T14:19:07 [master] Imported from libpng-1.2.42rc03.tar
Glenn Randers-Pehrson 5265c388 2009-12-22T09:09:34 [devel] Bump to version 1.4.0rc03
Glenn Randers-Pehrson 230e8b43 2009-12-22T08:04:25 [master] Bump to version libpng-1.2.42rc02
Glenn Randers-Pehrson 62ca98ef 2009-12-20T15:14:57 [devel] Imported from libpng-1.4.0rc02.tar
Glenn Randers-Pehrson 094340d2 2009-12-13T14:38:16 [devel] Bump to version 1.4.0beta110
Glenn Randers-Pehrson addb84b1 2009-12-13T08:06:26 [devel] Imported from libpng-1.4.0beta109.tar
Glenn Randers-Pehrson e8d28e1b 2009-12-13T07:35:04 [master] Bump to version 1.2.42rc01
Glenn Randers-Pehrson 1a15762c 2009-12-11T07:19:56 [master] Bump to version 1.2.42beta02
Glenn Randers-Pehrson 914a7e3d 2009-12-04T09:50:46 [devel] Bump to version 1.4.0beta108
Glenn Randers-Pehrson 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.
Glenn Randers-Pehrson 804cc98c 2009-12-04T05:47:47 [master] Bump to version 1.2.42beta01
Glenn Randers-Pehrson 6e00020a 2009-12-02T19:46:16 [master] Imported from libpng-1.2.41.tar
Glenn Randers-Pehrson 5aa86761 2009-11-25T16:04:13 [master] Bump to version 1.2.41rc04
Glenn Randers-Pehrson 133840ba 2009-11-27T00:30:46 [devel] Bump to version 1.4.0beta107
Glenn Randers-Pehrson 5a2015e1 2009-11-26T11:44:52 [devel] Bump to version 1.4.0beta106
Glenn Randers-Pehrson ea88d94d 2009-11-25T08:41:00 [master] Imported from libpng-1.2.41rc03.tar
Glenn Randers-Pehrson 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.
Glenn Randers-Pehrson 3b673e0f 2009-11-25T08:41:00 [master] Bump to version libpng-1.2.41rc03
Glenn Randers-Pehrson a460e005 2009-11-22T08:28:25 [master] Bump to version 1.2.41rc02
Glenn Randers-Pehrson 2a087220 2009-11-21T21:53:39 [devel] Bump to version 1.4.0beta105
Glenn Randers-Pehrson 52f4f257 2009-11-20T22:34:40 [devel] Bump to version 1.4.0beta104
Glenn Randers-Pehrson 311c8476 2009-11-20T09:45:08 [devel] Bump to version 1.4.0beta103
Glenn Randers-Pehrson a7eda248 2009-11-18T10:23:14 [devel] Bump to version 1.4.0rc02
Glenn Randers-Pehrson a02188ae 2009-11-18T10:15:58 [devel] Bump to version libpng-1.4.0beta102
Glenn Randers-Pehrson 5b7d8ff3 2009-11-18T10:23:14 [devel] Bump to version 1.4.0rc02
Glenn Randers-Pehrson ac18f8a7 2009-11-14T21:50:39 [devel] Bump to version 1.4.0beta102
Glenn Randers-Pehrson 0dfd8d37 2009-11-14T14:56:55 [devel] Bump to version 1.4.0beta101
Glenn Randers-Pehrson 88bbbfa5 2009-11-14T07:36:54 [master] Bump to version 1.2.41rc01
Glenn Randers-Pehrson 71cff967 2009-11-14T05:56:38 [devel] Bump to version 1.4.0beta100
Glenn Randers-Pehrson b612eee9 2009-11-14T05:44:01 [devel] Imported from libpng-1.4.0beta99.tar
Glenn Randers-Pehrson d708cb83 2009-11-12T22:35:16 [devel] Bump to version 1.4.0beta98
Glenn Randers-Pehrson 3f2b6a67 2009-11-12T18:07:00 [devel] Bump to version 1.4.0beta97
Glenn Randers-Pehrson 9ef984d1 2009-11-12T20:27:25 [devel] Bump to version 1.4.0beta98
Glenn Randers-Pehrson e3f9ce59 2009-11-12T20:23:01 [master] Bump to version 1.2.41beta20
Glenn Randers-Pehrson 9d572417 2009-11-12T08:59:53 [devel] Bump to version 1.4.0beta97
Glenn Randers-Pehrson bdbade92 2009-11-12T06:22:16 [devel] Bump to version 1.4.0beta96
Glenn Randers-Pehrson bef02a89 2009-11-11T15:07:16 [master] Bump to version 1.2.41beta19
Glenn Randers-Pehrson a5fc3eb9 2009-11-11T14:19:15 [master] Bump to version libpng-1.2.41beta18
Glenn Randers-Pehrson 95a15f7a 2009-11-10T10:28:13 [devel] Bump to version libpng-1.4.0rc02
Glenn Randers-Pehrson 365cddf3 2009-11-10T09:24:07 [master] Bump to version libpng-1.2.41rc01
Glenn Randers-Pehrson 015289e2 2009-11-09T06:54:18 [devel] Bump to version 1.4.0beta95
Glenn Randers-Pehrson 71f29b70 2009-11-09T06:48:09 [master] Bump to version 1.2.41beta17
Glenn Randers-Pehrson e5e60564 2009-11-08T19:34:54 [master] Bump to version 1.2.41beta16
Glenn Randers-Pehrson 20e82ae2 2009-11-08T19:18:45 [master] Added deprectated-use reporting ported from libpng-1.4.0
Glenn Randers-Pehrson e890cb11 2009-11-08T16:55:54 [master] Bump to version bump-to-1.2.41beta15.tar
Glenn Randers-Pehrson 013d1d68 2009-11-08T13:28:18 [devel] Removed dependency of pngtest.o on pngpriv.h in the makefiles.
Glenn Randers-Pehrson 727d3d74 2009-11-07T11:07:44 [devel] Bump to version bump-to-1.4.0beta94.tar
Glenn Randers-Pehrson 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.
Glenn Randers-Pehrson 047c34b7 2009-11-07T10:40:40 [devel] Bump to version bump-to-1.4.0beta93.tar
Glenn Randers-Pehrson 7e64470a 2009-11-03T07:03:09 [master] Bump version to libpng-1.2.41beta14
Glenn Randers-Pehrson 53651229 2009-11-03T06:58:21 [devel] Bump version to 1.4.0beta92
Glenn Randers-Pehrson 33023522 2009-11-02T07:34:05 [devel] Bump version to 1.4.0beta91
Glenn Randers-Pehrson 38453101 2009-11-02T06:24:56 [master] Bump version to 1.2.41beta13
Glenn Randers-Pehrson c75d7fb3 2009-11-02T05:51:47 [master] Bump version to 1.2.41beta12
Glenn Randers-Pehrson dc38e24f 2009-10-31T23:28:05 [master] Bump version to 1.2.41beta11
Glenn Randers-Pehrson 07def6f6 2009-10-31T21:37:31 [devel] Bump version to 1.4.0beta90
Glenn Randers-Pehrson 602d314b 2009-10-31T21:40:34 [master] Bump version to libpng-1.2.41beta10