summaryrefslogtreecommitdiff
path: root/content/fetchers
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-08-13 13:09:39 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2016-08-13 13:31:07 +0100
commitfe00eac8cb0740b74ec2f586d98e741c84299d90 (patch)
tree2118f4f5b478ec66439c41fe14ccdfae4ad236e4 /content/fetchers
parent78d53fff1f7cd6dc3a40c01ac3b31b0eb7ab7e21 (diff)
downloadnetsurf-fe00eac8cb0740b74ec2f586d98e741c84299d90.tar.gz
netsurf-fe00eac8cb0740b74ec2f586d98e741c84299d90.tar.bz2
Buildsystem: Make curl/openssl usage build-time options.
Diffstat (limited to 'content/fetchers')
-rw-r--r--content/fetchers/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/fetchers/Makefile b/content/fetchers/Makefile
index 855154232..9c8479320 100644
--- a/content/fetchers/Makefile
+++ b/content/fetchers/Makefile
@@ -1,8 +1,10 @@
# Content fetchers sources
-S_FETCHERS := curl.c data.c file.c about.c resource.c
+S_FETCHERS_YES := data.c file.c about.c resource.c
+S_FETCHERS_NO :=
+S_FETCHERS_$(NETSURF_USE_CURL) += curl.c
-S_FETCHERS := $(addprefix content/fetchers/,$(S_FETCHERS))
+S_FETCHERS := $(addprefix content/fetchers/,$(S_FETCHERS_YES))
# The following files depend on the testament
content/fetchers/about.c: testament $(OBJROOT)/testament.h