mirror of https://github.com/moparisthebest/curl
Added build bits for librtmp to NetWare makefiles.
This commit is contained in:
parent
51b8d30dc4
commit
331531f70e
|
@ -32,6 +32,11 @@ ifndef LIBIDN_PATH
|
||||||
LIBIDN_PATH = ../../libidn-1.18
|
LIBIDN_PATH = ../../libidn-1.18
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Edit the path below to point to the base of your librtmp package.
|
||||||
|
ifndef LIBRTMP_PATH
|
||||||
|
LIBRTMP_PATH = ../../librtmp-2.3
|
||||||
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your c-ares package.
|
# Edit the path below to point to the base of your c-ares package.
|
||||||
ifndef LIBCARES_PATH
|
ifndef LIBCARES_PATH
|
||||||
LIBCARES_PATH = ../ares
|
LIBCARES_PATH = ../ares
|
||||||
|
@ -180,6 +185,10 @@ else
|
||||||
IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp
|
IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifdef WITH_RTMP
|
||||||
|
INCLUDES += -I$(LIBRTMP_PATH)
|
||||||
|
LDLIBS += $(LIBRTMP_PATH)/librtmp/librtmp.$(LIBEXT)
|
||||||
|
endif
|
||||||
ifdef WITH_SSL
|
ifdef WITH_SSL
|
||||||
INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)
|
INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)
|
||||||
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
|
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
|
||||||
|
@ -560,6 +569,9 @@ endif
|
||||||
ifdef WITH_IDN
|
ifdef WITH_IDN
|
||||||
@echo $(DL)#define HAVE_LIBIDN 1$(DL) >> $@
|
@echo $(DL)#define HAVE_LIBIDN 1$(DL) >> $@
|
||||||
@echo $(DL)#define HAVE_TLD_H 1$(DL) >> $@
|
@echo $(DL)#define HAVE_TLD_H 1$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifdef WITH_RTMP
|
||||||
|
@echo $(DL)#define USE_LIBRTMP 1$(DL) >> $@
|
||||||
endif
|
endif
|
||||||
@echo $(DL)#ifdef __GNUC__$(DL) >> $@
|
@echo $(DL)#ifdef __GNUC__$(DL) >> $@
|
||||||
@echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@
|
@echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@
|
||||||
|
|
|
@ -32,6 +32,11 @@ ifndef LIBIDN_PATH
|
||||||
LIBIDN_PATH = ../../libidn-1.18
|
LIBIDN_PATH = ../../libidn-1.18
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Edit the path below to point to the base of your librtmp package.
|
||||||
|
ifndef LIBRTMP_PATH
|
||||||
|
LIBRTMP_PATH = ../../librtmp-2.3
|
||||||
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your c-ares package.
|
# Edit the path below to point to the base of your c-ares package.
|
||||||
ifndef LIBCARES_PATH
|
ifndef LIBCARES_PATH
|
||||||
LIBCARES_PATH = ../ares
|
LIBCARES_PATH = ../ares
|
||||||
|
@ -180,6 +185,12 @@ else
|
||||||
IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp
|
IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifdef WITH_RTMP
|
||||||
|
# INCLUDES += -I$(LIBRTMP_PATH)
|
||||||
|
ifdef LINK_STATIC
|
||||||
|
LDLIBS += $(LIBRTMP_PATH)/librtmp/librtmp.$(LIBEXT)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
ifdef WITH_SSL
|
ifdef WITH_SSL
|
||||||
INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)
|
INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)
|
||||||
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
|
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
|
||||||
|
@ -552,6 +563,9 @@ endif
|
||||||
ifdef WITH_IDN
|
ifdef WITH_IDN
|
||||||
@echo $(DL)#define HAVE_LIBIDN 1$(DL) >> $@
|
@echo $(DL)#define HAVE_LIBIDN 1$(DL) >> $@
|
||||||
@echo $(DL)#define HAVE_TLD_H 1$(DL) >> $@
|
@echo $(DL)#define HAVE_TLD_H 1$(DL) >> $@
|
||||||
|
endif
|
||||||
|
ifdef WITH_RTMP
|
||||||
|
@echo $(DL)#define USE_LIBRTMP 1$(DL) >> $@
|
||||||
endif
|
endif
|
||||||
@echo $(DL)#ifdef __GNUC__$(DL) >> $@
|
@echo $(DL)#ifdef __GNUC__$(DL) >> $@
|
||||||
@echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@
|
@echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@
|
||||||
|
|
Loading…
Reference in New Issue