Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

65.5. buildsystem-1.10

NetSurf shared build framework (Makefile fragments used by libnsgif and friends)

1.10-1 · MIT · 0.1 SBU · 60.8 KiB, 11 files · 40_lang, 5 of 186 · ports/core/buildtools/buildsystem

Homepage: https://www.netsurf-browser.org/projects/buildsystem/

The NetSurf project’s shared build framework: no program, only the makefile fragments that each NetSurf library’s own Makefile includes (Makefile.top, Makefile.tools, Makefile.subdir, Makefile.pkgconfig and the per-compiler ones), the testrunner.pl test runner and upstream’s CI script, jenkins-build.sh. libnsgif, libcss, libdom, libhubbub and the other NetSurf libraries build with it.

Depends on: nothing a recipe names.

Required by (12): libcss, libdom, libhubbub, libnsbmp, libnsgif, libnslog, libnspsl, libnsutils, libparserutils, libsvgtiny, libwapcaplet, nsgenbind.

Sources: buildsystem-1.10.tar.gz (38.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install buildsystem'

build.sh:

make install DESTDIR=$PKG PREFIX=/usr

Directories: /usr/share/licenses/buildsystem, /usr/share/netsurf-buildsystem.

make install copies the files into $PREFIX/share/netsurf-buildsystem, and the Makefile’s own PREFIX is /opt/netsurf, so PREFIX=/usr is what puts them in /usr/share/netsurf-buildsystem. A NetSurf library finds them through NSSHARED, which each of their recipes exports as that directory. The plain make target only prints usage; there is nothing to compile.