Commit Graph

291 Commits

Author SHA1 Message Date
Vincent Sanders
5f2065ecfb Ensure perl tool expansion is used everywhere 2024-05-25 18:24:03 +01:00
Vincent Sanders
b5f4d905f9 use attributes to indicate switch fall through instead of comments 2024-03-05 21:33:13 +00:00
Vincent Sanders
138d8438d4 move build tool selection into separate makefile fragment
Also adds toolchain detection allowing for warning flags selection
2024-02-27 09:26:37 +00:00
Vincent Sanders
82410dbb9e Update copyright year 2024-01-05 17:29:03 +00:00
Vincent Sanders
dbe5d1ef87 Implement simple jpeg xl image handler 2023-11-26 17:26:09 +00:00
John-Mark Bell
41f0a5a36e Buildsystem: fix RISC OS AOF matching 2022-11-02 13:56:27 +00:00
John-Mark Bell
cd76c45e9e Buildsystem: fix makefile snafu
99012dcd introduced a regression that caused builds for all
non-RISC OS platforms to fail. Fix this, ensuring that RISC OS
builds still do the things they need to.
2022-06-03 03:11:55 +01:00
John-Mark Bell
99012dcdd4 Buildsystem: update for new RISC OS toolchain
The new toolchain has a different machine triplet, so update the
things that care about it to work either way.

Remove the expectation that ro-pkg-config exists (it's trivial
and the core buildsystem never used it, so let's have some
consistency).

Determine the location of the zip binary in Makefile.tools, just
like for all the other tooling and stop assuming where it's
installed in the netsurf.zip target.
2022-06-03 00:43:42 +01:00
Vincent Sanders
98496cdae1 move remaining macros into separate macro makefile 2021-01-24 17:51:54 +00:00
Vincent Sanders
8a2c5bd3ed split out library and feature building macros 2021-01-17 21:10:31 +00:00
Vincent Sanders
5db541a6d7 Improve target setup in makefiles
split out HOST TARGET and SUBTARGET generation into separate file.
split out target(frontend) specific tool settings into separate files.
2021-01-17 20:06:24 +00:00
Daniel Silverstone
72b20fbd45
Makefile: Fix snafu in linkdeps rule
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-02 13:11:10 +01:00
Daniel Silverstone
f9f8129199
Makefile: Determine and use linker deps
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-02 13:09:19 +01:00
Zixing Liu
50f5e3f1a6 Makefile: add Chinese (Simplified) translation target
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
2020-09-02 08:59:38 +01:00
Vincent Sanders
421d796e9b split tools and utils 2020-06-27 23:30:54 +01:00
Vincent Sanders
38bfbe9cf6 remove perl split-messages tool usage 2020-06-22 00:04:42 +01:00
Vincent Sanders
0ee5e23184 change to using compiled split messages to remove a build time perl dependancy 2020-06-21 12:27:34 +01:00
Vincent Sanders
d5d14df76b initial implementation of split messages in c
functional but the compression switch still needs implementing
2020-06-15 00:21:06 +01:00
Daniel Silverstone
1053bcd3c1
Makefile: Add STMTEXPR detection for wapcaplet
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-26 22:05:21 +00:00
Vincent Sanders
2cebe26058 enforce setting subtarget so gtk2 gets named the correct thing in installs 2019-12-03 17:46:17 +00:00
Michael Drake
1d73269a49 Buildsystem: Change default nsgtk build from gtk2 to gtk3. 2019-12-02 10:43:25 +00:00
Michael Drake
2c953cdf97 Buildsystem: GTK: Change gtk target to gtk2, which builds nsgtk2. 2019-12-02 10:39:39 +00:00
Vincent Sanders
d2391b2dfd make the use of libutf8proc coditional
allow the browser to be compiled without libutf8proc. Without this
  library safe utf8 conversion and verification is not possible
  so the browser will loose the ability to navigate to adresses
  using the idna punycode scheme.
