netsurf/gtk/Makefile.defaults

44 lines
1.3 KiB
Makefile
Raw Normal View History

2012-12-13 23:26:24 +04:00
# ----------------------------------------------------------------------------
# GTK-specific options
# ----------------------------------------------------------------------------
2014-03-20 00:37:26 +04:00
# Where to search for NetSurf's resources after looking in ~/.netsurf and
# $NETSURFRES. It must have a trailing /
NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/
2012-12-13 23:26:24 +04:00
2014-03-20 00:37:26 +04:00
# Where to install the netsurf binary
NETSURF_GTK_BIN := $(PREFIX)/bin/
2012-12-13 23:26:24 +04:00
2014-03-20 00:37:26 +04: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 23:26:24 +04:00
2014-03-20 00:37:26 +04:00
# Enable NetSurf's use of libsvgtiny for displaying SVGs
# Valid options: YES, NO, AUTO
NETSURF_USE_NSSVG := AUTO
2012-12-13 23:26:24 +04:00
2014-03-20 00:37:26 +04:00
# Enable NetSurf's use of librosprite for displaying RISC OS Sprites
# Valid options: YES, NO, AUTO
NETSURF_USE_ROSPRITE := AUTO
2012-12-13 23:26:24 +04:00
# Enable building the source object cache filesystem based backing store.
NETSURF_FS_BACKING_STORE := YES
2014-03-20 00:37:26 +04:00
# Configuration overrides for Mac OS X
ifeq ($(HOST),macosx)
2012-12-13 23:26:24 +04:00
NETSURF_USE_LIBICONV_PLUG := NO
NETSURF_USE_HARU_PDF := NO
2014-03-20 00:37:26 +04:00
endif
2012-12-13 23:26:24 +04:00
2014-04-30 14:56:05 +04:00
# Configuration overrides for OpenBSD
ifeq ($(HOST),OpenBSD)
NETSURF_USE_LIBICONV_PLUG := NO
NETSURF_USE_HARU_PDF := NO
endif
2014-03-20 00:37:26 +04:00
# Set default GTK version to build for (2 or 3)
NETSURF_GTK_MAJOR := 2
2012-12-13 23:26:24 +04:00
2014-03-20 00:37:26 +04:00
# Optimisation levels
CFLAGS += -O2