summaryrefslogtreecommitdiff
path: root/src/Makefile.netware
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2014-10-29 03:31:34 +0100
committerGuenter Knauf <lists@gknw.net>2014-10-29 03:31:34 +0100
commitb5ed5843a4fb5ac4d7f2deadcefe6022605c3ae8 (patch)
treef08aa90b504012f899d1d277e2dd6093997c3316 /src/Makefile.netware
parent357a15a6492ac0496abe952fae70aef7da017158 (diff)
downloadcurl-b5ed5843a4fb5ac4d7f2deadcefe6022605c3ae8.tar.gz
Added NetWare support to build with nghttp2.
Diffstat (limited to 'src/Makefile.netware')
-rw-r--r--src/Makefile.netware12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 63b858e31..5b0c16bfe 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -42,6 +42,11 @@ ifndef LIBRTMP_PATH
LIBRTMP_PATH = ../../librtmp-2.3
endif
+# Edit the path below to point to the base of your nghttp2 package.
+ifndef NGHTTP2_PATH
+NGHTTP2_PATH = ../../nghttp2-0.6.4
+endif
+
# Edit the path below to point to the base of your fbopenssl package.
ifndef FBOPENSSL_PATH
FBOPENSSL_PATH = ../../fbopenssl-0.4
@@ -230,6 +235,9 @@ ifeq ($(findstring -metalink,$(CFG)),-metalink)
WITH_METALINK = 1
WITH_SSL = 1
endif
+ifeq ($(findstring -nghttp2,$(CFG)),-nghttp2)
+WITH_NGHTTP2 = 1
+endif
ifeq ($(findstring -ipv6,$(CFG)),-ipv6)
ENABLE_IPV6 = 1
endif
@@ -287,6 +295,10 @@ ifdef WITH_IDN
# INCLUDES += -I$(LIBIDN_PATH)/include
LDLIBS += $(LIBIDN_PATH)/lib/libidn.$(LIBEXT)
endif
+ifdef WITH_NGHTTP2
+ INCLUDES += -I$(NGHTTP2_PATH)/include
+ LDLIBS += $(NGHTTP2_PATH)/lib/libnghttp2.$(LIBEXT)
+endif
ifdef WITH_METALINK
CFLAGS += -DUSE_METALINK
INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)