2019-10-03 00:28:08 +01:00
Vincent Sanders
070c74b648 add webp image handler 2019-02-17 12:09:17 +00:00
Daniel Silverstone
e2d5ef5ebe MAKEFILE: Update pkg_config_find_and_add_enabled for default CFLAGS
Since 90% of the time we can pre-calculate the CFLAGS for a
pkg-config enabled feature, let's do just that to ensure fewer
confusion moments as we add new pkg-config libraries.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-17 11:50:52 +00:00
Vincent Sanders
231f026e6a Improve framebuffer install rule 2019-02-15 17:53:31 +00:00
Vincent Sanders
d5d1634675 fix gcc version parameter ordering for gcc 8 2018-11-06 21:52:53 +00:00
Vincent Sanders
4a24a14b09 ensure fedora gcc gives us all the version information 2018-10-04 17:18:02 +01:00
Vincent Sanders
22fd851e14 Fix compiler version comparison test 2018-09-07 14:26:12 +01:00
Vincent Sanders
e4537cb37e allow comments to supress implicit fallthrough warnings 2018-09-07 12:53:51 +01:00
Vincent Sanders
40cdf498b9 Change BUILD compiler target to cc
The use of gcc explicitly does not work on systems where the local
 building system only has the clang compiler.

Framebuffer was the only user of the BUILD_CC target for local
 tooling and its handling of flags was also improved.
2018-09-07 12:01:21 +01:00
Daniel Silverstone
0df7ceb8f1 Typo fixes 2018-07-28 14:24:31 +01:00
Daniel Silverstone
3d20a3974c Support ASAN and UBSAN in Makefiles 2018-07-28 11:17:07 +01:00
Vincent Sanders
2a03ea3049 move html and text content handlers where they belong 2018-05-10 13:37:02 +01:00
Daniel Silverstone
e864997842 Fix last uses of !NetSurf outside of riscos build 2018-04-22 10:55:22 +01:00
Daniel Silverstone
5094a3fd04 Rework use of split-messages to clean up and use -z 2018-04-22 10:11:11 +01:00
Vincent Sanders
256ffca9a7 Dependency generation is now pure-side-effect which makes Make happier 2018-04-21 11:54:09 +01:00
Vincent Sanders
fb6f33129d Add source files to prerequisites list for the compile rule 2018-04-21 11:54:09 +01:00
Daniel Silverstone
bb056e55b1 Sort out the logging so that -v etc do the right thing 2017-09-08 21:15:54 +01:00
Vincent Sanders
8d9b2efc11 use nslog library for logging if available. 2017-09-03 23:40:32 +01:00
Vincent Sanders
f8cdbbce19 slightly amend how user config is included 2017-08-30 23:27:28 +01:00
Vincent Sanders
703427a486 Update documentation removing junk and moving to markdown for most text files 2017-06-09 17:30:00 +01:00
Vincent Sanders
d6c0792541 remove cocoa frontend
The cocoa frontend has been broken for a few years and we have no
maintainer. It was removed from the CI six months ago and has already
bitrotted so it cannot be compiled.
2017-05-23 11:18:45 +01:00
Michael Drake
299a85fa7a nusrl: Move into utils/nsurl directory. 2017-02-08 17:27:13 +00:00
Vincent Sanders
9be0f4ccaf fixup usage of directory creation macro in Makefiles 2017-01-07 13:21:25 +00:00
Vincent Sanders
2d9ed9cbc4 rename default build output directory target 2017-01-05 23:02:03 +00:00
Vincent Sanders
b227be8cd2 fix haiku target selection from commandline 2016-12-22 16:04:59 +00:00
Vincent Sanders
4a93beb039 revert f8f802cda5
revert inhibit javascipt for native builds on architectures where it miscompiles
2016-11-27 23:07:14 +00:00
Vincent Sanders
f8f802cda5 inhibit javascipt for native builds on architectures where it miscompiles 2016-11-24 23:45:49 +00:00
Vincent Sanders
7d808e9549 remove unused extraneous windows file 2016-10-19 11:08:45 +01:00