summaryrefslogtreecommitdiff
path: root/build.symbian
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-06-02 18:30:15 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-06-02 18:30:15 +0000
commite5c912647cd7201b699bf67232a0b5f7539ca5b1 (patch)
tree3d0fc1a1d8131ae082a4ac259c68c289cf5bb228 /build.symbian
parent5b7e1e315cae05fd95be5aa1d09d41e748ac3897 (diff)
More ticket #61: enabled SRTP on Symbian
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1979 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'build.symbian')
-rw-r--r--build.symbian/bld.inf1
-rw-r--r--build.symbian/libsrtp.mmp59
-rw-r--r--build.symbian/pjlib_util.mmp1
-rw-r--r--build.symbian/pjmedia.mmp4
-rw-r--r--build.symbian/symbian_ua.mmp6
5 files changed, 68 insertions, 3 deletions
diff --git a/build.symbian/bld.inf b/build.symbian/bld.inf
index 865462c0..80645f64 100644
--- a/build.symbian/bld.inf
+++ b/build.symbian/bld.inf
@@ -17,6 +17,7 @@ pjsip.mmp
pjsip_simple.mmp
pjsip_ua.mmp
pjsua_lib.mmp
+libsrtp.mmp
/* Codecs */
libgsmcodec.mmp
diff --git a/build.symbian/libsrtp.mmp b/build.symbian/libsrtp.mmp
new file mode 100644
index 00000000..11384d22
--- /dev/null
+++ b/build.symbian/libsrtp.mmp
@@ -0,0 +1,59 @@
+TARGET libsrtp.lib
+TARGETTYPE lib
+
+MACRO PJ_M_I386=1
+MACRO PJ_SYMBIAN=1
+
+//
+// GCCE optimization setting
+//
+OPTION GCCE -O2 -fno-unit-at-a-time
+
+//
+// Speex files
+//
+SOURCEPATH ..\third_party\srtp
+
+SOURCE crypto\ae_xfm\xfm.c
+SOURCE crypto\cipher\aes.c
+SOURCE crypto\cipher\aes_cbc.c
+SOURCE crypto\cipher\aes_icm.c
+SOURCE crypto\cipher\cipher.c
+SOURCE crypto\cipher\null_cipher.c
+SOURCE crypto\hash\auth.c
+SOURCE crypto\hash\hmac.c
+SOURCE crypto\hash\null_auth.c
+SOURCE crypto\hash\sha1.c
+SOURCE crypto\kernel\alloc.c
+SOURCE crypto\kernel\crypto_kernel.c
+//SOURCE crypto\kernel\err.c
+SOURCE crypto\kernel\key.c
+SOURCE crypto\math\datatypes.c
+SOURCE crypto\math\gf2_8.c
+//SOURCE crypto\math\math.c
+SOURCE crypto\math\stat.c
+SOURCE crypto\replay\rdb.c
+SOURCE crypto\replay\rdbx.c
+//SOURCE crypto\replay\ut_sim.c
+SOURCE crypto\rng\ctr_prng.c
+SOURCE crypto\rng\prng.c
+//SOURCE crypto\rng\rand_linux_kernel.c
+SOURCE crypto\rng\rand_source.c
+SOURCE pjlib\srtp_err.c
+SOURCE srtp\srtp.c
+SOURCE tables\aes_tables.c
+
+//SOURCEPATH ..\pjmedia\src\pjmedia
+
+//SOURCE transport_srtp.c
+
+//
+// Header files
+//
+SYSTEMINCLUDE ..\third_party\srtp\include
+SYSTEMINCLUDE ..\third_party\srtp\crypto\include
+SYSTEMINCLUDE ..\third_party\build\srtp
+SYSTEMINCLUDE ..\pjlib\include
+
+SYSTEMINCLUDE \epoc32\include
+SYSTEMINCLUDE \epoc32\include\libc
diff --git a/build.symbian/pjlib_util.mmp b/build.symbian/pjlib_util.mmp
index 9f8ed500..1270d9ce 100644
--- a/build.symbian/pjlib_util.mmp
+++ b/build.symbian/pjlib_util.mmp
@@ -29,6 +29,7 @@ OPTION GCC -x c++
//
// PJLIB-UTIL files
//
+SOURCE base64.c
SOURCE crc32.c
SOURCE dns.c
SOURCE dns_dump.c
diff --git a/build.symbian/pjmedia.mmp b/build.symbian/pjmedia.mmp
index 6626647b..60ec6425 100644
--- a/build.symbian/pjmedia.mmp
+++ b/build.symbian/pjmedia.mmp
@@ -69,6 +69,7 @@ SOURCE stream.c
SOURCE tonegen.c
SOURCE transport_ice.c
SOURCE transport_udp.c
+SOURCE transport_srtp.c
SOURCE wav_player.c
SOURCE wav_playlist.c
SOURCE wav_writer.c
@@ -92,6 +93,9 @@ SYSTEMINCLUDE ..\pjmedia\include
SYSTEMINCLUDE ..\pjlib\include
SYSTEMINCLUDE ..\pjlib-util\include
SYSTEMINCLUDE ..\pjnath\include
+SYSTEMINCLUDE ..\third_party\srtp\include
+SYSTEMINCLUDE ..\third_party\srtp\crypto\include
+SYSTEMINCLUDE ..\third_party\build\srtp
SYSTEMINCLUDE \epoc32\include
SYSTEMINCLUDE \epoc32\include\libc
diff --git a/build.symbian/symbian_ua.mmp b/build.symbian/symbian_ua.mmp
index 1a9363f6..e23d0d86 100644
--- a/build.symbian/symbian_ua.mmp
+++ b/build.symbian/symbian_ua.mmp
@@ -31,13 +31,13 @@ SYSTEMINCLUDE \epoc32\include\libc
LIBRARY pjsua_lib.lib pjsip_ua.lib
LIBRARY pjsip_simple.lib pjsip.lib pjsdp.lib pjmedia.lib
LIBRARY pjnath.lib pjlib_util.lib pjlib.lib
- LIBRARY symbian_audio.lib
- LIBRARY libgsmcodec.lib
+ LIBRARY symbian_audio.lib libsrtp.lib
+ LIBRARY libgsmcodec.lib libspeexcodec.lib
#else
STATICLIBRARY pjsua_lib.lib pjsip_ua.lib
STATICLIBRARY pjsip_simple.lib pjsip.lib pjsdp.lib pjmedia.lib
STATICLIBRARY pjnath.lib pjlib_util.lib pjlib.lib
- STATICLIBRARY symbian_audio.lib
+ STATICLIBRARY symbian_audio.lib libsrtp.lib
STATICLIBRARY libgsmcodec.lib libspeexcodec.lib
#endif