scripts/makefile.mips

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 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 e3f3c4ea 2010-02-07T18:08:50 [devel] Imported from libpng-1.5.0beta01.tar
Glenn Randers-Pehrson 7e3a82cd 2010-01-02T23:05:45 [master] Imported from libpng-1.4.0.tar
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 5aa86761 2009-11-25T16:04:13 [master] Bump to version 1.2.41rc04
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 20e82ae2 2009-11-08T19:18:45 [master] Added deprectated-use reporting ported from libpng-1.4.0
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 eba11d2b 2009-06-28T20:26:26 [master] Imported from libpng-1.2.38rc02.tar
Glenn Randers-Pehrson bfbf8655 2009-06-26T21:46:52 [devel] Imported from libpng-1.4.0beta66.tar
Glenn Randers-Pehrson c332bbcd 2009-06-25T13:43:50 [devel] Revise references to zlib/libpng license
Glenn Randers-Pehrson e0dc4c8a 2009-06-25T12:17:26 [devel] Imported from libpng-1.4.0beta65.tar
Glenn Randers-Pehrson 037023bb 2009-06-24T10:27:36 [devel] Revise references to zlib-libpng license
Glenn Randers-Pehrson 3e61d798 2009-06-24T09:31:28 [devel] Mention zlib-libpng license in each source file
Glenn Randers-Pehrson glennrp@comcast.net 031a8648 2009-05-07T17:12:33 Merged scripts/makefiles and other scripts with libpng-1.4.0beta57. These are mostly just cosmetic changes.
Glenn Randers-Pehrson glennrp@comcast.net 7ecf7bdc 2009-05-02T15:36:08 Removed support of pngprefs.h from makefiles. It is no longer used since the MMX support was removed.
Glenn Randers-Pehrson beb572e6 2006-08-19T13:59:24 Imported from libpng-1.4.0beta11.tar
Glenn Randers-Pehrson 17218294 2006-04-20T07:20:46 Imported from libpng-1.4.0beta1.tar
Glenn Randers-Pehrson 5b5dcf8b 2004-07-17T22:45:44 Imported from libpng-1.2.6beta3.tar
Glenn Randers-Pehrson 761bf9f0 2002-10-31T19:53:20 Imported from libpng-1.2.6beta2.tar
Glenn Randers-Pehrson 07748d1b 2002-05-25T11:12:10 Imported from libpng-1.2.4beta1.tar
Glenn Randers-Pehrson 03008a08 2002-04-27T10:11:25 Imported from libpng-1.2.3rc1.tar
Glenn Randers-Pehrson fcbd7870 2002-04-07T16:35:38 Imported from libpng-1.2.2rc1.tar
Glenn Randers-Pehrson 166c5a39 1999-12-10T09:43:02 Imported from libpng-1.0.5h.tar
Glenn Randers-Pehrson f8b008cd 1999-09-18T10:54:36 Imported from libpng-1.0.4-pre2.tar