aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-10-12 06:55:01 +0200
committerGuenter Knauf <lists@gknw.net>2010-10-12 06:55:01 +0200
commitedf9566c3b0ac15b8908e414052a2ff1d68638e6 (patch)
treee9e60456330abfc382a895b0a7ff91d043121764 /src
parent331531f70e169cd1f4f7d5efa223bfbea80e852e (diff)
Added build bits for librtmp / libssh2 to Watcom makefiles.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.Watcom18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 1242cc266..3d42303b9 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -66,6 +66,18 @@ ZLIB_ROOT = $(%zlib_root)
ZLIB_ROOT = ..\..\zlib-1.2.5
!endif
+!ifdef %libssh2_root
+LIBSSH2_ROOT = $(%libssh2_root)
+!else
+LIBSSH2_ROOT = ..\..\libssh2-1.2.7
+!endif
+
+!ifdef %librtmp_root
+LIBRTMP_ROOT = $(%librtmp_root)
+!else
+LIBRTMP_ROOT = ..\..\librtmp-2.3
+!endif
+
!ifdef %openssl_root
OPENSSL_ROOT = $(%openssl_root)
!else
@@ -155,6 +167,12 @@ $(LINK_ARG): $(__MAKEFILES__)
!ifdef %use_zlib
@%append $^@ library $(ZLIB_ROOT)\zlib.lib
!endif
+!ifdef %use_rtmp
+ @%append $^@ library $(LIBRTMP_ROOT)\librtmp\librtmp.lib, winmm.lib
+!endif
+!ifdef %use_ssh2
+ @%append $^@ library $(LIBSSH2_ROOT)\win32\libssh2.lib
+!endif
!ifdef %use_ssl
@%append $^@ library $(OPENSSL_ROOT)\out32\libeay32.lib, $(OPENSSL_ROOT)\out32\ssleay32.lib
!endif