summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2008-07-29 15:10:31 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2008-07-29 15:10:31 +0000
commit9eacc5ca044874a6fabfe9197f5f1d5a9bd7d0ab (patch)
tree8b4611bbb000ea61d6ea7e063150def55bc9fd12 /Makefile
parent806d362674da02f2e9e6f1a992df7c43aff77cd8 (diff)
downloadnetsurf-9eacc5ca044874a6fabfe9197f5f1d5a9bd7d0ab.tar.gz
netsurf-9eacc5ca044874a6fabfe9197f5f1d5a9bd7d0ab.tar.bz2
Make user agent string and default homepage configurable from Makefile.config
svn path=/trunk/netsurf/; revision=4803
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 91eede9cb..265d0e131 100644
--- a/Makefile
+++ b/Makefile
@@ -212,6 +212,9 @@ $(eval $(call feature_enabled,HARU_PDF,-DWITH_PDF_EXPORT,-lhpdf -lpng,PDF export
# common libraries without pkg-config support
LDFLAGS += -lz
+CFLAGS += -DNETSURF_UA_FORMAT_STRING=\"$(NETSURF_UA_FORMAT_STRING)\"
+CFLAGS += -DNETSURF_HOMEPAGE=\"$(NETSURF_HOMEPAGE)\"
+
# ----------------------------------------------------------------------------
# RISC OS host flag setup
# ----------------------------------------------------------------------------