mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
3e2270482f
This makes the GTK resource handling configurable in the same way as all other pkg-config style feature options. It is now possible to completely disable compiled in resources if wanted as well as forcing inline pixdata on if desired.
43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# ----------------------------------------------------------------------------
|
|
# GTK-specific options
|
|
# ----------------------------------------------------------------------------
|
|
|
|
# Where to search for NetSurf's resources after looking in ~/.netsurf and
|
|
# $NETSURFRES. It must have a trailing /
|
|
NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/
|
|
|
|
# Where to install the netsurf binary
|
|
NETSURF_GTK_BIN := $(PREFIX)/bin/
|
|
|
|
# Enable NetSurf's use of librsvg in conjunction with Cairo to display SVGs
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_RSVG := AUTO
|
|
|
|
# Enable NetSurf's use of libsvgtiny for displaying SVGs
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_NSSVG := AUTO
|
|
|
|
# Enable NetSurf's use of librosprite for displaying RISC OS Sprites
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_ROSPRITE := AUTO
|
|
|
|
# Enable the use of GLib compiled in resource handling. This requires
|
|
# GLib 2.32 or later
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_GRESOURCE := AUTO
|
|
|
|
# Enable the use of compiled in inline pixbuf. This is depricated
|
|
# since GLib 2.32. The automatic selection is disabled if GRESOURCE
|
|
# handling is enabled
|
|
# Valid options: YES, NO, AUTO
|
|
NETSURF_USE_INLINE_PIXBUF := AUTO
|
|
|
|
# Enable building the source object cache filesystem based backing store.
|
|
NETSURF_FS_BACKING_STORE := YES
|
|
|
|
# Set default GTK version to build for (2 or 3)
|
|
NETSURF_GTK_MAJOR ?= 2
|
|
|
|
# Optimisation levels
|
|
CFLAGS += -O2
|