diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2008-07-28 20:56:24 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2008-07-28 20:56:24 +0000 |
commit | fe7cae2bfe792170826ac25543175fdd6f327b02 (patch) | |
tree | dd5d7892e384aaff9d963d2962c5516db4b9784f /Makefile.config | |
parent | 052f99d3790b2e600a344ffd6ead41d5c5492744 (diff) | |
download | netsurf-fe7cae2bfe792170826ac25543175fdd6f327b02.tar.gz netsurf-fe7cae2bfe792170826ac25543175fdd6f327b02.tar.bz2 |
Refactor Makefile a little to be slightly more organised. Made more features configurable from Makefile.config
svn path=/trunk/netsurf/; revision=4775
Diffstat (limited to 'Makefile.config')
-rw-r--r-- | Makefile.config | 55 |
1 files changed, 52 insertions, 3 deletions
diff --git a/Makefile.config b/Makefile.config index d89aa9520..b3dd3591f 100644 --- a/Makefile.config +++ b/Makefile.config @@ -2,19 +2,68 @@ # NetSurf build configuration # # Some of these options support an 'AUTO' option, as well as YES and NO. If -# AUTO is set, the Makefile will attempt to detect if that feature is available +# 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. +# auto-detection available for this, as it does not have a pkg-config file +# Valid options: YES, NO NETSURF_USE_HARU_PDF=YES -# The following options are GTK-specific +# ---------------------------------------------------------------------------- +# 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 |