summaryrefslogtreecommitdiff
path: root/gtk/Makefile.defaults
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-12-18 01:28:22 +0100
committerOle Loots <ole@monochrom.net>2012-12-18 01:28:22 +0100
commit3019368c93600a335445c09178c9554074c7f656 (patch)
tree872c3bcbba0b74584cda24bee36ffe784806108f /gtk/Makefile.defaults
parentc6a5109a95c1206ccf63d99316fa12b8c43bb7cf (diff)
parent0d803b6c0d252c3a1a9fa07e37d9a0b08ce567b8 (diff)
downloadnetsurf-3019368c93600a335445c09178c9554074c7f656.tar.gz
netsurf-3019368c93600a335445c09178c9554074c7f656.tar.bz2
Merge branch 'master' into mono/removing-windom-dependency
Diffstat (limited to 'gtk/Makefile.defaults')
-rw-r--r--gtk/Makefile.defaults34
1 files changed, 34 insertions, 0 deletions
diff --git a/gtk/Makefile.defaults b/gtk/Makefile.defaults
new file mode 100644
index 000000000..23d4c1749
--- /dev/null
+++ b/gtk/Makefile.defaults
@@ -0,0 +1,34 @@
+# ----------------------------------------------------------------------------
+# GTK-specific options
+# ----------------------------------------------------------------------------
+
+ # Where to search for NetSurf's resources after looking in ~/.netsurf and
+ # $NETSURFRES. It must have a trailing /
+ NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/
+
+ # Where to install the netsurf binary
+ NETSURF_GTK_BIN := $(PREFIX)/bin/
+
+ # Enable NetSurf's use of librsvg in conjunction with Cairo to display SVGs
+ # Valid options: YES, NO, AUTO
+ NETSURF_USE_RSVG := AUTO
+
+ # Enable NetSurf's use of libsvgtiny for displaying SVGs
+ # Valid options: YES, NO, AUTO
+ NETSURF_USE_NSSVG := AUTO
+
+ # Enable NetSurf's use of librosprite for displaying RISC OS Sprites
+ # Valid options: YES, NO, AUTO
+ NETSURF_USE_ROSPRITE := AUTO
+
+ # Configuration overrides for Mac OS X
+ ifeq ($(HOST),macosx)
+ NETSURF_USE_LIBICONV_PLUG := NO
+ NETSURF_USE_HARU_PDF := NO
+ endif
+
+ # Set default GTK version to build for (2 or 3)
+ NETSURF_GTK_MAJOR := 2
+
+ # Optimisation levels
+ CFLAGS += -O2