scripts/makefile.gcc

Branch


Log

Author Commit Date CI Message
Filip Wasil ffb8e8b2 2025-03-11T13:07:00 Fix and improve the RISC-V Vector (RVV) implementation Changes include manually merged code from Manfred SCHLAEGL. Co-authored-by: Manfred SCHLAEGL <manfred.schlaegl@gmx.at> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
Cosmin Truta 36a16fd7 2025-01-21T18:42:49 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.
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 b60656ec 2022-09-14T21:35:33 scripts: Disable the hardware-optimized compilation in legacy makefiles Fix the legacy makefile builds on ARM, MIPS and PowerPC, where hardware-optimized compilation was enabled by default in the generic source files, but without including the machine-specific source files. Delete scripts/makefile.linux-opt.
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 0a882b57 2019-01-20T22:21:48 scripts: Add makefile.clang, makefile.clang-asan and makefile.gcc-asan Also apply minor updates to makefile.gcc and makefile.msys
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 013d1d68 2009-11-08T13:28:18 [devel] Removed dependency of pngtest.o on pngpriv.h in the makefiles.
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 b54fd5c5 2008-08-02T12:21:03 Imported from libpng-1.2.30rc07.tar
Glenn Randers-Pehrson 79f25cde 2006-06-04T08:57:00 Imported from libpng-1.2.11beta2cos.tar
Glenn Randers-Pehrson 79084216 2008-08-04T13:31:41 Imported from libpng-1.4.0beta26.tar
Glenn Randers-Pehrson beb572e6 2006-08-19T13:59:24 Imported from libpng-1.4.0beta11.tar
Glenn Randers-Pehrson b3870ab5 2006-05-11T09:43:09 Imported from libpng-1.4.0beta4.tar
Glenn Randers-Pehrson 17218294 2006-04-20T07:20:46 Imported from libpng-1.4.0beta1.tar
Glenn Randers-Pehrson 5c60b236 2006-03-07T07:09:22 Imported from libpng-1.2.9beta7.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 d4366720 2000-06-04T14:29:29 Imported from libpng-1.0.7beta16.tar
Glenn Randers-Pehrson 520a764c 2000-03-21T05:13:06 Imported from libpng-1.0.6.tar