diff options
author | Guenter Knauf <lists@gknw.net> | 2010-10-12 04:31:56 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2010-10-12 04:31:56 +0200 |
commit | 331531f70e169cd1f4f7d5efa223bfbea80e852e (patch) | |
tree | 5254cfdbabff70ca34a3ee0637282010e41c9114 | |
parent | 51b8d30dc4ab4c08e81c1285311a0a3e34bef797 (diff) |
Added build bits for librtmp to NetWare makefiles.
-rw-r--r-- | lib/Makefile.netware | 12 | ||||
-rw-r--r-- | src/Makefile.netware | 14 |
2 files changed, 26 insertions, 0 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware index fee75dd46..655c7e3e7 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -32,6 +32,11 @@ ifndef LIBIDN_PATH LIBIDN_PATH = ../../libidn-1.18 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. ifndef LIBCARES_PATH LIBCARES_PATH = ../ares @@ -180,6 +185,10 @@ else IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp endif endif +ifdef WITH_RTMP + INCLUDES += -I$(LIBRTMP_PATH) + LDLIBS += $(LIBRTMP_PATH)/librtmp/librtmp.$(LIBEXT) +endif ifdef WITH_SSL INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L) LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT) @@ -561,6 +570,9 @@ ifdef WITH_IDN @echo $(DL)#define HAVE_LIBIDN 1$(DL) >> $@ @echo $(DL)#define HAVE_TLD_H 1$(DL) >> $@ endif +ifdef WITH_RTMP + @echo $(DL)#define USE_LIBRTMP 1$(DL) >> $@ +endif @echo $(DL)#ifdef __GNUC__$(DL) >> $@ @echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@ @echo $(DL)#else$(DL) >> $@ diff --git a/src/Makefile.netware b/src/Makefile.netware index a879094ff..3f5802ce4 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -32,6 +32,11 @@ ifndef LIBIDN_PATH LIBIDN_PATH = ../../libidn-1.18 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. ifndef LIBCARES_PATH LIBCARES_PATH = ../ares @@ -180,6 +185,12 @@ else IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp endif endif +ifdef WITH_RTMP + # INCLUDES += -I$(LIBRTMP_PATH) +ifdef LINK_STATIC + LDLIBS += $(LIBRTMP_PATH)/librtmp/librtmp.$(LIBEXT) +endif +endif ifdef WITH_SSL INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L) LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT) @@ -553,6 +564,9 @@ ifdef WITH_IDN @echo $(DL)#define HAVE_LIBIDN 1$(DL) >> $@ @echo $(DL)#define HAVE_TLD_H 1$(DL) >> $@ endif +ifdef WITH_RTMP + @echo $(DL)#define USE_LIBRTMP 1$(DL) >> $@ +endif @echo $(DL)#ifdef __GNUC__$(DL) >> $@ @echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@ @echo $(DL)#else$(DL) >> $@ |