netsurf/Makefile.config

116 lines
3.6 KiB
Makefile

#
# NetSurf build configuration
#
# Some of these options support an 'AUTO' option, as well as YES and NO. If
# AUTO is available, the Makefile will attempt to detect if that feature is
# available when such is used.
# ----------------------------------------------------------------------------
# Options relating to all versions of NetSurf
# ----------------------------------------------------------------------------
# Enable NetSurf's built-in BMP support
# Valid options: YES, NO
NETSURF_USE_BMP := YES
# Enable NetSurf's built-in GIF support
# Valid options: YES, NO
NETSURF_USE_GIF := YES
# Enable NetSurf's use of IJG's libjpeg
# Valid options: YES, NO
NETSURF_USE_JPEG := YES
# Enable NetSurf's use of libmng for displaying MNGs and PNGs
# Valid options: YES, NO
NETSURF_USE_MNG := YES
# Use libharu to enable PDF export and GTK printing support. There is no
# auto-detection available for this, as it does not have a pkg-config file
# Valid options: YES, NO
ifneq ($(TARGET),beos)
# not yet on BeOS
NETSURF_USE_HARU_PDF := YES
endif
# Enable stripping the NetSurf binary
# Valid options: YES, NO
NETSURF_STRIP_BINARY := NO
# Template used for constructing the User Agent: string. The first two
# replacements are major/minor version, second two are OS and architecture.
# Please don't be tempted to mention Mozilla here! Let's let that lie die.
NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s; %s)"
# Default home page if one is not defined. Note that this does not apply to
# the RISC OS version, as it has its own local home page, and it can be changed
# by editing the end of gui_init2() in riscos/gui.c
NETSURF_HOMEPAGE := "http://www.netsurf-browser.org/welcome/"
# ----------------------------------------------------------------------------
# RISC OS-specific options
# ----------------------------------------------------------------------------
ifeq ($(TARGET),riscos)
# Use James Bursa's libsvgtiny for rendering SVG images
# Valid options: YES, NO
NETSURF_USE_NSSVG := YES
# Use pencil to enable export to Drawfile
# Valid options: YES, NO
NETSURF_USE_DRAW := YES
# Enable NetSurf's RISC OS Sprite support via Tinct
# Valid options: YES, NO
NETSURF_USE_SPRITE := YES
# Enable NetSurf's ArtWorks support via AWRender
# Valid options: YES, NO
NETSURF_USE_ARTWORKS := YES
# Enable support for the Acorn plugin protocol
# Valid options: YES, NO
NETSURF_USE_PLUGINS := NO
endif
# ----------------------------------------------------------------------------
# GTK-specific options
# ----------------------------------------------------------------------------
ifeq ($(TARGET),gtk)
# Where to search for NetSurf's resources after looking in ~/.netsurf and
# $NETSURFRES. It must have a trailing /
NETSURF_GTK_RESOURCES := /usr/local/share/netsurf/
# Where to install the netsurf binary
NETSURF_GTK_BIN := /usr/local/bin/
# Use librsvg in conjunction with Cairo to render SVG images
# Valid options: YES, NO, AUTO
NETSURF_USE_RSVG := AUTO
# Use James Shaw's librosprite for rendering RISC OS Sprites
# Valid options: YES, NO, AUTO
NETSURF_USE_ROSPRITE := AUTO
endif
# ----------------------------------------------------------------------------
# Amiga-specific options
# ----------------------------------------------------------------------------
ifeq ($(TARGET),amiga)
# Use James Shaw's librosprite for rendering RISC OS Sprites
# Valid options: YES, NO, AUTO
NETSURF_USE_ROSPRITE := YES
# Use libharu to enable PDF export and GTK printing support.
# Valid options: YES, NO
NETSURF_USE_HARU_PDF := NO
endif
# Include any local overrides
-include Makefile.config.override