summaryrefslogtreecommitdiff
path: root/Makefile.config
blob: b3dd3591f6fcdeb8d45416fc4fb341b62535a78f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# 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
NETSURF_USE_HARU_PDF=YES

# ----------------------------------------------------------------------------
# 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

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/

# 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