2012-12-13 11:26:24 -08:00
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
# GTK-specific options
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
2014-03-19 13:37:26 -07:00
|
|
|
# Where to search for NetSurf's resources after looking in ~/.netsurf and
|
|
|
|
# $NETSURFRES. It must have a trailing /
|
2016-10-05 11:44:49 -07:00
|
|
|
NETSURF_GTK_RES_PATH := $(PREFIX)/share/netsurf/:./frontends/gtk/res/
|
2012-12-13 11:26:24 -08:00
|
|
|
|
2014-03-19 13:37:26 -07:00
|
|
|
# Where to install the netsurf binary
|
|
|
|
NETSURF_GTK_BIN := $(PREFIX)/bin/
|
2012-12-13 11:26:24 -08:00
|
|
|
|
2014-03-19 13:37:26 -07:00
|
|
|
# Enable NetSurf's use of librsvg in conjunction with Cairo to display SVGs
|
|
|
|
# Valid options: YES, NO, AUTO
|
|
|
|
NETSURF_USE_RSVG := AUTO
|
2012-12-13 11:26:24 -08:00
|
|
|
|
2014-03-19 13:37:26 -07:00
|
|
|
# Enable NetSurf's use of libsvgtiny for displaying SVGs
|
|
|
|
# Valid options: YES, NO, AUTO
|
|
|
|
NETSURF_USE_NSSVG := AUTO
|
2012-12-13 11:26:24 -08:00
|
|
|
|
2014-03-19 13:37:26 -07:00
|
|
|
# Enable NetSurf's use of librosprite for displaying RISC OS Sprites
|
|
|
|
# Valid options: YES, NO, AUTO
|
|
|
|
NETSURF_USE_ROSPRITE := AUTO
|
2012-12-13 11:26:24 -08:00
|
|
|
|
2015-06-15 05:36:53 -07:00
|
|
|
# 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
|
|
|
|
|
2014-03-22 08:26:30 -07:00
|
|
|
# Enable building the source object cache filesystem based backing store.
|
|
|
|
NETSURF_FS_BACKING_STORE := YES
|
|
|
|
|
2014-03-19 13:37:26 -07:00
|
|
|
# Set default GTK version to build for (2 or 3)
|
2015-02-24 06:07:47 -08:00
|
|
|
NETSURF_GTK_MAJOR ?= 2
|
2012-12-13 11:26:24 -08:00
|
|
|
|
2014-03-19 13:37:26 -07:00
|
|
|
# Optimisation levels
|
|
|
|
CFLAGS += -O2
|