summaryrefslogtreecommitdiff
path: root/src/Makefile.netware
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-06-09 23:10:23 +0200
committerGuenter Knauf <lists@gknw.net>2012-06-09 23:10:47 +0200
commit6ea32b8b76725d03374bbb6efea27c78c9654538 (patch)
tree7ebc9ed6ee54ff239b97a8287d1c913b8aceb741 /src/Makefile.netware
parent1aaf86a596860b5cc6ca3b3c36d33ee5023c34d6 (diff)
downloadcurl-6ea32b8b76725d03374bbb6efea27c78c9654538.tar.gz
Added metalink support to NetWare builds.
Diffstat (limited to 'src/Makefile.netware')
-rw-r--r--src/Makefile.netware13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 09044f64c..3de15ae6c 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -47,6 +47,11 @@ ifndef FBOPENSSL_PATH
FBOPENSSL_PATH = ../../fbopenssl-0.4
endif
+# Edit the path below to point to the base of your libmetalink package.
+ifndef LIBMETALINK_PATH
+LIBMETALINK_PATH = ../../libmetalink-0.0.3
+endif
+
# Edit the path below to point to the base of your c-ares package.
ifndef LIBCARES_PATH
LIBCARES_PATH = ../ares
@@ -214,6 +219,9 @@ endif
ifeq ($(findstring -spnego,$(CFG)),-spnego)
WITH_SPNEGO = 1
endif
+ifeq ($(findstring -metalink,$(CFG)),-metalink)
+WITH_METALINK = 1
+endif
ifeq ($(findstring -ipv6,$(CFG)),-ipv6)
ENABLE_IPV6 = 1
endif
@@ -275,6 +283,11 @@ ifdef WITH_IDN
# INCLUDES += -I$(LIBIDN_PATH)/include
LDLIBS += $(LIBIDN_PATH)/lib/libidn.$(LIBEXT)
endif
+ifdef WITH_METALINK
+ CFLAGS += -DUSE_METALINK
+ INCLUDES += -I$(METALINK_PATH)/include
+ LDLIBS += $(METALINK_PATH)/lib/libmetalink.$(LIBEXT)
+endif
ifeq ($(LIBARCH),LIBC)
INCLUDES += -I$(NDK_LIBC)/include