# NetSurf default build setup
# To see the available config options, look at Makefile.defaults

# Enable stripping the NetSurf binary
# Valid options: YES, NO
NETSURF_STRIP_BINARY := YES

# Default home page, if one is not defined by the user.

NETSURF_HOMEPAGE := file:///usr/share/netsurf-sdl/netsurf-sdl.html

# Initial CFLAGS. Optimisation level etc. tend to be target specific.

CFLAGS :=  -march=i386 -O2 -pipe

# ----------------------------------------------------------------------------
# Framebuffer-target-specific options
# ----------------------------------------------------------------------------
  # Framebuffer default surface provider.
  # Valid values are: x, sdl, linux, vnc, able, 
  NETSURF_FB_FRONTEND := sdl

  # Use libharu to enable PDF export and GTK printing support.
  # Valid options: YES, NO
  NETSURF_USE_HARU_PDF := NO

  # Enable NetSurf's use of librosprite for displaying RISC OS Sprites
  # Valid options: YES, NO, AUTO
  NETSURF_USE_ROSPRITE := NO

  # Library to use for font plotting 
  # Valid options: internal, freetype
  NETSURF_FB_FONTLIB := freetype

  # freetype compiled in font locations 
  NETSURF_FB_FONTPATH := /usr/lib/X11/fonts/TTF

  NETSURF_FB_FONT_SANS_SERIF := LiberationSans-Regular.ttf
  NETSURF_FB_FONT_SANS_SERIF_BOLD := LiberationSans-Bold.ttf
  NETSURF_FB_FONT_SANS_SERIF_ITALIC := LiberationSans-Italic.ttf
  NETSURF_FB_FONT_SANS_SERIF_ITALIC_BOLD := LiberationSans-BoldItalic.ttf
  NETSURF_FB_FONT_SERIF := LiberationSerif-Regular.ttf
  NETSURF_FB_FONT_SERIF_BOLD := LiberationSerif-Bold.ttf
  NETSURF_FB_FONT_MONOSPACE := LiberationMono-Regular.ttf
  NETSURF_FB_FONT_MONOSPACE_BOLD := LiberationMono-Bold.ttf
  NETSURF_FB_FONT_CURSIVE := LiberationSerif-Italic.ttf
  NETSURF_FB_FONT_FANTASY := LiberationSerif-BoldItalic.ttf

  # Framebuffer frontends may have differing root paths for resources
  # As such, these specify the resource path and config path.
  #  NETSURF_FB_RESPATH_linux := $(PREFIX)/share/netsurf/
  #  NETSURF_FB_RESPATH_able := (tftpboot)/
  #  NETSURF_FB_RESPATH_dummy := ./
  NETSURF_FB_RESPATH_sdl := $(PREFIX)/share/netsurf-sdl/
  #  NETSURF_FB_RESPATH_x := $(PREFIX)/share/netsurf/
  #  NETSURF_FB_RESPATH_vnc := $(PREFIX)/share/netsurf/

  #  NETSURF_FRAMEBUFFER_RESOURCES = $(NETSURF_FB_RESPATH_$(NETSURF_FB_FRONTEND))
  #  NETSURF_FRAMEBUFFER_BIN := $(PREFIX)/bin/

