summaryrefslogtreecommitdiff
path: root/Makefile.config
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2008-07-26 17:08:23 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2008-07-26 17:08:23 +0000
commit789ab037d17893c49d00aecbf211880affc7d2ce (patch)
treed8637648de0d8edbe178dfbd304653ba4d96add6 /Makefile.config
parent35d3d6d0bb16abeeb6aad2fd0398c8e68a40d414 (diff)
downloadnetsurf-789ab037d17893c49d00aecbf211880affc7d2ce.tar.gz
netsurf-789ab037d17893c49d00aecbf211880affc7d2ce.tar.bz2
Add simple, experimental Makefile.config support.
* GTK-specific features, such as RSVG and librosprite, can be set to one of three options; YES, NO or AUTO. AUTO will attempt to auto-detect its availability and enable it if it is available. * Haru PDF export/printing is enabled via this also. It lacks a pkg-config file and works on RISC OS too, and thus has no auto-detection. Disabling it disables the PDF-related menu entries in nsgtk. svn path=/trunk/netsurf/; revision=4747
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.config b/Makefile.config
new file mode 100644
index 000000000..d89aa9520
--- /dev/null
+++ b/Makefile.config
@@ -0,0 +1,21 @@
+#
+# 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
+
+# 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.
+NETSURF_USE_HARU_PDF=YES
+
+# The following options are GTK-specific
+ifeq ($(TARGET),gtk)
+
+# Use librsvg in conjunction with Cairo to render SVG images
+NETSURF_USE_RSVG=AUTO
+
+# Use James Shaw's librosprite for rendering RISC OS Sprites
+NETSURF_USE_ROSPRITE=AUTO
+
+endif
+