diff options
author | Guenter Knauf <lists@gknw.net> | 2010-10-12 06:55:01 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2010-10-12 06:55:01 +0200 |
commit | edf9566c3b0ac15b8908e414052a2ff1d68638e6 (patch) | |
tree | e9e60456330abfc382a895b0a7ff91d043121764 /lib | |
parent | 331531f70e169cd1f4f7d5efa223bfbea80e852e (diff) |
Added build bits for librtmp / libssh2 to Watcom makefiles.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.Watcom | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom index 525f527dd..7b9bcd664 100644 --- a/lib/Makefile.Watcom +++ b/lib/Makefile.Watcom @@ -70,6 +70,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 @@ -86,6 +98,14 @@ ARES_ROOT = ..\ares CFLAGS += -dHAVE_ZLIB_H -dHAVE_LIBZ -I$(ZLIB_ROOT) !endif +!ifdef %use_rtmp +CFLAGS += -dUSE_LIBRTMP -I$(LIBRTMP_ROOT) +!endif + +!ifdef %use_ssh2 +CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H -I$(LIBSSH2_ROOT)\include -I$(LIBSSH2_ROOT)\win32 +endif + !ifdef %use_ssl CFLAGS += -wcd=138 -dUSE_OPENSSL -dUSE_SSLEAY -I$(OPENSSL_ROOT)\inc32 !endif @@ -183,6 +203,12 @@ $(LINK_ARG): $(__MAKEFILES__) !ifdef %use_zlib @%append $^@ library $(ZLIB_ROOT)\zlib.lib !endif +!ifdef %use_rtmp + @%append $^@ library $(LIBRTMP_ROOT)\librtmp\librtmp.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 |